Skip to content

Fix a regression on sc16is7xx

Hui Wang linux-patches stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5serial: sc16is7xx: improve regmap debugfs by using one regmap per portdrivers/tty/serial/sc16is7xx.c+79 -571 reply
2/5serial: sc16is7xx: remove wasteful static buffer in sc16is7xx_regmap_name()drivers/tty/serial/sc16is7xx.c+8 -61 reply
3/5serial: sc16is7xx: remove global regmap from struct sc16is7xx_portdrivers/tty/serial/sc16is7xx.c+5 -31 reply
4/5serial: sc16is7xx: remove unused line structure memberdrivers/tty/serial/sc16is7xx.c+0 -21 reply
5/5serial: sc16is7xx: change EFR lock to operate on each channelsdrivers/tty/serial/sc16is7xx.c+23 -181 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [stable-kernel][5.15.y][PATCH 0/5] Fix a regression on sc16is7xx

Recently we found the fifo_read() and fifo_write() are broken in our 5.15 kernel after rebase to the latest 5.15.y, the 5.15.y integrated the commit e635f652696e ("serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO"), but it forgot to integrate a prerequisite commit 3837a0379533 ("serial: sc16is7xx: improve regmap debugfs by using one regmap per port").

And about the prerequisite commit, there are also 4 commits to fix it, So in total, I backported 5 patches to 5.15.y to fix this regression.

0002-xxx and 0004-xxx could be cleanly applied to 5.15.y, the remaining 3 patches need to resolve some conflict.

Hugo Villeneuve (5):
serial: sc16is7xx: improve regmap debugfs by using one regmap per port
serial: sc16is7xx: remove wasteful static buffer in

    sc16is7xx_regmap_name()

serial: sc16is7xx: remove global regmap from struct sc16is7xx_port
serial: sc16is7xx: remove unused line structure member
serial: sc16is7xx: change EFR lock to operate on each channels

 drivers/tty/serial/sc16is7xx.c | 185 +++++++++++++++++++--------------
 1 file changed, 107 insertions(+), 78 deletions(-)
Signature · 1 line
2.34.1