Re: [Xen-devel] [PATCH v11 14/34] ARM: GICv3: forward pending LPIs to guests

2017-06-12 Thread Julien Grall
Hi Andre, On 09/06/17 18:41, Andre Przywara wrote: diff --git a/xen/arch/arm/gic-v3-lpi.c b/xen/arch/arm/gic-v3-lpi.c index dbaf45a..03d23b6 100644 --- a/xen/arch/arm/gic-v3-lpi.c +++ b/xen/arch/arm/gic-v3-lpi.c @@ -136,6 +136,85 @@ uint64_t gicv3_get_redist_address(unsigned int cpu, bool use_p

[Xen-devel] [PATCH v11 14/34] ARM: GICv3: forward pending LPIs to guests

2017-06-09 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 the domain ID and the virtual LPI number quickly when the host takes an LPI. We then look up the right VCPU in the struct pending_irq. We use th