summaryrefslogtreecommitdiff
path: root/lib/once.c
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2018-05-11 15:33:12 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2018-05-15 15:29:55 +0300
commitebc7e21e0fa28c46b938baed292c77e2d3ef8165 (patch)
treefa415205a2ea1ff232aee0b7a6c4e998837b77ef /lib/once.c
parentd93277b9839b0bde06238a7a7f644114edb2ad4a (diff)
downloadlinux-ebc7e21e0fa28c46b938baed292c77e2d3ef8165.tar.xz
arm64: Increase ARCH_DMA_MINALIGN to 128
This patch increases the ARCH_DMA_MINALIGN to 128 so that it covers the currently known Cache Writeback Granule (CTR_EL0.CWG) on arm64 and moves the fallback in cache_line_size() from L1_CACHE_BYTES to this constant. In addition, it warns (and taints) if the CWG is larger than ARCH_DMA_MINALIGN as this is not safe with non-coherent DMA. Cc: Will Deacon <will.deacon@arm.com> Cc: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'lib/once.c')
0 files changed, 0 insertions, 0 deletions