arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
authorJoey Gouly <joey.gouly@arm.com>
Fri, 4 Aug 2023 14:37:45 +0000 (15:37 +0100)
committerWill Deacon <will@kernel.org>
Fri, 4 Aug 2023 16:32:13 +0000 (17:32 +0100)
commit7f86d128e437990fd08d9e66ae7c1571666cff8a
tree7c9f7f385ea3d1bedfc2e9c7473200185a3ffd4e
parentce33cea5d833c24fe2564e3f0416c7f2720a9c9c
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>
arch/arm64/include/asm/hwcap.h
arch/arm64/include/uapi/asm/hwcap.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/cpuinfo.c