summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/nvhe/sys_regs.c
diff options
context:
space:
mode:
authorFuad Tabba <tabba@google.com>2021-10-10 17:56:34 +0300
committerMarc Zyngier <maz@kernel.org>2021-10-11 16:57:30 +0300
commit72e1be120eaaf82a58c81fcf173cdb1d7a5dcfbb (patch)
treea1db6e50aa75dadb1f3248af1094ccba1a5f69f4 /arch/arm64/kvm/hyp/nvhe/sys_regs.c
parent2a0c343386ae1a6826e1b9d751bfc14f4711c2de (diff)
downloadlinux-72e1be120eaaf82a58c81fcf173cdb1d7a5dcfbb.tar.xz
KVM: arm64: Move sanitized copies of CPU features
Move the sanitized copies of the CPU feature registers to the recently created sys_regs.c. This consolidates all copies in a more relevant file. No functional change intended. Acked-by: Will Deacon <will@kernel.org> Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211010145636.1950948-10-tabba@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/nvhe/sys_regs.c')
-rw-r--r--arch/arm64/kvm/hyp/nvhe/sys_regs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/kvm/hyp/nvhe/sys_regs.c b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
index 6e3ea49af302..6bde2dc5205c 100644
--- a/arch/arm64/kvm/hyp/nvhe/sys_regs.c
+++ b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
@@ -21,6 +21,8 @@ u64 id_aa64pfr0_el1_sys_val;
u64 id_aa64pfr1_el1_sys_val;
u64 id_aa64isar0_el1_sys_val;
u64 id_aa64isar1_el1_sys_val;
+u64 id_aa64mmfr0_el1_sys_val;
+u64 id_aa64mmfr1_el1_sys_val;
u64 id_aa64mmfr2_el1_sys_val;
/*