linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] spi-ti-qspi: Handle vmalloc'd buffers
@ 2017-04-11 11:52 Vignesh R
       [not found] ` <20170411115225.31709-1-vigneshr-l0cyMroinI0@public.gmane.org>
  2017-04-11 11:52 ` [PATCH v2 2/2] spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble Vignesh R
  0 siblings, 2 replies; 9+ messages in thread
From: Vignesh R @ 2017-04-11 11:52 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-spi, linux-kernel, linux-omap, Vignesh R

First patch, adds can_dma() like interface for spi_flash_read()
interface,
this will enable controller drivers to selectively use DMA based on
buffer type, alignment, size or other limitations.
Second patch implements bounce buffer support for ti-qspi driver to
handle buffers that are not DMA'able, like vmalloc'd buffers that belong
to LPAE region. This is required to work with UBIFS.

Vignesh R (2):
  spi: Add can_dma like interface for spi_flash_read
  spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble

 drivers/spi/spi-ti-qspi.c | 66 ++++++++++++++++++++++++++++++++++++++++++-----
 drivers/spi/spi.c         |  2 +-
 include/linux/spi/spi.h   |  4 +++
 3 files changed, 64 insertions(+), 8 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-06-23 12:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-11 11:52 [PATCH v2 0/2] spi-ti-qspi: Handle vmalloc'd buffers Vignesh R
     [not found] ` <20170411115225.31709-1-vigneshr-l0cyMroinI0@public.gmane.org>
2017-04-11 11:52   ` [PATCH v2 1/2] spi: Add can_dma like interface for spi_flash_read Vignesh R
2017-04-11 11:52 ` [PATCH v2 2/2] spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble Vignesh R
2017-04-21 17:06   ` Mark Brown
     [not found]     ` <20170421170655.dpyxlwipfwnwjjwy-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2017-04-25 12:18       ` Vignesh R
     [not found]         ` <3955ad22-28a2-5222-4ae3-aa34dc69cde6-l0cyMroinI0@public.gmane.org>
2017-06-16 15:54           ` Cyrille Pitchen
2017-06-20  9:45             ` Vignesh R
2017-06-23 12:12               ` Mark Brown
2017-04-21 17:28   ` Applied "spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble" to the spi tree 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).