summaryrefslogtreecommitdiff
path: root/arch/arm64/include/uapi/asm/hwcap.h
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2023-08-04 15:37:45 +0100
committerWill Deacon <will@kernel.org>2023-08-04 17:32:13 +0100
commit7f86d128e437990fd08d9e66ae7c1571666cff8a (patch)
tree7c9f7f385ea3d1bedfc2e9c7473200185a3ffd4e /arch/arm64/include/uapi/asm/hwcap.h
parentce33cea5d833c24fe2564e3f0416c7f2720a9c9c (diff)
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/uapi/asm/hwcap.h')
-rw-r--r--arch/arm64/include/uapi/asm/hwcap.h1
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 a2cac4305b1e..53026f45a509 100644
--- a/arch/arm64/include/uapi/asm/hwcap.h
+++ b/arch/arm64/include/uapi/asm/hwcap.h
@@ -103,5 +103,6 @@
#define HWCAP2_SME_B16B16 (1UL << 41)
#define HWCAP2_SME_F16F16 (1UL << 42)
#define HWCAP2_MOPS (1UL << 43)
+#define HWCAP2_HBC (1UL << 44)
#endif /* _UAPI__ASM_HWCAP_H */