From: Catalin Marinas Date: Tue, 1 Apr 2014 17:32:55 +0000 (+0100) Subject: arm64: Fix DMA range invalidation for cache line unaligned buffers X-Git-Tag: v3.15-rc1~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebf81a938dade3b450eb11c57fa744cfac4b523f;p=pandora-kernel.git 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). Signed-off-by: Catalin Marinas Reported-by: Jon Medhurst (Tixy) --- Reading git-diff-tree failed