Skip to content

serial: fsl_lpuart: sysrq, loopback support and fixes

Michael Walle linux-serial lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 0 repliesNew
  2. v18 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- rephrased commit message of
serial: fsl_lpuart: don't restore interrupt state in ISR
Sorry again, I didn't want to take credit of that sentence.
- rephrased commit message and split into two patches:
serial: fsl_lpuart: handle break and make sysrq work
Esp. drop the mention of a possible deadlock as it turns out it isn't one.
- remove the spin_trylock_irqsave() special case for sysrq handling

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9serial: fsl_lpuart: don't modify arbitrary data on lpuart32drivers/tty/serial/fsl_lpuart.c+1 -10 replies
2/9serial: fsl_lpuart: use UARTDATA_MASK macrodrivers/tty/serial/fsl_lpuart.c+2 -20 replies
3/9serial: fsl_lpuart: don't restore interrupt state in ISRdrivers/tty/serial/fsl_lpuart.c+8 -140 replies
4/9serial: fsl_lpuart: split sysrq handlingdrivers/tty/serial/fsl_lpuart.c+6 -60 replies
5/9serial: fsl_lpuart: handle break and make sysrq workdrivers/tty/serial/fsl_lpuart.c+24 -80 replies
6/9serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()drivers/tty/serial/fsl_lpuart.c+1 -110 replies
7/9serial: fsl_lpuart: remove manual RTSCTS control from 8-bit LPUARTdrivers/tty/serial/fsl_lpuart.c+1 -270 replies
8/9serial: fsl_lpuart: add loopback supportdrivers/tty/serial/fsl_lpuart.c+34 -20 replies
9/9serial: fsl_lpuart: disable DMA for console and fix sysrqdrivers/tty/serial/fsl_lpuart.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/9] serial: fsl_lpuart: sysrq, loopback support and fixes

Give fsl_lpuart some love and add break, loopback and sysrq support. While at it, some errors were noticed, which are also fixed in this series.

The sysrq support was tested on both interrupt driven and DMA based transfers on the 32bit LPUART.

Changes since v1:
- rephrased commit message of
serial: fsl_lpuart: don't restore interrupt state in ISR
Sorry again, I didn't want to take credit of that sentence.
- rephrased commit message and split into two patches:
serial: fsl_lpuart: handle break and make sysrq work
Esp. drop the mention of a possible deadlock as it turns out it isn't one.
- remove the spin_trylock_irqsave() special case for sysrq handling

Michael Walle (9):
serial: fsl_lpuart: don't modify arbitrary data on lpuart32
serial: fsl_lpuart: use UARTDATA_MASK macro
serial: fsl_lpuart: don't restore interrupt state in ISR
serial: fsl_lpuart: split sysrq handling
serial: fsl_lpuart: handle break and make sysrq work
serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()
serial: fsl_lpuart: remove manual RTSCTS control from 8-bit LPUART
serial: fsl_lpuart: add loopback support
serial: fsl_lpuart: disable DMA for console and fix sysrq

 drivers/tty/serial/fsl_lpuart.c | 132 +++++++++++++++++---------------
 1 file changed, 72 insertions(+), 60 deletions(-)
Signature · 1 line
2.20.1