diff options
author | 2022-10-17 16:25:17 +0100 | |
---|---|---|
committer | 2022-11-09 17:54:53 +0000 | |
commit | 939e4649d4fd54b622d08cd57100828df7a82074 (patch) | |
tree | 9c666e59473a24b56e452a67607d038dc7ca6908 /arch/arm64/include/asm/hwcap.h | |
parent | kselftest/arm64: Add FEAT_CSSC to the hwcap selftest (diff) | |
download | linux-939e4649d4fd54b622d08cd57100828df7a82074.tar.gz linux-939e4649d4fd54b622d08cd57100828df7a82074.tar.bz2 linux-939e4649d4fd54b622d08cd57100828df7a82074.zip |
arm64/hwcap: Add support for FEAT_RPRFM
FEAT_RPRFM adds a new range prefetch hint within the existing PRFM space
for range prefetch hinting. Add a new hwcap to allow userspace to discover
support for the new instruction.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20221017152520.1039165-4-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/hwcap.h')
-rw-r--r-- | arch/arm64/include/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h index a0e080df9a62..605ec55cee70 100644 --- a/arch/arm64/include/asm/hwcap.h +++ b/arch/arm64/include/asm/hwcap.h @@ -121,6 +121,7 @@ #define KERNEL_HWCAP_EBF16 __khwcap2_feature(EBF16) #define KERNEL_HWCAP_SVE_EBF16 __khwcap2_feature(SVE_EBF16) #define KERNEL_HWCAP_CSSC __khwcap2_feature(CSSC) +#define KERNEL_HWCAP_RPRFM __khwcap2_feature(RPRFM) /* * This yields a mask that user programs can use to figure out what |