Re: [Xen-devel] [RFC PATCH 22/49] ARM: new VGIC: Implement virtual IRQ injection

2018-02-27 Thread Julien Grall
On 27/02/18 10:17, Andre Przywara wrote: Hi, Hi Andre, On 12/02/18 18:59, Julien Grall wrote: On 09/02/18 14:39, Andre Przywara wrote:   /*    * Iterate over the VM's list of mapped LPIs to find the one with a    * matching interrupt ID and return a reference to the IRQ structure. @@ -

Re: [Xen-devel] [RFC PATCH 22/49] ARM: new VGIC: Implement virtual IRQ injection

2018-02-27 Thread Andre Przywara
Hi, On 12/02/18 18:59, Julien Grall wrote: > Hi Andre, > > On 09/02/18 14:39, Andre Przywara wrote: >> Provide a vgic_queue_irq_unlock() function which decides whether a >> given IRQ needs to be queued to a VCPU's ap_list. >> This should be called whenever an IRQ becomes pending or enabled, >> ei

Re: [Xen-devel] [RFC PATCH 22/49] ARM: new VGIC: Implement virtual IRQ injection

2018-02-12 Thread Julien Grall
Hi Andre, On 09/02/18 14:39, Andre Przywara wrote: Provide a vgic_queue_irq_unlock() function which decides whether a given IRQ needs to be queued to a VCPU's ap_list. This should be called whenever an IRQ becomes pending or enabled, either as a result of a hardware IRQ injection, from devices e

[Xen-devel] [RFC PATCH 22/49] ARM: new VGIC: Implement virtual IRQ injection

2018-02-09 Thread Andre Przywara
Provide a vgic_queue_irq_unlock() function which decides whether a given IRQ needs to be queued to a VCPU's ap_list. This should be called whenever an IRQ becomes pending or enabled, either as a result of a hardware IRQ injection, from devices emulated by Xen (like the architected timer) or from MM