Skip to content

Commit 5690bca

Browse files
legoatermpe
authored andcommitted
powerpc/xive: Drop unmask of MSIs at startup
That was a workaround in the XIVE domain because of the lack of MSI domain. This is now handled. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210701132750.1475580-7-clg@kaod.org
1 parent a5f3d2c commit 5690bca

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

arch/powerpc/sysdev/xive/common.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -616,16 +616,6 @@ static unsigned int xive_irq_startup(struct irq_data *d)
616616
pr_devel("xive_irq_startup: irq %d [0x%x] data @%p\n",
617617
d->irq, hw_irq, d);
618618

619-
#ifdef CONFIG_PCI_MSI
620-
/*
621-
* The generic MSI code returns with the interrupt disabled on the
622-
* card, using the MSI mask bits. Firmware doesn't appear to unmask
623-
* at that level, so we do it here by hand.
624-
*/
625-
if (irq_data_get_msi_desc(d))
626-
pci_msi_unmask_irq(d);
627-
#endif
628-
629619
/* Pick a target */
630620
target = xive_pick_irq_target(d, irq_data_get_affinity_mask(d));
631621
if (target == XIVE_INVALID_TARGET) {

0 commit comments

Comments
 (0)