Re: [Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-26 Thread Julien Grall
On 26/05/17 10:10, Andre Przywara wrote: Hi, On 22/05/17 18:19, Julien Grall wrote: On 22/05/17 17:50, Andre Przywara wrote: Hi, Hi Andre, On 17/05/17 16:35, Julien Grall wrote: +} +spin_unlock(>arch.vgic.its_devices_lock); + +return pirq; +} + +struct pending_irq

Re: [Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-26 Thread Andre Przywara
Hi, On 22/05/17 18:19, Julien Grall wrote: > > > On 22/05/17 17:50, Andre Przywara wrote: >> Hi, > > Hi Andre, > >> On 17/05/17 16:35, Julien Grall wrote: +} +spin_unlock(>arch.vgic.its_devices_lock); + +return pirq; +} + +struct pending_irq

Re: [Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-22 Thread Julien Grall
On 22/05/17 17:50, Andre Przywara wrote: Hi, Hi Andre, On 17/05/17 16:35, Julien Grall wrote: +} +spin_unlock(>arch.vgic.its_devices_lock); + +return pirq; +} + +struct pending_irq *gicv3_its_get_event_pending_irq(struct domain *d, +

Re: [Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-22 Thread Andre Przywara
Hi, On 17/05/17 16:35, Julien Grall wrote: > Hi Andre, > > On 11/05/17 18:53, Andre Przywara wrote: >> For each device we allocate one struct pending_irq for each virtual >> event (MSI). >> Provide a helper function which returns the pointer to the appropriate >> struct, to be able to find the

Re: [Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-17 Thread Julien Grall
Hi Andre, On 11/05/17 18:53, Andre Przywara wrote: For each device we allocate one struct pending_irq for each virtual event (MSI). Provide a helper function which returns the pointer to the appropriate struct, to be able to find the right struct when given a virtual deviceID/eventID pair.

[Xen-devel] [PATCH v9 15/28] ARM: vITS: provide access to struct pending_irq

2017-05-11 Thread Andre Przywara
For each device we allocate one struct pending_irq for each virtual event (MSI). Provide a helper function which returns the pointer to the appropriate struct, to be able to find the right struct when given a virtual deviceID/eventID pair. Signed-off-by: Andre Przywara