Skip to content

Commit 3cc8f62

Browse files
Marc Zyngierbjorn-helgaas
authored andcommitted
PCI: xgene-msi: Resend an MSI racing with itself on a different CPU
Since changing the affinity of an MSI really is about changing the target address and that it isn't possible to mask an individual MSI, it is completely possible for an interrupt to race with itself, usually resulting in a lost interrupt. Paper over the design blunder by informing the core code of this sad state of affairs. Signed-off-by: Marc Zyngier <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 17c1f96 commit 3cc8f62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/pci-xgene-msi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ static int xgene_irq_domain_alloc(struct irq_domain *domain, unsigned int virq,
183183
irq_domain_set_info(domain, virq, hwirq,
184184
&xgene_msi_bottom_irq_chip, domain->host_data,
185185
handle_simple_irq, NULL, NULL);
186+
irqd_set_resend_when_in_progress(irq_get_irq_data(virq));
186187

187188
return 0;
188189
}

0 commit comments

Comments
 (0)