qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/2] riscv: char: Avoid dropped charecters


From: Alistair Francis
Subject: [PATCH v2 0/2] riscv: char: Avoid dropped charecters
Date: Mon, 19 Aug 2024 21:31:46 +1000

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.

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 charecters 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]