linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] spi: Make dummy SG handling robust
@ 2024-05-31  9:44 Andy Shevchenko
  2024-05-31  9:44 ` [PATCH v1 1/2] spi: Revert "Check if transfer is mapped before calling DMA sync APIs" Andy Shevchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andy Shevchenko @ 2024-05-31  9:44 UTC (permalink / raw)
  To: Mark Brown, linux-spi, linux-kernel
  Cc: Nícolas F . R . A . Prado, Neil Armstrong, Andy Shevchenko

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(-)

-- 
2.45.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-06-03 17:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31  9:44 [PATCH v1 0/2] spi: Make dummy SG handling robust Andy Shevchenko
2024-05-31  9:44 ` [PATCH v1 1/2] spi: Revert "Check if transfer is mapped before calling DMA sync APIs" Andy Shevchenko
2024-05-31 12:15   ` Mark Brown
2024-05-31 13:10     ` Andy Shevchenko
2024-05-31  9:44 ` [PATCH v1 2/2] spi: Do not rely on the SG table and respective API implementations Andy Shevchenko
2024-05-31 14:37 ` [PATCH v1 0/2] spi: Make dummy SG handling robust Nícolas F. R. A. Prado
2024-05-31 15:46   ` Andy Shevchenko
2024-05-31 15:51     ` Andy Shevchenko
2024-05-31 17:14       ` Nícolas F. R. A. Prado
2024-05-31 21:45         ` Andy Shevchenko
2024-05-31 21:59           ` Nícolas F. R. A. Prado
2024-06-03 12:26           ` Mark Brown
2024-06-03 17:37             ` Nícolas F. R. A. Prado
2024-06-03 17:44               ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).