[PATCH 0/9] hw/char: Improve RX FIFO depth uses

Philippe Mathieu-Daudé posted 9 patches 3 days, 1 hour ago
There is a newer version of this series
hw/char/bcm2835_aux.c |  6 ++++--
hw/char/imx_serial.c  |  8 ++++++--
hw/char/mcf_uart.c    | 16 +++++++++++-----
hw/char/pl011.c       | 28 ++++++++++++++++++++--------
hw/char/sh_serial.c   | 30 ++++++++++++++----------------
hw/char/trace-events  |  7 ++++---
6 files changed, 59 insertions(+), 36 deletions(-)
[PATCH 0/9] hw/char: Improve RX FIFO depth uses
Posted by Philippe Mathieu-Daudé 3 days, 1 hour ago
Some UART devices implement a RX FIFO but their code
(via IOCanReadHandler) only return a size of 1 element,
while we can receive more chars.

This series takes advantage of the full depth.

Inspired by pm215 chat comment on yesterday's community
meeting on the PL011 Rust implementation description by
Paolo :)

Philippe Mathieu-Daudé (9):
  hw/char/pl011: Warn when using disabled receiver
  hw/char/pl011: Simplify a bit pl011_can_receive()
  hw/char/pl011: Improve RX flow tracing events
  hw/char/pl011: Really use RX FIFO depth
  hw/char/bcm2835_aux: Really use RX FIFO depth
  hw/char/imx_serial: Really use RX FIFO depth
  hw/char/mcf_uart: Use FIFO_DEPTH definition instead of magic values
  hw/char/mcf_uart: Really use RX FIFO depth
  hw/char/sh_serial: Return correct number of empty RX FIFO elements

 hw/char/bcm2835_aux.c |  6 ++++--
 hw/char/imx_serial.c  |  8 ++++++--
 hw/char/mcf_uart.c    | 16 +++++++++++-----
 hw/char/pl011.c       | 28 ++++++++++++++++++++--------
 hw/char/sh_serial.c   | 30 ++++++++++++++----------------
 hw/char/trace-events  |  7 ++++---
 6 files changed, 59 insertions(+), 36 deletions(-)

-- 
2.47.1