Message ID | 163001720943.25758.17463061644086046608.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,irq/urgent] PCI/MSI: Skip masking MSI-X on Xen PV | expand |
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index e5e7533..3a9f4f8 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -776,6 +776,9 @@ static void msix_mask_all(void __iomem *base, int tsize) u32 ctrl = PCI_MSIX_ENTRY_CTRL_MASKBIT; int i; + if (pci_msi_ignore_mask) + return; + for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) writel(ctrl, base + PCI_MSIX_ENTRY_VECTOR_CTRL); }