aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/uapi/asm/hwcap.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-10-17 13:42:25 +0100
committerWill Deacon <will@kernel.org>2021-10-19 10:56:20 +0100
commitfee29f008aa3f2aff01117f28b57b1145d92cb9b (patch)
treec8e8ea36d8cb73ced0b6557d7e862cf9571408bb /arch/arm64/include/uapi/asm/hwcap.h
parentarm64: Add handling of CNTVCTSS traps (diff)
downloadlinux-dev-fee29f008aa3f2aff01117f28b57b1145d92cb9b.tar.xz
linux-dev-fee29f008aa3f2aff01117f28b57b1145d92cb9b.zip
arm64: Add HWCAP for self-synchronising virtual counter
Since userspace can make use of the CNTVSS_EL0 instruction, expose it via a HWCAP. Suggested-by: Will Deacon <will@kernel.org> Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211017124225.3018098-18-maz@kernel.org 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 b8f41aa234ee..7b23b16f21ce 100644
--- a/arch/arm64/include/uapi/asm/hwcap.h
+++ b/arch/arm64/include/uapi/asm/hwcap.h
@@ -75,5 +75,6 @@
#define HWCAP2_RNG (1 << 16)
#define HWCAP2_BTI (1 << 17)
#define HWCAP2_MTE (1 << 18)
+#define HWCAP2_ECV (1 << 19)
#endif /* _UAPI__ASM_HWCAP_H */