Frode Isaksen
4dd9becbce
spi: davinci: do not use DMA for vmalloc'ed buffers
...
Using vmalloc'ed buffers will fail since daVinci has
VIVT cache and only the kernel lowmem virtual address
is invalidated/flushed when performing DMA.
The virtual address returned from vmalloc() is not
invalidated/flushed and may contain stale data when
returning from spi_sync().
Fixes errors when running UBIFS over SPI NOR.
Revert this when all upper layer users of vmalloc'ed
buffers sent to SPI handles cache flushing/invalidating.
Signed-off-by: Frode Isaksen <fisaksen@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-03-15 19:35:39 +00:00
..
2017-03-03 16:48:48 -08:00
2017-03-02 08:42:29 +01:00
2017-03-03 21:36:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 11:38:56 -08:00
2017-03-03 21:36:56 -08:00
2017-03-03 10:16:38 -08:00
2017-03-03 16:15:48 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 10:16:38 -08:00
2017-03-04 10:42:53 -08:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-02-28 20:29:41 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:36 +01:00
2017-03-02 17:41:27 -08:00
2017-03-04 11:26:18 -08:00
2017-03-02 08:42:40 +01:00
2017-03-01 10:01:56 -08:00
2017-03-02 08:42:28 +01:00
2017-03-02 08:42:39 +01:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:37 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:27 +01:00
2017-03-03 11:38:56 -08:00
2017-03-04 17:31:39 -08:00
2017-03-01 00:49:42 -08:00
2017-03-03 10:53:35 -08:00
2017-03-02 08:42:40 +01:00
2017-03-03 16:20:06 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 16:44:21 -08:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:29 +01:00
2017-03-01 09:46:02 -08:00
2017-03-02 13:53:13 -08:00
2017-03-02 13:53:13 -08:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 21:36:56 -08:00
2017-03-02 08:42:32 +01:00
2017-03-15 19:35:39 +00:00
2017-03-04 11:26:18 -08:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:27 +01:00
2017-03-02 08:42:40 +01:00
2017-03-02 08:42:32 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-03 10:16:38 -08:00
2017-03-03 01:45:16 +01:00
2017-03-03 10:16:38 -08:00
2017-03-02 08:42:29 +01:00
2017-03-01 06:15:10 -08:00
2017-03-02 08:42:31 +01:00