All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] riscv: Add K230 DW 8250-compatible UART
@ 2026-08-08  2:32 WX Chen
  2026-08-08  2:32 ` [PATCH v3 1/3] hw/char: add " WX Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: WX Chen @ 2026-08-08  2:32 UTC (permalink / raw)
  To: qemu-devel
  Cc: Paolo Bonzini, Marc-André Lureau, Chao Liu, Palmer Dabbelt,
	Alistair Francis, Weiwei Li, Daniel Henrique Barboza, Liu Zhiwei,
	qemu-riscv, Fabiano Rosas, Laurent Vivier, WX Chen

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.

Signed-off-by: WX Chen <wxchen0913@gmail.com>
---
Changes in v3:
- Removed all hardwired preprocessor #if conditionals from the logic
- Added a helper for the receiver line status interrupt check
- Encapsulated CPR and UCV register values in header macros
- Replaced g_usleep() with qtest_clock_step() in the qtest
- Link to v2: https://lore.kernel.org/qemu-devel/20260725-feat-k230-uart-v2-v2-0-d5fe82c47c28@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          | 816 +++++++++++++++++++++++++++++++++++++++++++
 hw/char/meson.build          |   1 +
 hw/riscv/k230.c              |  33 +-
 include/hw/char/k230_uart.h  | 198 +++++++++++
 include/hw/riscv/k230.h      |   6 +-
 tests/qtest/k230-uart-test.c | 514 +++++++++++++++++++++++++++
 tests/qtest/meson.build      |   2 +-
 8 files changed, 1559 insertions(+), 14 deletions(-)
---
base-commit: 30e8a06b64aa58a3990ba39cb5d09531e7d265e0
change-id: 20260808-feat-k230-uart-v3-0ff3651d70ef

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-08-14 15:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-08  2:32 [PATCH v3 0/3] riscv: Add K230 DW 8250-compatible UART WX Chen
2026-08-08  2:32 ` [PATCH v3 1/3] hw/char: add " WX Chen
2026-08-08 11:35   ` Daniel Henrique Barboza
2026-08-08  2:32 ` [PATCH v3 2/3] hw/riscv: k230: connect DW 8250 UART WX Chen
2026-08-08  2:32 ` [PATCH v3 3/3] tests/qtest: add K230 UART test WX Chen
2026-08-08 11:35   ` Daniel Henrique Barboza
2026-08-11 19:12 ` [PATCH v3 0/3] riscv: Add K230 DW 8250-compatible UART Alistair
2026-08-13 10:20 ` Joel Stanley
2026-08-14  6:27   ` Bin Meng
2026-08-14 15:52     ` Alistair
2026-08-14 11:37   ` Kuan-Wei Chiu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.