Skip to content

serial: qcom_geni: prevent spurious UART input from stopping autoboot

Balaji Selvanathan u-boot 1 version In review

Get series with b4
b4 am [email protected] change-id 20260707-uart-af9daffadb54

Versions newest first

  1. v2 Latest2 patches 7 repliesIn review

Changes in v2 from the cover letter

- Add initialization sequence for RX init based on Kernel driver.
- Link to v1: https://lore.kernel.org/u-boot/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serial: msm_geni: fix RX FIFO init with proper cancel sequencedrivers/serial/serial_msm_geni.c+61 -21 reply
2/2serial: msm_geni: validate RX FIFO data with IRQ status flagsdrivers/serial/serial_msm_geni.c+21 -76 replies

Reviews trailers per patch

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

PatchVaradarajan Narayanan
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/2] serial: qcom_geni: prevent spurious UART input from stopping autoboot

This series fixes an issue on the QCS615 EVK where U-Boot incorrectly stops at the CLI prompt instead of continuing the boot process when the UART cable is disconnected.

Electrical noise on floating RX lines can be interpreted as valid UART data. Without proper runtime validation of received data, U-Boot treats this noise as legitimate keypresses, causing it to halt at the prompt rather than continue the boot sequence. This series updates the initialization sequence to properly drain FIFO contents and adds runtime checks to distinguish valid UART data from noise.

---
Changes in v2:
- Add initialization sequence for RX init based on Kernel driver.
- Link to v1: https://lore.kernel.org/u-boot/[email protected]/

To: Sumit Garg <[email protected]>
To: [email protected]
To: [email protected]

Cc Casey Connolly <[email protected]>
Cc Neil Armstrong <[email protected]>
Cc Tom Rini <[email protected]>
Cc Andrew Goodbody <[email protected]>
Cc Stephen Boyd <[email protected]>

---
Balaji Selvanathan (2):
serial: msm_geni: fix RX FIFO init with proper cancel sequence
serial: msm_geni: validate RX FIFO data with IRQ status flags

 drivers/serial/serial_msm_geni.c | 91 ++++++++++++++++++++++++++++++++++++----
 1 file changed, 82 insertions(+), 9 deletions(-)

---
base-commit: ece349ade2973e220f524ce59e59711cc919263f
change-id: 20260707-uart-af9daffadb54

Best regards,

Signature · 1 line
Balaji Selvanathan <[email protected]>