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

Alistair Francis posted 2 patches 3 months, 1 week ago
There is a newer version of this series
include/hw/char/sifive_uart.h | 17 +++++++-
hw/char/riscv_htif.c          | 12 +++++-
hw/char/sifive_uart.c         | 81 +++++++++++++++++++++++++++++++++--
3 files changed, 102 insertions(+), 8 deletions(-)
[PATCH 0/2] riscv: char: Avoid dropped charecters
Posted by Alistair Francis 3 months, 1 week ago
This series fixes: https://gitlab.com/qemu-project/qemu/-/issues/2114

This converts the RISC-C 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.

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         | 81 +++++++++++++++++++++++++++++++++--
 3 files changed, 102 insertions(+), 8 deletions(-)

-- 
2.46.0