summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/cpuinfo.c
diff options
context:
space:
mode:
authorAndrew Murray <andrew.murray@arm.com>2019-04-09 10:52:43 +0100
committerWill Deacon <will.deacon@arm.com>2019-04-16 16:27:56 +0100
commit671db581815faf17cbedd7fcbc48823a247d90b1 (patch)
tree97c4cc514b103a6eb301cbd34dcc735235401f23 /arch/arm64/kernel/cpuinfo.c
parentd16ed4105f5bbd8a34f15053045a6657f4c52c6f (diff)
downloadlinux-671db581815faf17cbedd7fcbc48823a247d90b1.tar.gz
linux-671db581815faf17cbedd7fcbc48823a247d90b1.tar.bz2
linux-671db581815faf17cbedd7fcbc48823a247d90b1.zip
arm64: Expose DC CVADP to userspace
ARMv8.5 builds upon the ARMv8.2 DC CVAP instruction by introducing a DC CVADP instruction which cleans the data cache to the point of deep persistence. Let's expose this support via the arm64 ELF hwcaps. Signed-off-by: Andrew Murray <andrew.murray@arm.com> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
-rw-r--r--arch/arm64/kernel/cpuinfo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c
index 810db95f293f..093ca53ce1d1 100644
--- a/arch/arm64/kernel/cpuinfo.c
+++ b/arch/arm64/kernel/cpuinfo.c
@@ -85,6 +85,7 @@ static const char *const hwcap_str[] = {
"sb",
"paca",
"pacg",
+ "dcpodp",
NULL
};