1. 07 6月, 2017 3 次提交
  2. 24 5月, 2017 1 次提交
  3. 20 5月, 2017 1 次提交
  4. 14 5月, 2017 1 次提交
  5. 26 4月, 2017 1 次提交
  6. 25 4月, 2017 2 次提交
  7. 22 4月, 2017 2 次提交
    • V
      spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble · c687c46e
      Vignesh R 提交于
      Flash filesystems like JFFS2, UBIFS and MTD block layer can provide
      vmalloc'd or kmap'd buffers that cannot be mapped using dma_map_sg() and
      can potentially be in memory region above 32bit addressable region(ie
      buffers belonging to memory region backed by LPAE) of DMA, implement
      spi_flash_can_dma() interface to inform SPI core not to map such
      buffers.
      When buffers are not mapped for DMA, then use a pre allocated bounce
      buffer(64K = typical flash erase sector size) to read from flash and
      then do a copy to actual destination buffer. This is approach is much
      faster than using memcpy using CPU and also reduces CPU load.
      
      With this patch, UBIFS read speed is ~18MB/s and CPU utilization <20% on
      DRA74 Rev H EVM. Performance degradation is negligible when compared
      with non bounce buffer case while using UBIFS.
      Signed-off-by: NVignesh R <vigneshr@ti.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c687c46e
    • V
      spi: Add can_dma like interface for spi_flash_read · 2bca3445
      Vignesh R 提交于
      Add an interface analogous to ->can_dma() for spi_flash_read()
      interface. This will enable SPI controller drivers to inform SPI core
      when not to do DMA mappings.
      Signed-off-by: NVignesh R <vigneshr@ti.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      2bca3445
  8. 19 4月, 2017 3 次提交
  9. 12 4月, 2017 1 次提交
  10. 08 4月, 2017 1 次提交
  11. 06 4月, 2017 1 次提交
  12. 30 3月, 2017 1 次提交
  13. 27 3月, 2017 1 次提交
  14. 25 3月, 2017 2 次提交
  15. 21 3月, 2017 1 次提交
  16. 20 3月, 2017 1 次提交
  17. 18 3月, 2017 7 次提交
  18. 17 3月, 2017 1 次提交
  19. 16 3月, 2017 5 次提交
  20. 14 3月, 2017 2 次提交
  21. 13 3月, 2017 2 次提交