Skip to content

spi: spi-rockchip: Fix of chip select lines handling

Luis de Arquer linux-arm-kernel linux-rockchip linux-spi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3spi: spi-rockchip: Fix out of bounds array accessdrivers/spi/spi-rockchip.c+0 -81 reply
2/3spi: spi-rockchip: Fix max_native_csdrivers/spi/spi-rockchip.c+2 -31 reply
3/3spi: spi-rockchip: Fix unused chip select line when using gpio csdrivers/spi/spi-rockchip.c+2 -21 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] spi: spi-rockchip: Fix of chip select lines handling

This patch series has several fixes concerning spi-rockchip handling of chip select lines.

Probably the more important issue is an out of bounds access to an array, fixed on the first commit of the series. The issue was found and reproduced on a downstream kernel (orange pi 5 plus), but it seems to still be present on mainline

The patch has been made and built on linux-rockchip tree.
It will take me a few days to complete proper testing, but any comments at this point are welcome.

Also, this is my first patch, so let me know of any side issues with patch or email format :)

Luis de Arquer
Inertim Research