summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/cpucaps.h
diff options
context:
space:
mode:
authorRobin Murphy2017-07-25 12:55:42 +0200
committerCatalin Marinas2017-08-09 13:15:45 +0200
commitd50e071fdaa33c1b399c764c44fa1ce879881185 (patch)
treec0af7e49c8f4124195159e1d6380d521bea435d3 /arch/arm64/include/asm/cpucaps.h
parentarm64: Handle trapped DC CVAP (diff)
downloadkernel-qcow2-linux-d50e071fdaa33c1b399c764c44fa1ce879881185.tar.gz
kernel-qcow2-linux-d50e071fdaa33c1b399c764c44fa1ce879881185.tar.xz
kernel-qcow2-linux-d50e071fdaa33c1b399c764c44fa1ce879881185.zip
arm64: Implement pmem API support
Add a clean-to-point-of-persistence cache maintenance helper, and wire up the basic architectural support for the pmem driver based on it. Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> [catalin.marinas@arm.com: move arch_*_pmem() functions to arch/arm64/mm/flush.c] [catalin.marinas@arm.com: change dmb(sy) to dmb(osh)] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpucaps.h')
-rw-r--r--arch/arm64/include/asm/cpucaps.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/cpucaps.h b/arch/arm64/include/asm/cpucaps.h
index 8d2272c6822c..8da621627d7c 100644
--- a/arch/arm64/include/asm/cpucaps.h
+++ b/arch/arm64/include/asm/cpucaps.h
@@ -39,7 +39,8 @@
#define ARM64_WORKAROUND_QCOM_FALKOR_E1003 18
#define ARM64_WORKAROUND_858921 19
#define ARM64_WORKAROUND_CAVIUM_30115 20
+#define ARM64_HAS_DCPOP 21
-#define ARM64_NCAPS 21
+#define ARM64_NCAPS 22
#endif /* __ASM_CPUCAPS_H */