[PATCH RESEND v2 0/3] riscv: Add K230 DW 8250-compatible UART

WX Chen posted 3 patches 1 day, 5 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260725-feat-k230-uart-v2-v2-0-d5fe82c47c28@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Chao Liu <chao.liu@processmission.com>, Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>
hw/char/Kconfig              |   3 +
hw/char/k230_uart.c          | 840 +++++++++++++++++++++++++++++++++++++++++++
hw/char/meson.build          |   1 +
hw/riscv/k230.c              |  33 +-
include/hw/char/k230_uart.h  | 180 ++++++++++
include/hw/riscv/k230.h      |   6 +-
tests/qtest/k230-uart-test.c | 514 ++++++++++++++++++++++++++
tests/qtest/meson.build      |   2 +-
8 files changed, 1565 insertions(+), 14 deletions(-)
[PATCH RESEND v2 0/3] riscv: Add K230 DW 8250-compatible UART
Posted by WX Chen 1 day, 5 hours ago
This series adds a QEMU model for the K230 SoC DesignWare 8250-compatible
UART controller, wires it into the K230 SoC, and adds qtest coverage.

The implementation supports the registers and features required by the
Linux 8250_dw driver, providing an interactive shell over the serial port.

Changes since v1 [1]:
  - Split into a 3-patch series.
  - Fixed indentation of preprocessing macros.

Resend with a new sender address due to unexpected issues with the
previous email setup.

Testing: 8 qtest cases pass.  With the k230-boot-assets image from
https://github.com/zevorn/k230-boot-assets, the driver probes
successfully and the shell works bidirectionally over pty.

[1] https://lore.kernel.org/qemu-devel/tencent_FE5823EA5F7A9EDE163FEDCB3DBFBE1FD905@qq.com/

Signed-off-by: WX Chen <wxchen0913@gmail.com>
---
WX Chen (3):
      hw/char: add K230 DW 8250-compatible UART
      hw/riscv: k230: connect DW 8250 UART
      tests/qtest: add K230 UART test

 hw/char/Kconfig              |   3 +
 hw/char/k230_uart.c          | 840 +++++++++++++++++++++++++++++++++++++++++++
 hw/char/meson.build          |   1 +
 hw/riscv/k230.c              |  33 +-
 include/hw/char/k230_uart.h  | 180 ++++++++++
 include/hw/riscv/k230.h      |   6 +-
 tests/qtest/k230-uart-test.c | 514 ++++++++++++++++++++++++++
 tests/qtest/meson.build      |   2 +-
 8 files changed, 1565 insertions(+), 14 deletions(-)
---
base-commit: 30e8a06b64aa58a3990ba39cb5d09531e7d265e0
change-id: 20260725-feat-k230-uart-v2-1fbae069fb66

Best regards,
-- 
WX Chen <wxchen0913@gmail.com>