diff options
author | Andrew Murray <andrew.murray@arm.com> | 2019-04-09 10:52:43 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-16 16:27:56 +0100 |
commit | 671db581815faf17cbedd7fcbc48823a247d90b1 (patch) | |
tree | 97c4cc514b103a6eb301cbd34dcc735235401f23 /arch/arm64/kernel/cpuinfo.c | |
parent | d16ed4105f5bbd8a34f15053045a6657f4c52c6f (diff) | |
download | linux-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.c | 1 |
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 }; |