diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-12-10 19:33:31 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2018-12-11 11:55:32 +0000 |
commit | 3238c359acee4ab57f15abb5a82b8ab38a661ee7 (patch) | |
tree | 2e5882f781c7a89a870222b2fd5221eedff3f7f4 /drivers/media | |
parent | 40e020c129cfc991e8ab4736d2665351ffd1468d (diff) |
arm64: dma-mapping: Fix FORCE_CONTIGUOUS buffer clearing
We need to invalidate the caches *before* clearing the buffer via the
non-cacheable alias, else in the worst case __dma_flush_area() may
write back dirty lines over the top of our nice new zeros.
Fixes: dd65a941f6ba ("arm64: dma-mapping: clear buffers allocated with FORCE_CONTIGUOUS flag")
Cc: <stable@vger.kernel.org> # 4.18.x-
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions