summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/cpu.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-04-19 12:22:16 +0100
committerCatalin Marinas <catalin.marinas@arm.com>2022-04-22 18:50:49 +0100
commit5e64b862c4823ab53aac028042abd918c2f27041 (patch)
tree1d68a826820e18adfe236679f6f3a4f8b2336a9a /arch/arm64/include/asm/cpu.h
parentb2cf6a23289b3268cc7915a09c0c8372147b2727 (diff)
downloadlinux-5e64b862c4823ab53aac028042abd918c2f27041.tar.gz
arm64/sme: Basic enumeration support
This patch introduces basic cpufeature support for discovering the presence of the Scalable Matrix Extension. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20220419112247.711548-9-broonie@kernel.org Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpu.h')
-rw-r--r--arch/arm64/include/asm/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpu.h b/arch/arm64/include/asm/cpu.h
index a58e366f0b07..d08062bcb9c1 100644
--- a/arch/arm64/include/asm/cpu.h
+++ b/arch/arm64/include/asm/cpu.h
@@ -58,6 +58,7 @@ struct cpuinfo_arm64 {
u64 reg_id_aa64pfr0;
u64 reg_id_aa64pfr1;
u64 reg_id_aa64zfr0;
+ u64 reg_id_aa64smfr0;
struct cpuinfo_32bit aarch32;