arm64: Expose SVE2 features for userspace
authorDave Martin <Dave.Martin@arm.com>
Thu, 18 Apr 2019 17:41:38 +0000 (18:41 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 23 Apr 2019 17:02:00 +0000 (18:02 +0100)
commit06a916feca2b262ab0c1a2aeb68882f4b1108a07
tree7687db5cfb7163edb21e8f6d13bcea9c5c8488e8
parentdd523791c939cfe642557cb2fac754ac0fed80fe
arm64: Expose SVE2 features for userspace

This patch provides support for reporting the presence of SVE2 and
its optional features to userspace.

This will also enable visibility of SVE2 for guests, when KVM
support for SVE-enabled guests is available.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Documentation/arm64/cpu-feature-registers.txt
Documentation/arm64/elf_hwcaps.txt
Documentation/arm64/sve.txt
arch/arm64/Kconfig
arch/arm64/include/asm/hwcap.h
arch/arm64/include/asm/sysreg.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c