summaryrefslogtreecommitdiffstats
path: root/lib/vdso
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-11-10 14:13:08 +0000
committerMarc Zyngier <maz@kernel.org>2020-11-12 21:22:46 +0000
commited4ffaf49bf9ce1002b516d8c6aa04937b7950bc (patch)
treea4ba52faaa43190143bcd19c3ed8bf10a3e4e6bd /lib/vdso
parent338b17933a6077bb5406b33d8b9fb9616fffc1af (diff)
downloadlinux-ed4ffaf49bf9ce1002b516d8c6aa04937b7950bc.tar.bz2
KVM: arm64: Handle SCXTNUM_ELx traps
As the kernel never sets HCR_EL2.EnSCXT, accesses to SCXTNUM_ELx will trap to EL2. Let's handle that as gracefully as possible by injecting an UNDEF exception into the guest. This is consistent with the guest's view of ID_AA64PFR0_EL1.CSV2 being at most 1. Signed-off-by: Marc Zyngier <maz@kernel.org> Acked-by: Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20201110141308.451654-4-maz@kernel.org
Diffstat (limited to 'lib/vdso')
0 files changed, 0 insertions, 0 deletions