Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613938 > unrolled thread

[PATCH 0/2] spi-ti-qspi: Handle vmalloc'd buffers

Started byVignesh R <vigneshr@ti.com>
First post2017-03-31 14:00 +0200
Last post2017-03-31 14:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] spi-ti-qspi: Handle vmalloc'd buffers Vignesh R <vigneshr@ti.com> - 2017-03-31 14:00 +0200

#1613938 — [PATCH 0/2] spi-ti-qspi: Handle vmalloc'd buffers

FromVignesh R <vigneshr@ti.com>
Date2017-03-31 14:00 +0200
Subject[PATCH 0/2] spi-ti-qspi: Handle vmalloc'd buffers
Message-ID<tr3nI-497-5@gated-at.bofh.it>
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 | 64 +++++++++++++++++++++++++++++++++++++++++------
 drivers/spi/spi.c         |  2 +-
 include/linux/spi/spi.h   |  4 +++
 3 files changed, 62 insertions(+), 8 deletions(-)

-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web