ANDROID: KVM: arm64: Handle all ID registers trapped for a protected VM
A protected VM accessing ID_AA64ISAR2_EL1 gets punished with an UNDEF, while it really should only get a zero back if the register is not handled by the hypervisor emulation (as mandated by the architecture). Introduce all the missing ID registers (including the unallocated ones), and have them to return 0. Bug: 226913064 Reported-by:Will Deacon <willdeacon@google.com> Signed-off-by:
Marc Zyngier <mzyngier@google.com> Change-Id: I1f8de324af8a47974e6ab6b0bf68c8e1b01c4baf
Loading
Please sign in to comment