hw/char/pl011: Implement TX (async) FIFO to avoid blocking the main loop
Status from this message: I've applied it to target-arm.next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 10 patches | 18 replies | Superseded | |
| v3 | 9 of 10 patches | 5 replies | Superseded | |
| v2 posting 2/2 | 11 patches | 14 replies | Superseded | |
| v2 posting 1/2 | 3 patches | 0 replies | Superseded | |
| v1 | 12 patches | 19 replies | Superseded |
Changes in v7 from the cover letter
- Incorporated Peter's fixes in corresponding patches
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | hw/char/pl011: Add transmit FIFO to PL011Statehw/ include/ | +37 | 0 replies | |
| 2/7 | hw/char/pl011: Introduce pl011_xmit()hw/ hw/ | +39 | 0 replies | |
| 3/7 | hw/char/pl011: Factor pl011_xmit_cb() out as GSourcehw/ | +14 | 0 replies | |
| 4/7 | hw/char/pl011: Trace FIFO enablementhw/ hw/ | +3 | 0 replies | |
| 5/7 | hw/char/pl011: Consider TX FIFO overrun errorhw/ hw/ | +24 | 0 replies | |
| 6/7 | hw/char/pl011: Drain TX FIFO when no backend connectedhw/ hw/ | +14 | 0 replies | |
| 7/7 | hw/char/pl011: Implement TX FIFOhw/ hw/ | +28 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Alex Bennée | Peter Maydell |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/7] hw/char/pl011: Implement TX (async) FIFO to avoid blocking the main loop
Hi,
This series add support for (async) FIFO on the transmit path of the PL011 UART.
Since v6:
- Incorporated Peter's fixes in corresponding patches
Since v5:
- Rebased (few patches already merged)
- Do not forbid disabled UART/receiver (Peter)
- Use fifo8_peek API for wrapped buffer (Mark)
Since v4:
- Rebased (loopback)
- Addressed Richard & Juan migration comments
- Split in smaller patches
Since v3:
- Document migration bits (Alex, Richard)
- Just check FIFO is not empty in pl011_xmit_fifo_state_needed (rth)
- In pl011_xmit check TX enabled first, and ignore < 8-bit TX (rth)
Since v2:
- Added R-b tags
- Addressed Richard comments on migration
Since v1:
- Restrict pl011_ops[] impl access_size,
- Do not check transmitter is enabled (Peter),
- Addressed Alex's review comments,
- Simplified migration trying to care about backward compat, but still unsure...
Philippe Mathieu-Daudé (7):
hw/char/pl011: Add transmit FIFO to PL011State hw/char/pl011: Introduce pl011_xmit() hw/char/pl011: Factor pl011_xmit_cb() out as GSource hw/char/pl011: Trace FIFO enablement hw/char/pl011: Consider TX FIFO overrun error hw/char/pl011: Drain TX FIFO when no backend connected hw/char/pl011: Implement TX FIFO
include/hw/char/pl011.h | 2 + hw/char/pl011.c | 150 +++++++++++++++++++++++++++++++++++++--- hw/char/trace-events | 8 +++ 3 files changed, 150 insertions(+), 10 deletions(-)
Signature · 1 line
2.47.1