diff options
author | Frode Isaksen <fisaksen@baylibre.com> | 2017-02-23 21:02:00 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-03-15 22:35:39 +0300 |
commit | 4dd9becbce4f10009322c3e2297f9db3ace94a10 (patch) | |
tree | 09a1f660b4fd532335aa44d8df4220fcb37f835b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0718b764880434ac7a5b7c0f5cb2c805c589a807 (diff) | |
download | linux-4dd9becbce4f10009322c3e2297f9db3ace94a10.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions