Skip to content

Commit f20a263

Browse files
committed
Merge tag 'irq_urgent_for_v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fix from Borislav Petkov: - Have msix_mask_all() check a global control which says whether MSI-X masking should be done and thus make it usable on Xen-PV too * tag 'irq_urgent_for_v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: PCI/MSI: Skip masking MSI-X on Xen PV
2 parents 98d006e + 1a519dc commit f20a263

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/pci/msi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -776,6 +776,9 @@ static void msix_mask_all(void __iomem *base, int tsize)
776776
u32 ctrl = PCI_MSIX_ENTRY_CTRL_MASKBIT;
777777
int i;
778778

779+
if (pci_msi_ignore_mask)
780+
return;
781+
779782
for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE)
780783
writel(ctrl, base + PCI_MSIX_ENTRY_VECTOR_CTRL);
781784
}

0 commit comments

Comments
 (0)