diff options
author | Steven Price <steven.price@arm.com> | 2019-12-16 12:33:37 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-15 12:13:07 +0100 |
commit | d4209d8b717311d114b5d47ba7f8249fd44e97c2 (patch) | |
tree | ca1180c2cd7c364da1e92c187a0a42f6c4c7e000 /arch/arm64/kernel/cpuinfo.c | |
parent | Linux 5.5-rc3 (diff) | |
download | linux-d4209d8b717311d114b5d47ba7f8249fd44e97c2.tar.xz linux-d4209d8b717311d114b5d47ba7f8249fd44e97c2.zip |
arm64: cpufeature: Export matrix and other features to userspace
Export the features introduced as part of ARMv8.6 exposed in the
ID_AA64ISAR1_EL1 and ID_AA64ZFR0_EL1 registers. This introduces the
Matrix features (ARMv8.2-I8MM, ARMv8.2-F64MM and ARMv8.2-F32MM) along
with BFloat16 (Armv8.2-BF16), speculation invalidation (SPECRES) and
Data Gathering Hint (ARMv8.0-DGH).
Signed-off-by: Julien Grall <julien.grall@arm.com>
[Added other features in those registers]
Signed-off-by: Steven Price <steven.price@arm.com>
[will: Don't advertise SPECRES to userspace]
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/cpuinfo.c')
-rw-r--r-- | arch/arm64/kernel/cpuinfo.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/cpuinfo.c index 56bba746da1c..63f5dec1c730 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -84,6 +84,13 @@ static const char *const hwcap_str[] = { "svesm4", "flagm2", "frint", + "svei8mm", + "svef32mm", + "svef64mm", + "svebf16", + "i8mm", + "bf16", + "dgh", NULL }; |