[PATCH v2 0/2] HWCAP for FEAT_HBC
Joey Gouly
joey.gouly at arm.com
Fri Aug 4 07:37:44 PDT 2023
Hi,
Small series for adding a HWCAP for FEAT_HBC (hinted conditional branches).
Changes since v1 [1]:
- Add "cc" clobber to inline asm
- Confirmed that binutils/llvm calls the feature 'hbc'
Thanks,
Joey
[1] https://lore.kernel.org/linux-arm-kernel/20230801100008.3125054-1-joey.gouly@arm.com/
Joey Gouly (2):
arm64: add HWCAP for FEAT_HBC (hinted conditional branches)
selftests/arm64: add HWCAP2_HBC test
arch/arm64/include/asm/hwcap.h | 1 +
arch/arm64/include/uapi/asm/hwcap.h | 1 +
arch/arm64/kernel/cpufeature.c | 3 ++-
arch/arm64/kernel/cpuinfo.c | 1 +
tools/testing/selftests/arm64/abi/hwcap.c | 15 +++++++++++++++
5 files changed, 20 insertions(+), 1 deletion(-)
--
2.25.1
More information about the linux-arm-kernel
mailing list