Skip to content

RFC mtd: spi-nor: Handle vmalloc'd buffers

Vignesh R linux-mtd linux-omap linux-spi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mtd: spi-nor: Introduce bounce buffer to handle vmalloc'd buffersdrivers/mtd/spi-nor/spi-nor.c include/linux/mtd/spi-nor.h+31 -37 replies
2/2mtd: devices: m25p80: Enable spi-nor bounce buffer supportdrivers/mtd/devices/m25p80.c+1 -024 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] mtd: spi-nor: Handle vmalloc'd buffers

This series implements bounce buffer support to handle vmalloc'd buffers in case of drivers use DMA, similar to what is done in MTD NAND framework.

I have tested this on two platform:
DRA74 SoC (cortex a15 @1GHz) with s25fl256s1 QSPI (SPI bus frequency 76.8 MHz) and I don't see any performance degradation with UBIFS read/write(10MB file).
AM437x SoC (cortex a9 @1GHz) with macronix mx66l51235l QSPI flash (SPI bus frequency 48MHz) and performance degradation is <4% for UBIFS.

Vignesh R (2):
mtd: spi-nor: Introduce bounce buffer to handle vmalloc'd buffers
mtd: devices: m25p80: Enable spi-nor bounce buffer support

 drivers/mtd/devices/m25p80.c  |  1 +
 drivers/mtd/spi-nor/spi-nor.c | 30 +++++++++++++++++++++++++++---
 include/linux/mtd/spi-nor.h   |  4 ++++
 3 files changed, 32 insertions(+), 3 deletions(-)
Signature · 6 lines
2.11.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/