On Tue, Nov 03, 2020 at 05:14:45PM +0000, Marc Zyngier wrote: > 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@xxxxxxxxxx> > --- > arch/arm64/include/asm/sysreg.h | 4 ++++ > arch/arm64/kvm/sys_regs.c | 4 ++++ > 2 files changed, 8 insertions(+) Acked-by: Will Deacon <will@xxxxxxxxxx> Will _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm