Re: [PATCH v2 2/2] hw/char: sifive_uart: Print uart charecters async

2024-09-02 Thread Thomas Huth
On 19/08/2024 13.31, Alistair Francis wrote: The current approach of using qemu_chr_fe_write() and ignoring the return values results in dropped charecters [1]. s/charecters/characters/g (also in the subject of the patch) Let's update the SiFive UART to use a async sifive_uart_xmit() functio

[PATCH v2 2/2] hw/char: sifive_uart: Print uart charecters async

2024-08-19 Thread Alistair Francis
The current approach of using qemu_chr_fe_write() and ignoring the return values results in dropped charecters [1]. Let's update the SiFive UART to use a async sifive_uart_xmit() function to transmit the charecters and apply back preassure to the guest with the SIFIVE_UART_TXFIFO_FULL status. Thi

Re: [PATCH v2 2/2] hw/char: sifive_uart

2021-05-30 Thread Peter Maydell
On Sun, 30 May 2021 at 11:55, Lukas Jünger wrote: > > QOMify sifive_uart model > > Signed-off-by: Lukas Jünger > --- > include/hw/char/sifive_uart.h | 6 +-- > hw/char/sifive_uart.c | 72 ++- > 2 files changed, 65 insertions(+), 13 deletions(-) > +stati

Re: [PATCH v2 2/2] hw/char: sifive_uart

2021-05-30 Thread Bin Meng
On Sun, May 30, 2021 at 6:49 PM Lukas Jünger wrote: > > QOMify sifive_uart model > > Signed-off-by: Lukas Jünger > --- > include/hw/char/sifive_uart.h | 6 +-- > hw/char/sifive_uart.c | 72 ++- > 2 files changed, 65 insertions(+), 13 deletions(-) > Revie

[PATCH v2 2/2] hw/char: sifive_uart

2021-05-30 Thread Lukas Jünger
QOMify sifive_uart model Signed-off-by: Lukas Jünger --- include/hw/char/sifive_uart.h | 6 +-- hw/char/sifive_uart.c | 72 ++- 2 files changed, 65 insertions(+), 13 deletions(-) diff --git a/include/hw/char/sifive_uart.h b/include/hw/char/sifive_uart.h