Re: [PATCH v6 07/64] KVM: arm64: nv: Handle HCR_EL2.NV system register traps

2022-02-01 Thread Russell King (Oracle)
On Fri, Jan 28, 2022 at 12:18:15PM +, Marc Zyngier wrote: > From: Jintack Lim > > ARM v8.3 introduces a new bit in the HCR_EL2, which is the NV bit. When > this bit is set, accessing EL2 registers in EL1 traps to EL2. In > addition, executing the following instructions in EL1 will trap to EL2

[PATCH v6 07/64] KVM: arm64: nv: Handle HCR_EL2.NV system register traps

2022-01-28 Thread Marc Zyngier
From: Jintack Lim ARM v8.3 introduces a new bit in the HCR_EL2, which is the NV bit. When this bit is set, accessing EL2 registers in EL1 traps to EL2. In addition, executing the following instructions in EL1 will trap to EL2: tlbi, at, eret, and msr/mrs instructions to access SP_EL1. Most of the