[PATCH 18/59] KVM: arm64: nv: Trap EL1 VM register accesses in virtual EL2

2019-06-21 Thread Marc Zyngier
From: Christoffer Dall When running in virtual EL2 mode, we actually run the hardware in EL1 and therefore have to use the EL1 registers to ensure correct operation. By setting the HCR.TVM and HCR.TVRM we ensure that the virtual EL2 mode doesn't shoot itself in the foot when setting up what it b

Re: [PATCH 18/59] KVM: arm64: nv: Trap EL1 VM register accesses in virtual EL2

2019-07-01 Thread Alexandru Elisei
On 6/21/19 10:38 AM, Marc Zyngier wrote: > From: Christoffer Dall > > When running in virtual EL2 mode, we actually run the hardware in EL1 > and therefore have to use the EL1 registers to ensure correct operation. > > By setting the HCR.TVM and HCR.TVRM we ensure that the virtual EL2 mode > does