Messages in this thread | | | Subject | Re: [PATCH 0/3] mtd: spi-nor: fix DMA-unsafe buffer issue between MTD and SPI | From | Vignesh R <> | Date | Fri, 29 Dec 2017 14:46:31 +0530 |
| |
On Wednesday 27 December 2017 12:15 AM, Trent Piepho wrote: > On Sun, 2017-12-24 at 05:36 +0100, Cyrille Pitchen wrote: >> this series tries to solve a long time issue of compatibility between the >> MTD and SPI sub-systems about whether we should use DMA-safe memory. > > Can this should replace SoC specific fixes like: > > c687c46e9e45 > spi: spi-ti-qspi: Use bounce buffer if read buffer is not DMA'ble >
Yes, I plan to revert this patch once m25p80 starts using bounce buffers.
I am interested in knowing which other SPI clients end up passing non DMA'able buffers. AFAIK, its UBIFS and JFFS2. Most other SPI devices on TI boards that I have dealt with like Touch, Sensors (IIO), GPIO expanders etc all provide DMA'able buffers.
-- Regards Vignesh
| |