arm64: Expose DC CVADP to userspace
authorAndrew Murray <andrew.murray@arm.com>
Tue, 9 Apr 2019 09:52:43 +0000 (10:52 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 16 Apr 2019 15:27:56 +0000 (16:27 +0100)
commit671db581815faf17cbedd7fcbc48823a247d90b1
tree97c4cc514b103a6eb301cbd34dcc735235401f23
parentd16ed4105f5bbd8a34f15053045a6657f4c52c6f
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>
Documentation/arm64/elf_hwcaps.txt
arch/arm64/include/asm/hwcap.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c