public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Enable DMA for daVinci SPI controller
@ 2017-02-17 10:38 Frode Isaksen
  2017-02-17 10:38 ` [PATCH v2 1/6] spi: davinci: Use SPI framework to handle DMA mapping Frode Isaksen
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Frode Isaksen @ 2017-02-17 10:38 UTC (permalink / raw)
  To: linux-arm-kernel

Enable DMA for the daVinci SPI using the SPI framework DMA mapping
function. Add fixes caused by large numer of SG entries
and VIVT cache.
Also, add some extra options to the spi-loopback-test
module to catch errors caused by many SG entries.
This has been tested using spidev_test, spi-loopback-test and
mounting and read/write UBIFS volume over SPI flash.

v2 changes:
- Use SPI_MASTER_MUST_ flag(s) for dummy buffer allocation (thanks
Mark Brown).
- For rx-only transfers, use rx buffer as dummy tx buffer to avoid
errors with more than 20 SG entries.
- Improved comments and use #define for contants.
- Abandon patches to set loopback and limit transfer size in
spi-loopback-test.

Thanks,
Frode

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

end of thread, other threads:[~2017-03-15 19:37 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-17 10:38 [PATCH v2 0/6] Enable DMA for daVinci SPI controller Frode Isaksen
2017-02-17 10:38 ` [PATCH v2 1/6] spi: davinci: Use SPI framework to handle DMA mapping Frode Isaksen
2017-02-19 16:29   ` Mark Brown
2017-02-17 10:38 ` [PATCH v2 2/6] spi: davinci: enable DMA when channels are defined in DT Frode Isaksen
2017-02-19 16:30   ` Mark Brown
2017-02-17 10:38 ` [PATCH v2 3/6] spi: davinci: use rx buffer as dummy tx buffer Frode Isaksen
2017-03-15 19:37   ` Applied "spi: davinci: use rx buffer as dummy tx buffer" to the spi tree Mark Brown
2017-02-17 10:38 ` [PATCH v2 4/6] spi: davinci: flush caches when performing DMA Frode Isaksen
2017-02-17 10:57   ` Vignesh R
2017-02-17 11:22     ` Russell King - ARM Linux
2017-02-17 11:36       ` Frode Isaksen
2017-02-17 12:07         ` Russell King - ARM Linux
2017-02-17 17:45           ` Frode Isaksen
2017-02-20  6:55           ` Vignesh R
2017-02-20  9:26             ` Frode Isaksen
2017-02-20  9:47               ` Vignesh R
2017-02-20 10:34                 ` Frode Isaksen
2017-02-20 11:27                   ` Vignesh R
2017-02-20 15:49                     ` Frode Isaksen
2017-02-21  5:08                       ` Vignesh R
2017-02-17 10:38 ` [PATCH v2 5/6] spi: davinci: do not use DMA if transfer length is less than 16 Frode Isaksen
2017-02-17 16:37   ` Arnd Bergmann
2017-02-17 16:43     ` Frode Isaksen
2017-02-17 16:55       ` Arnd Bergmann
2017-02-17 10:38 ` [PATCH v2 6/6] spi: loopback-test: add option to use vmalloc'ed buffers Frode Isaksen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox