qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] riscv: char: Avoid dropped charecters
@ 2024-09-09  2:13 Alistair Francis
  2024-09-09  2:13 ` [PATCH v3 1/2] hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all Alistair Francis
  2024-09-09  2:13 ` [PATCH v3 2/2] hw/char: sifive_uart: Print uart characters async Alistair Francis
  0 siblings, 2 replies; 6+ messages in thread
From: Alistair Francis @ 2024-09-09  2:13 UTC (permalink / raw)
  To: alex.bennee, qemu-devel, peter.maydell
  Cc: dbarboza, palmer, zhiwei_liu, qemu-riscv, Paolo Bonzini,
	alistair23, Bin Meng, liwei1518, Alistair Francis,
	Marc-André Lureau, atishp, Alistair Francis

This series fixes: https://gitlab.com/qemu-project/qemu/-/issues/2114

This converts the RISC-V charecter device callers of qemu_chr_fe_write()
to either use qemu_chr_fe_write_all() or to call qemu_chr_fe_write() async
and act on the return value.

v3:
 - Fixup spelling
v2:
 - Use Fifo8 for the Sifive UART instead of a custom FIFO

Alistair Francis (2):
  hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all
  hw/char: sifive_uart: Print uart characters async

 include/hw/char/sifive_uart.h | 17 ++++++-
 hw/char/riscv_htif.c          | 12 ++++-
 hw/char/sifive_uart.c         | 88 +++++++++++++++++++++++++++++++++--
 3 files changed, 109 insertions(+), 8 deletions(-)

-- 
2.46.0



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

end of thread, other threads:[~2024-09-09 10:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09  2:13 [PATCH v3 0/2] riscv: char: Avoid dropped charecters Alistair Francis
2024-09-09  2:13 ` [PATCH v3 1/2] hw/char: riscv_htif: Use blocking qemu_chr_fe_write_all Alistair Francis
2024-09-09  2:13 ` [PATCH v3 2/2] hw/char: sifive_uart: Print uart characters async Alistair Francis
2024-09-09  9:57   ` Daniel Henrique Barboza
2024-09-09 10:23   ` Philippe Mathieu-Daudé
2024-09-09 10:23   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).