Re: [Xen-devel] [PATCH RFC XEN v1 09/14] xen: arm: Save and restore GIC state.

2015-12-22 Thread Stefano Stabellini
On Thu, 17 Dec 2015, Ian Campbell wrote: > > > +/* Save PPI and SGI states (per-CPU) */ > > > +spin_lock(&v->arch.vgic.lock); > > > > vgic_lock > > Ah, yes, this function was originally in save.c so didn't have access, but > now it is in the right place I should use all the correct

Re: [Xen-devel] [PATCH RFC XEN v1 09/14] xen: arm: Save and restore GIC state.

2015-12-17 Thread Ian Campbell
On Wed, 2015-12-16 at 18:30 +, Stefano Stabellini wrote: > On Wed, 9 Dec 2015, Ian Campbell wrote: > > Currently only GICv2 support is implemented. > > > > Given the differing architectural state between the GICv2 and v3 I > > ended up with separate save records. I'm not sure if this is the be

Re: [Xen-devel] [PATCH RFC XEN v1 09/14] xen: arm: Save and restore GIC state.

2015-12-16 Thread Stefano Stabellini
On Wed, 9 Dec 2015, Ian Campbell wrote: > Currently only GICv2 support is implemented. > > Given the differing architectural state between the GICv2 and v3 I > ended up with separate save records. I'm not sure if this is the best > plan. I have also split the state into GICD (per domain) and GICC

[Xen-devel] [PATCH RFC XEN v1 09/14] xen: arm: Save and restore GIC state.

2015-12-09 Thread Ian Campbell
Currently only GICv2 support is implemented. Given the differing architectural state between the GICv2 and v3 I ended up with separate save records. I'm not sure if this is the best plan. I have also split the state into GICD (per domain) and GICC (per vcpu, although also including banked GICD sta