Skip to content

spi: Make dummy SG handling robust

Andy Shevchenko linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: Revert "Check if transfer is mapped before calling DMA sync APIs"drivers/spi/spi.c+5 -132 replies
2/2spi: Do not rely on the SG table and respective API implementationsdrivers/spi/spi.c+12 -160 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/2] spi: Make dummy SG handling robust

There's an unreliable code to handle DMA mappings on unidirection transfers. This series does two things:
- it reverts the seemingly unnecessary change
- it reworks dummy SG list handling

There is no need to backport that AFAIU, but no harm to apply for v6.10 aka the current release cycle. Guys, please test these.

Andy Shevchenko (2):
spi: Revert "Check if transfer is mapped before calling DMA sync APIs"
spi: Do not rely on the SG table and respective API implementations

 drivers/spi/spi.c | 46 +++++++++++++++++-----------------------------
 1 file changed, 17 insertions(+), 29 deletions(-)
Signature · 1 line
2.45.1