diff options
author | Joey Gouly <joey.gouly@arm.com> | 2023-08-04 17:37:45 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2023-08-04 19:32:13 +0300 |
commit | 7f86d128e437990fd08d9e66ae7c1571666cff8a (patch) | |
tree | 7c9f7f385ea3d1bedfc2e9c7473200185a3ffd4e /arch/arm64/kernel/cpuinfo.c | |
parent | ce33cea5d833c24fe2564e3f0416c7f2720a9c9c (diff) | |
download | linux-7f86d128e437990fd08d9e66ae7c1571666cff8a.tar.xz |
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/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 58622dc85917..98fda8500535 100644 --- a/arch/arm64/kernel/cpuinfo.c +++ b/arch/arm64/kernel/cpuinfo.c @@ -126,6 +126,7 @@ static const char *const hwcap_str[] = { [KERNEL_HWCAP_SME_B16B16] = "smeb16b16", [KERNEL_HWCAP_SME_F16F16] = "smef16f16", [KERNEL_HWCAP_MOPS] = "mops", + [KERNEL_HWCAP_HBC] = "hbc", }; #ifdef CONFIG_COMPAT |