Re: [PATCH 35/37] KVM: arm/arm64: Get rid of vgic_elrsr

2017-11-26 Thread Christoffer Dall
On Sun, Nov 26, 2017 at 05:39:02PM +0300, Yury Norov wrote: > On Thu, Oct 12, 2017 at 12:41:39PM +0200, Christoffer Dall wrote: > > There is really no need to store the vgic_elrsr on the VGIC data > > structures as the only need we have for the elrsr is to figure out if an > > LR is inavtive when w

Re: [PATCH 35/37] KVM: arm/arm64: Get rid of vgic_elrsr

2017-11-26 Thread Yury Norov
On Thu, Oct 12, 2017 at 12:41:39PM +0200, Christoffer Dall wrote: > There is really no need to store the vgic_elrsr on the VGIC data > structures as the only need we have for the elrsr is to figure out if an > LR is inavtive when we save the VGIC state upon returning from the > guest. We can might

[PATCH 35/37] KVM: arm/arm64: Get rid of vgic_elrsr

2017-10-12 Thread Christoffer Dall
There is really no need to store the vgic_elrsr on the VGIC data structures as the only need we have for the elrsr is to figure out if an LR is inavtive when we save the VGIC state upon returning from the guest. We can might as well store this in a temporary local variable. This also gets rid of