]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Map AArch32 cp15 register to AArch64 sysregs
authorMarc Zyngier <maz@kernel.org>
Thu, 29 Oct 2020 17:14:20 +0000 (17:14 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 11:22:51 +0000 (11:22 +0000)
commitb1ea1d760d3331da19e33650bf8c09ce028a0a49
tree8c2a883827dc47dd9043c0615691d7ebdd1bb236
parent6ed6750f2b6d4a51f27615f3323d1850449299e3
KVM: arm64: Map AArch32 cp15 register to AArch64 sysregs

Move all the cp15 registers over to their AArch64 counterpart.
This requires the annotation of a few of them (such as the usual
DFAR/IFAR vs FAR_EL1), and a new helper that generates mask/shift
pairs for the various configurations.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c