Commit dbba49b6 authored by Marc Zyngier's avatar Marc Zyngier
Browse files

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: default avatarWill Deacon <willdeacon@google.com>
Signed-off-by: default avatarMarc Zyngier <mzyngier@google.com>
Change-Id: I1f8de324af8a47974e6ab6b0bf68c8e1b01c4baf
parent 5c6f14f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment