Re: [RFC 12/55] KVM: arm64: Handle EL2 register access traps

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:08AM -0500, Jintack Lim wrote: > 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 following instructions in EL1 will trap to EL2 - > tlbi and at

Re: [RFC 12/55] KVM: arm64: Handle EL2 register access traps

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:08AM -0500, Jintack Lim wrote: > 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 following instructions in EL1 will trap to EL2 - > tlbi and at

Re: [RFC 12/55] KVM: arm64: Handle EL2 register access traps

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:08AM -0500, Jintack Lim wrote: > 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 following instructions in EL1 will trap to EL2 - the following: So these

Re: [RFC 12/55] KVM: arm64: Handle EL2 register access traps

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:08AM -0500, Jintack Lim wrote: > 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 following instructions in EL1 will trap to EL2 - the following: So these