summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/hwcap.h
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2023-09-19 17:27:56 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2023-10-13 19:11:35 +0100
commit338a835f40a849cd89b993e342bd9fbd5684825c (patch)
tree6766e1508a0c5e4dcdf4c779c2a8d3a383f309a7 /arch/arm64/include/asm/hwcap.h
parent3accaef1f61e0c5531ae9e92ff0d66981cdf1516 (diff)
arm64: add FEAT_LRCPC3 HWCAP
FEAT_LRCPC3 adds more instructions to support the Release Consistency model. Add a HWCAP so that userspace can make decisions about instructions it can use. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Cc: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20230919162757.2707023-2-joey.gouly@arm.com [catalin.marinas@arm.com: change the HWCAP number] Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/hwcap.h')
-rw-r--r--arch/arm64/include/asm/hwcap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/hwcap.h b/arch/arm64/include/asm/hwcap.h
index 210a41f8b10a..1c65f10619a0 100644
--- a/arch/arm64/include/asm/hwcap.h
+++ b/arch/arm64/include/asm/hwcap.h
@@ -140,6 +140,7 @@
#define KERNEL_HWCAP_MOPS __khwcap2_feature(MOPS)
#define KERNEL_HWCAP_HBC __khwcap2_feature(HBC)
#define KERNEL_HWCAP_SVE_B16B16 __khwcap2_feature(SVE_B16B16)
+#define KERNEL_HWCAP_LRCPC3 __khwcap2_feature(LRCPC3)
/*
* This yields a mask that user programs can use to figure out what