diff options
author | Joey Gouly <joey.gouly@arm.com> | 2023-08-04 16:37:45 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-08-04 18:32:13 +0200 |
commit | 7f86d128e437990fd08d9e66ae7c1571666cff8a (patch) | |
tree | 7c9f7f385ea3d1bedfc2e9c7473200185a3ffd4e /arch/arm64/include/asm/hwcap.h | |
parent | arm64/cpufeature: Use ARM64_CPUID_FIELD() to match EVT (diff) | |
download | linux-7f86d128e437990fd08d9e66ae7c1571666cff8a.tar.xz linux-7f86d128e437990fd08d9e66ae7c1571666cff8a.zip |
arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
Add a HWCAP for FEAT_HBC, so that userspace can make a decision on using
this feature.
Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20230804143746.3900803-2-joey.gouly@arm.com
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 692b1ec663b2..521267478d18 100644 --- a/arch/arm64/include/asm/hwcap.h +++ b/arch/arm64/include/asm/hwcap.h @@ -138,6 +138,7 @@ #define KERNEL_HWCAP_SME_B16B16 __khwcap2_feature(SME_B16B16) #define KERNEL_HWCAP_SME_F16F16 __khwcap2_feature(SME_F16F16) #define KERNEL_HWCAP_MOPS __khwcap2_feature(MOPS) +#define KERNEL_HWCAP_HBC __khwcap2_feature(HBC) /* * This yields a mask that user programs can use to figure out what |