diff options
author | Dave Martin <Dave.Martin@arm.com> | 2019-04-18 20:41:38 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-23 20:02:00 +0300 |
commit | 06a916feca2b262ab0c1a2aeb68882f4b1108a07 (patch) | |
tree | 7687db5cfb7163edb21e8f6d13bcea9c5c8488e8 /arch/arm64/kernel/cpuinfo.c | |
parent | dd523791c939cfe642557cb2fac754ac0fed80fe (diff) | |
download | linux-06a916feca2b262ab0c1a2aeb68882f4b1108a07.tar.xz |
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>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
-rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 093ca53ce1d1..f6f7936be6e7 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -86,6 +86,12 @@ static const char *const hwcap_str[] = { "paca", "pacg", "dcpodp", + "sve2", + "sveaes", + "svepmull", + "svebitperm", + "svesha3", + "svesm4", NULL }; |