Re: [Xen-devel] [PATCH v9 05/28] ARM: GICv3: forward pending LPIs to guests

2017-05-25 Thread Andre Przywara
Hi, On 22/05/17 23:03, Stefano Stabellini wrote: > On Thu, 11 May 2017, Andre Przywara wrote: >> Upon receiving an LPI on the host, we need to find the right VCPU and >> virtual IRQ number to get this IRQ injected. >> Iterate our two-level LPI table to find this information quickly when >> the hos

Re: [Xen-devel] [PATCH v9 05/28] ARM: GICv3: forward pending LPIs to guests

2017-05-22 Thread Stefano Stabellini
On Thu, 11 May 2017, Andre Przywara wrote: > Upon receiving an LPI on the host, we need to find the right VCPU and > virtual IRQ number to get this IRQ injected. > Iterate our two-level LPI table to find this information quickly when > the host takes an LPI. Call the existing injection function to

Re: [Xen-devel] [PATCH v9 05/28] ARM: GICv3: forward pending LPIs to guests

2017-05-12 Thread Julien Grall
Hi Andre, On 11/05/17 18:53, Andre Przywara wrote: diff --git a/xen/arch/arm/vgic-v3.c b/xen/arch/arm/vgic-v3.c index 44d2b50..87f58f6 100644 --- a/xen/arch/arm/vgic-v3.c +++ b/xen/arch/arm/vgic-v3.c @@ -1567,12 +1567,30 @@ static struct pending_irq *vgic_v3_lpi_to_pending(struct domain *d,

[Xen-devel] [PATCH v9 05/28] ARM: GICv3: forward pending LPIs to guests

2017-05-11 Thread Andre Przywara
Upon receiving an LPI on the host, we need to find the right VCPU and virtual IRQ number to get this IRQ injected. Iterate our two-level LPI table to find this information quickly when the host takes an LPI. Call the existing injection function to let the GIC emulation deal with this interrupt. Als