Re: [Xen-devel] [PATCH v3 36/39] ARM: new VGIC: vgic-init: implement vgic_init

2018-03-28 Thread Andre Przywara
Hi, On 28/03/18 00:16, Stefano Stabellini wrote: > On Wed, 21 Mar 2018, Andre Przywara wrote: >> This patch allocates and initializes the data structures used to model >> the vgic distributor and virtual cpu interfaces. At that stage the >> number of IRQs and number of virtual CPUs is frozen. >> I

Re: [Xen-devel] [PATCH v3 36/39] ARM: new VGIC: vgic-init: implement vgic_init

2018-03-27 Thread Stefano Stabellini
On Tue, 27 Mar 2018, Stefano Stabellini wrote: > > +static void vgic_vcpu_early_init(struct vcpu *vcpu) > > +{ > > +struct vgic_cpu *vgic_cpu = &vcpu->arch.vgic; > > +unsigned int i; > > + > > +INIT_LIST_HEAD(&vgic_cpu->ap_list_head); > > +spin_lock_init(&vgic_cpu->ap_list_lock); >

Re: [Xen-devel] [PATCH v3 36/39] ARM: new VGIC: vgic-init: implement vgic_init

2018-03-27 Thread Stefano Stabellini
On Wed, 21 Mar 2018, Andre Przywara wrote: > This patch allocates and initializes the data structures used to model > the vgic distributor and virtual cpu interfaces. At that stage the > number of IRQs and number of virtual CPUs is frozen. > Implement the various functions that the Xen arch code is

Re: [Xen-devel] [PATCH v3 36/39] ARM: new VGIC: vgic-init: implement vgic_init

2018-03-22 Thread Julien Grall
Hi Andre, On 03/21/2018 04:32 PM, Andre Przywara wrote: This patch allocates and initializes the data structures used to model the vgic distributor and virtual cpu interfaces. At that stage the number of IRQs and number of virtual CPUs is frozen. Implement the various functions that the Xen arch

[Xen-devel] [PATCH v3 36/39] ARM: new VGIC: vgic-init: implement vgic_init

2018-03-21 Thread Andre Przywara
This patch allocates and initializes the data structures used to model the vgic distributor and virtual cpu interfaces. At that stage the number of IRQs and number of virtual CPUs is frozen. Implement the various functions that the Xen arch code is expecting to call during domain and VCPU setup to