Skip to content

soi: Don't call DMA sync API when not needed

Andy Shevchenko linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: Don't mark message DMA mapped when no transfer in it isdrivers/spi/spi.c+4 -00 replies
2/2spi: Check if transfer is mapped before calling DMA sync APIsdrivers/spi/spi.c+13 -55 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchNícolas F. R. A. Prado
1/2
2/2T-b

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

Read the v1 thread

Cover letter [PATCH v1 0/2] soi: Don't call DMA sync API when not needed

A couple of fixes to avoid calling DMA sync API when it's not needed. This doesn't stop from discussing if IOMMU code is doing the right thing, i.e. dereferences SG list when orig_nents == 0, but this is a separate story.

Andy Shevchenko (2):
spi: Don't mark message DMA mapped when no transfer in it is
spi: Check if transfer is mapped before calling DMA sync APIs

 drivers/spi/spi.c | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac