summaryrefslogtreecommitdiffstats
path: root/arch/arm64/tools
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-01-16 17:04:43 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2023-01-20 13:23:06 +0100
commitd4913eee152d3ffaf9a1e70073bc15e773625685 (patch)
tree102888dc7da934eaa3a3ef32a2e3a8b02a038a51 /arch/arm64/tools
parentarm64/sme: Enable host kernel to access ZT0 (diff)
downloadlinux-d4913eee152d3ffaf9a1e70073bc15e773625685.tar.xz
linux-d4913eee152d3ffaf9a1e70073bc15e773625685.zip
arm64/sme: Add basic enumeration for SME2
Add basic feature detection for SME2, detecting that the feature is present and disabling traps for ZT0. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20221208-arm64-sme2-v4-8-f2fa0aef982f@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/tools')
-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 a86ee376920a..1222b0ed63a2 100644
--- a/arch/arm64/tools/cpucaps
+++ b/arch/arm64/tools/cpucaps
@@ -50,6 +50,7 @@ MTE
MTE_ASYMM
SME
SME_FA64
+SME2
SPECTRE_V2
SPECTRE_V3A
SPECTRE_V4