Re: [PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-22 Thread Marc Zyngier
On 22/02/18 16:02, Christoffer Dall wrote: > On Thu, Feb 22, 2018 at 03:01:17PM +, Marc Zyngier wrote: >> On Thu, 22 Feb 2018 14:42:27 +, >> Christoffer Dall wrote: >>> >>> On Thu, Feb 22, 2018 at 12:32:11PM +, Marc Zyngier wrote: On 15/02/18 21:03, Christoffer Dall wrote: >

Re: [PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-22 Thread Christoffer Dall
On Thu, Feb 22, 2018 at 03:01:17PM +, Marc Zyngier wrote: > On Thu, 22 Feb 2018 14:42:27 +, > Christoffer Dall wrote: > > > > On Thu, Feb 22, 2018 at 12:32:11PM +, Marc Zyngier wrote: > > > On 15/02/18 21:03, Christoffer Dall wrote: > > > > Just like we can program the GICv2

Re: [PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-22 Thread Marc Zyngier
On Thu, 22 Feb 2018 14:42:27 +, Christoffer Dall wrote: > > On Thu, Feb 22, 2018 at 12:32:11PM +, Marc Zyngier wrote: > > On 15/02/18 21:03, Christoffer Dall wrote: > > > Just like we can program the GICv2 hypervisor control interface directly > > > from the core vgic code, we can do the

Re: [PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-22 Thread Christoffer Dall
On Thu, Feb 22, 2018 at 12:32:11PM +, Marc Zyngier wrote: > On 15/02/18 21:03, Christoffer Dall wrote: > > Just like we can program the GICv2 hypervisor control interface directly > > from the core vgic code, we can do the same for the GICv3 hypervisor > > control interface on VHE systems. > >

Re: [PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-22 Thread Marc Zyngier
On 15/02/18 21:03, Christoffer Dall wrote: > Just like we can program the GICv2 hypervisor control interface directly > from the core vgic code, we can do the same for the GICv3 hypervisor > control interface on VHE systems. > > We do this by simply calling the save/restore functions when we have

[PATCH v4 38/40] KVM: arm/arm64: Handle VGICv3 save/restore from the main VGIC code on VHE

2018-02-15 Thread Christoffer Dall
Just like we can program the GICv2 hypervisor control interface directly from the core vgic code, we can do the same for the GICv3 hypervisor control interface on VHE systems. We do this by simply calling the save/restore functions when we have VHE and we can then get rid of the save/restore