Skip to content

some serial rx buffer patches

Rasmus Villemoes u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4serial: fix circular rx buffer edge casedrivers/serial/serial-uclass.c include/serial.h+8 -63 replies
2/4serial: do not overwrite not-consumed characters in rx bufferdrivers/serial/serial-uclass.c+4 -31 reply
3/4serial: add build-time sanity check of CONFIG_SERIAL_RX_BUFFER_SIZEdrivers/serial/serial-uclass.c+3 -01 reply
4/4serial: embed the rx buffer in struct serial_dev_privdrivers/serial/serial-uclass.c include/serial.h+3 -61 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] some serial rx buffer patches

Some small improvements to the serial rx buffer feature.

CI seems happy: https://github.com/u-boot/u-boot/pull/674

Rasmus Villemoes (4):
serial: fix circular rx buffer edge case
serial: do not overwrite not-consumed characters in rx buffer
serial: add build-time sanity check of CONFIG_SERIAL_RX_BUFFER_SIZE
serial: embed the rx buffer in struct serial_dev_priv

 drivers/serial/serial-uclass.c | 23 ++++++++++++-----------
 include/serial.h               |  8 +++++---
 2 files changed, 17 insertions(+), 14 deletions(-)
Signature · 1 line
2.46.2