|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v4 0/2] xen/ns16550: preserve UART operation across firmware handover
This series identifies XScale-compatible UARTs from device tree and keeps UUE set when updating IER. Pending output is drained before the FIFOs are reset during ns16550 initialization. This continues the series started by Zhang Zheng, with his agreement. Thanks to Zhang Zheng for the original work. Changes in v4: - Drop RTOIE setting, since its side-effects are unclear - In ns_write_ier(), make ier parameter uint8_t instead of u8 - Reduce timeout ticks to 50 million and improve the comment with reasoning - Squash the XScale identification patch into the UUE patch and retitle it "xen/ns16550: preserve XScale UUE bit in IER writes" - Leave the check_existence() IER accesses as raw register writes - Improve commit messages Tested on a SpacemiT K3 Pico-ITX board with the series applied on top of staging, compared against unpatched staging. Both configurations boot, but only the series survives the firmware-to-Xen handover; unpatched staging does not. v3: https://lore.kernel.org/xen-devel/cover.1792467713.git.zhangzheng@xxxxxxxxxxx/ v2: https://lore.kernel.org/xen-devel/20261010031406.2057735-1-zhangzheng@xxxxxxxxxxx/ v1: https://lore.kernel.org/xen-devel/20260928023857.1030884-1-zhangzheng@xxxxxxxxxxx/ -- 2.54.0 --- Zhang Zheng (2): xen/ns16550: preserve XScale UUE bit in IER writes xen/ns16550: drain TX before reinitializing UART xen/drivers/char/ns16550.c | 38 +++++++++++++++++++++++++++++++++----- xen/include/xen/8250-uart.h | 1 + 2 files changed, 34 insertions(+), 5 deletions(-) --- base-commit: 7e020a4dd6ed30eb6c91a9abe2767034e2bb270a change-id: 20261124-v4-uart-harndover-1533a43199b1 Best regards, -- Ronaldo Nunez <rnunez@xxxxxxxxxxxx>
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |