Re: [Xen-devel] [PATCH v8 20/27] ARM: GICv3: handle unmapped LPIs

2017-04-12 Thread Julien Grall
Hi Andre, TBH, I would have expected this patch to be split in two: - Introduction of the flag before patch #19 - Set flag in patch #19 This would have make easier to review the implementation of MAPTI. On 12/04/17 01:44, Andre Przywara wrote: When LPIs get unmapped by a guest,

Re: [Xen-devel] [PATCH v8 20/27] ARM: GICv3: handle unmapped LPIs

2017-04-12 Thread Andre Przywara
Hi, On 12/04/17 01:44, Andre Przywara wrote: > When LPIs get unmapped by a guest, they might still be in some LR of > some VCPU. Nevertheless we remove the corresponding pending_irq > (possibly freeing it), and detect this case (irq_to_pending() returns > NULL) when the LR gets cleaned up later. >

[Xen-devel] [PATCH v8 20/27] ARM: GICv3: handle unmapped LPIs

2017-04-11 Thread Andre Przywara
When LPIs get unmapped by a guest, they might still be in some LR of some VCPU. Nevertheless we remove the corresponding pending_irq (possibly freeing it), and detect this case (irq_to_pending() returns NULL) when the LR gets cleaned up later. However a *new* LPI may get mapped with the same number