arm64: Fix DMA range invalidation for cache line unaligned buffers
If the buffer needing cache invalidation for inbound DMA does start or end on a cache line aligned address, we need to use the non-destructive clean&invalidate operation. This issue was introduced by commit 7363590d2c46 (arm64: Implement coherent DMA API based on swiotlb). Change-Id: Ic7f3fbb10f1dc944a6fda9c7b399b1d25cb26ee8 Signed-off-by:Catalin Marinas <catalin.marinas@arm.com> Reported-by:
Jon Medhurst (Tixy) <tixy@linaro.org> Git-commit: ebf81a938dade3b450eb11c57fa744cfac4b523f Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
Laura Abbott <lauraa@codeaurora.org>
Loading
Please register or sign in to comment