summaryrefslogtreecommitdiffstats
path: root/arch/arm64/tools/cpucaps
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-03-30 19:47:43 +0200
committerMarc Zyngier <maz@kernel.org>2023-03-30 20:01:09 +0200
commit326349943ed181890b8b2af2755bd0eac93bd66d (patch)
tree3125a25716b00c5b569d23df8aabc8b36928510d /arch/arm64/tools/cpucaps
parentarm64: Add CNTPOFF_EL2 register definition (diff)
downloadlinux-326349943ed181890b8b2af2755bd0eac93bd66d.tar.xz
linux-326349943ed181890b8b2af2755bd0eac93bd66d.zip
arm64: Add HAS_ECV_CNTPOFF capability
Add the probing code for the FEAT_ECV variant that implements CNTPOFF_EL2. Why it is optional is a mystery, but let's try and detect it. Reviewed-by: Reiji Watanabe <reijiw@google.com> Reviewed-by: Colton Lewis <coltonlewis@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20230330174800.2677007-4-maz@kernel.org
Diffstat (limited to 'arch/arm64/tools/cpucaps')
-rw-r--r--arch/arm64/tools/cpucaps1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/tools/cpucaps b/arch/arm64/tools/cpucaps
index 37b1340e9646..40ba95472594 100644
--- a/arch/arm64/tools/cpucaps
+++ b/arch/arm64/tools/cpucaps
@@ -23,6 +23,7 @@ HAS_DCPOP
HAS_DIT
HAS_E0PD
HAS_ECV
+HAS_ECV_CNTPOFF
HAS_EPAN
HAS_GENERIC_AUTH
HAS_GENERIC_AUTH_ARCH_QARMA3