commit | ed4ffaf49bf9ce1002b516d8c6aa04937b7950bc | [log] [tgz] |
---|---|---|
author | Marc Zyngier <maz@kernel.org> | Tue Nov 10 14:13:08 2020 +0000 |
committer | Marc Zyngier <maz@kernel.org> | Thu Nov 12 21:22:46 2020 +0000 |
tree | a4ba52faaa43190143bcd19c3ed8bf10a3e4e6bd | |
parent | 338b17933a6077bb5406b33d8b9fb9616fffc1af [diff] |
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