Re: [PATCH 3/3] KVM: arm64: Add emulation for 32bit guests accessing ACTLR2

2020-05-28 Thread Marc Zyngier
Hi James, On 2020-05-26 17:18, James Morse wrote: ACTLR_EL1 is a 64bit register while the 32bit ACTLR is obviously 32bit. For 32bit software, the extra bits are accessible via ACTLR2... which KVM doesn't emulate. Signed-off-by: James Morse --- I'm not convinced this is endian safe, but it

[PATCH 3/3] KVM: arm64: Add emulation for 32bit guests accessing ACTLR2

2020-05-26 Thread James Morse
ACTLR_EL1 is a 64bit register while the 32bit ACTLR is obviously 32bit. For 32bit software, the extra bits are accessible via ACTLR2... which KVM doesn't emulate. Signed-off-by: James Morse --- I'm not convinced this is endian safe, but it does match what kvm_inject_undef32() do. The