diff options
author | Mark Brown <broonie@kernel.org> | 2022-10-17 18:25:19 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-09 20:54:53 +0300 |
commit | d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944 (patch) | |
tree | fff23b11b546fb5e262e5144a8cfd0ae51e2b053 /arch/arm64/kernel/cpuinfo.c | |
parent | 989d37fc3d976f6bfa3f1da484f8f22c57c21c0c (diff) | |
download | linux-d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944.tar.xz |
arm64/hwcap: Add support for SVE 2.1
FEAT_SVE2p1 introduces a number of new SVE instructions. Since there is no
new architectural state added kernel support is simply a new hwcap which
lets userspace know that the feature is supported.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20221017152520.1039165-6-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
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 85108832d86e..379695262b77 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -118,6 +118,7 @@ static const char *const hwcap_str[] = { [KERNEL_HWCAP_SVE_EBF16] = "sveebf16", [KERNEL_HWCAP_CSSC] = "cssc", [KERNEL_HWCAP_RPRFM] = "rprfm", + [KERNEL_HWCAP_SVE2P1] = "sve2p1", }; #ifdef CONFIG_COMPAT |