linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/8] spi: Rework DMA mapped flag
@ 2024-05-31 19:42 Andy Shevchenko
  2024-05-31 19:42 ` [PATCH v1 1/8] spi: Introduce internal spi_xfer_is_dma_mapped() helper Andy Shevchenko
                   ` (9 more replies)
  0 siblings, 10 replies; 18+ messages in thread
From: Andy Shevchenko @ 2024-05-31 19:42 UTC (permalink / raw)
  To: Andy Shevchenko, Mark Brown, Yang Yingliang, Christophe JAILLET,
	Thangaraj Samynathan, linux-spi, linux-kernel, linux-arm-kernel,
	linux-arm-msm
  Cc: Serge Semin, Daniel Mack, Haojian Zhuang, Robert Jarzmik,
	Nícolas F . R . A . Prado, Neil Armstrong

The first part of the series (patches 1 to 7) is an introduction
of a new helper followed by the user conversion.

This consolidates the same code and also makes patch 8 (last one)
be localised to the SPI core part.

The last patch is the main rework to get rid of a recently introduced
hack with a dummy SG list and move to the transfer-based DMA mapped
flag. 

That said, the patches 1 to 7 may be applied right away since they
have no functional change intended, while the last one needs more
testing and reviewing.

Andy Shevchenko (8):
  spi: Introduce internal spi_xfer_is_dma_mapped() helper
  spi: dw: Use new spi_xfer_is_dma_mapped() helper
  spi: ingenic: Use new spi_xfer_is_dma_mapped() helper
  spi: omap2-mcspi: Use new spi_xfer_is_dma_mapped() helper
  spi: pxa2xx: Use new spi_xfer_is_dma_mapped() helper
  spi: pci1xxxx: Use new spi_xfer_is_dma_mapped() helper
  spi: qup: Use new spi_xfer_is_dma_mapped() helper
  spi: Rework per message DMA mapped flag to be per transfer

 drivers/spi/internals.h       |  8 ++++
 drivers/spi/spi-dw-core.c     |  4 +-
 drivers/spi/spi-ingenic.c     |  4 +-
 drivers/spi/spi-omap2-mcspi.c |  8 ++--
 drivers/spi/spi-pci1xxxx.c    |  5 ++-
 drivers/spi/spi-pxa2xx.c      |  6 +--
 drivers/spi/spi-qup.c         |  9 ++---
 drivers/spi/spi.c             | 73 +++++++++++++----------------------
 include/linux/spi/spi.h       | 11 ++++--
 9 files changed, 59 insertions(+), 69 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac


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

end of thread, other threads:[~2024-06-05 21:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31 19:42 [PATCH v1 0/8] spi: Rework DMA mapped flag Andy Shevchenko
2024-05-31 19:42 ` [PATCH v1 1/8] spi: Introduce internal spi_xfer_is_dma_mapped() helper Andy Shevchenko
2024-06-03 22:53   ` Bryan O'Donoghue
2024-05-31 19:42 ` [PATCH v1 2/8] spi: dw: Use new " Andy Shevchenko
2024-06-03  8:28   ` Serge Semin
2024-05-31 19:42 ` [PATCH v1 3/8] spi: ingenic: " Andy Shevchenko
2024-05-31 19:42 ` [PATCH v1 4/8] spi: omap2-mcspi: " Andy Shevchenko
2024-05-31 19:42 ` [PATCH v1 5/8] spi: pxa2xx: " Andy Shevchenko
2024-06-03 19:21   ` Andy Shevchenko
2024-06-05 21:12     ` Andy Shevchenko
2024-05-31 19:42 ` [PATCH v1 6/8] spi: pci1xxxx: " Andy Shevchenko
2024-05-31 19:42 ` [PATCH v1 7/8] spi: qup: " Andy Shevchenko
2024-06-03 22:53   ` Bryan O'Donoghue
2024-05-31 19:42 ` [PATCH v1 8/8] spi: Rework per message DMA mapped flag to be per transfer Andy Shevchenko
2024-06-03  9:10 ` [PATCH v1 0/8] spi: Rework DMA mapped flag Neil Armstrong
2024-06-03 19:54   ` Andy Shevchenko
2024-06-03 19:49 ` Nícolas F. R. A. Prado
2024-06-03 19:53   ` Andy Shevchenko

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