summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/uapi/asm
diff options
context:
space:
mode:
authorJoey Gouly <joey.gouly@arm.com>2023-09-19 18:27:56 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2023-10-13 20:11:35 +0200
commit338a835f40a849cd89b993e342bd9fbd5684825c (patch)
tree6766e1508a0c5e4dcdf4c779c2a8d3a383f309a7 /arch/arm64/include/uapi/asm
parentkselftest/arm64: Verify HWCAP2_SVE_B16B16 (diff)
downloadlinux-338a835f40a849cd89b993e342bd9fbd5684825c.tar.xz
linux-338a835f40a849cd89b993e342bd9fbd5684825c.zip
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/uapi/asm')
-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 6faf549077c5..0f37944e98b6 100644
--- a/arch/arm64/include/uapi/asm/hwcap.h
+++ b/arch/arm64/include/uapi/asm/hwcap.h
@@ -105,5 +105,6 @@
#define HWCAP2_MOPS (1UL << 43)
#define HWCAP2_HBC (1UL << 44)
#define HWCAP2_SVE_B16B16 (1UL << 45)
+#define HWCAP2_LRCPC3 (1UL << 46)
#endif /* _UAPI__ASM_HWCAP_H */