Re: [RFC PATCH v5 16/16] hw/char/pl011: Implement TX FIFO

2024-07-22 Thread Philippe Mathieu-Daudé
On 19/7/24 23:25, Mark Cave-Ayland wrote: On 19/07/2024 19:10, Philippe Mathieu-Daudé wrote: If the UART back-end chardev doesn't drain data as fast as stdout does or blocks, buffer in the TX FIFO to try again later. This avoids having the IO-thread busy waiting on chardev back-ends, reported

Re: [RFC PATCH v5 16/16] hw/char/pl011: Implement TX FIFO

2024-07-19 Thread Mark Cave-Ayland
On 19/07/2024 19:10, Philippe Mathieu-Daudé wrote: If the UART back-end chardev doesn't drain data as fast as stdout does or blocks, buffer in the TX FIFO to try again later. This avoids having the IO-thread busy waiting on chardev back-ends, reported recently when testing the Trusted

[RFC PATCH v5 16/16] hw/char/pl011: Implement TX FIFO

2024-07-19 Thread Philippe Mathieu-Daudé
If the UART back-end chardev doesn't drain data as fast as stdout does or blocks, buffer in the TX FIFO to try again later. This avoids having the IO-thread busy waiting on chardev back-ends, reported recently when testing the Trusted Reference Stack and using the socket backend. Implement