Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-07-03 Thread Christoffer Dall
On Mon, Jul 03, 2017 at 10:44:51AM -0400, Jintack Lim wrote: > Thanks Christoffer and Marc, > > On Mon, Jul 3, 2017 at 5:54 AM, Christoffer Dall wrote: > > On Mon, Jul 03, 2017 at 10:32:45AM +0100, Marc Zyngier wrote: > >> On 03/07/17 10:03, Christoffer Dall wrote: > >> > On Mon, Jun 26, 2017 at

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-07-03 Thread Jintack Lim
Thanks Christoffer and Marc, On Mon, Jul 3, 2017 at 5:54 AM, Christoffer Dall wrote: > On Mon, Jul 03, 2017 at 10:32:45AM +0100, Marc Zyngier wrote: >> On 03/07/17 10:03, Christoffer Dall wrote: >> > On Mon, Jun 26, 2017 at 10:33:23AM -0400, Jintack Lim wrote: >> >> Hi Christoffer, >> >> >> >> On

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-07-03 Thread Christoffer Dall
On Mon, Jul 03, 2017 at 10:32:45AM +0100, Marc Zyngier wrote: > On 03/07/17 10:03, Christoffer Dall wrote: > > On Mon, Jun 26, 2017 at 10:33:23AM -0400, Jintack Lim wrote: > >> Hi Christoffer, > >> > >> On Wed, Feb 22, 2017 at 6:10 AM, Christoffer Dall wrote: > >>> On Mon, Jan 09, 2017 at 01:24:02

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-07-03 Thread Marc Zyngier
On 03/07/17 10:03, Christoffer Dall wrote: > On Mon, Jun 26, 2017 at 10:33:23AM -0400, Jintack Lim wrote: >> Hi Christoffer, >> >> On Wed, Feb 22, 2017 at 6:10 AM, Christoffer Dall wrote: >>> On Mon, Jan 09, 2017 at 01:24:02AM -0500, Jintack Lim wrote: With the nested virtualization support,

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-07-03 Thread Christoffer Dall
On Mon, Jun 26, 2017 at 10:33:23AM -0400, Jintack Lim wrote: > Hi Christoffer, > > On Wed, Feb 22, 2017 at 6:10 AM, Christoffer Dall wrote: > > On Mon, Jan 09, 2017 at 01:24:02AM -0500, Jintack Lim wrote: > >> With the nested virtualization support, the context of the guest > >> includes EL2 regi

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-06-26 Thread Jintack Lim
Hi Christoffer, On Wed, Feb 22, 2017 at 6:10 AM, Christoffer Dall wrote: > On Mon, Jan 09, 2017 at 01:24:02AM -0500, Jintack Lim wrote: >> With the nested virtualization support, the context of the guest >> includes EL2 register states. The host manages a set of virtual EL2 >> registers. In addi

Re: [RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-02-22 Thread Christoffer Dall
On Mon, Jan 09, 2017 at 01:24:02AM -0500, Jintack Lim wrote: > With the nested virtualization support, the context of the guest > includes EL2 register states. The host manages a set of virtual EL2 > registers. In addition to that, the guest hypervisor supposed to run in > EL2 is now deprivilaged

[RFC 06/55] KVM: arm64: Add EL2 execution context for nesting

2017-01-08 Thread Jintack Lim
With the nested virtualization support, the context of the guest includes EL2 register states. The host manages a set of virtual EL2 registers. In addition to that, the guest hypervisor supposed to run in EL2 is now deprivilaged and runs in EL1. So, the host also manages a set of shadow system reg