diff options
author | 2022-10-17 16:25:19 +0100 | |
---|---|---|
committer | 2022-11-09 17:54:53 +0000 | |
commit | d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944 (patch) | |
tree | fff23b11b546fb5e262e5144a8cfd0ae51e2b053 /arch/arm64/include/uapi/asm | |
parent | kselftest/arm64: Add FEAT_RPRFM to the hwcap test (diff) | |
download | linux-d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944.tar.gz linux-d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944.tar.bz2 linux-d12aada8dfb030f7df8ec0bb0ce4bb01a2ab3944.zip |
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/include/uapi/asm')
-rw-r--r-- | arch/arm64/include/uapi/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h index 063cc6ea560f..b713d30544f1 100644 --- a/arch/arm64/include/uapi/asm/hwcap.h +++ b/arch/arm64/include/uapi/asm/hwcap.h @@ -95,5 +95,6 @@ #define HWCAP2_SVE_EBF16 (1UL << 33) #define HWCAP2_CSSC (1UL << 34) #define HWCAP2_RPRFM (1UL << 35) +#define HWCAP2_SVE2P1 (1UL << 36) #endif /* _UAPI__ASM_HWCAP_H */ |