mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-21 23:57:36 -04:00
Merge tag 'irq-msi-2026-06-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull MSI irq fix from Ingo Molnar: - Revert a change that added a bad iounmap(NULL) call to the MSI IRQ support code (Yuanhe Shu) * tag 'irq-msi-2026-06-24' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: Revert "PCI/MSI: Unmap MSI-X region on error"
This commit is contained in:
@@ -749,7 +749,7 @@ static int msix_capability_init(struct pci_dev *dev, struct msix_entry *entries,
|
||||
|
||||
ret = msix_setup_interrupts(dev, entries, nvec, affd);
|
||||
if (ret)
|
||||
goto out_unmap;
|
||||
goto out_disable;
|
||||
|
||||
/* Disable INTX */
|
||||
pci_intx_for_msi(dev, 0);
|
||||
@@ -770,8 +770,6 @@ static int msix_capability_init(struct pci_dev *dev, struct msix_entry *entries,
|
||||
pcibios_free_irq(dev);
|
||||
return 0;
|
||||
|
||||
out_unmap:
|
||||
iounmap(dev->msix_base);
|
||||
out_disable:
|
||||
dev->msix_enabled = 0;
|
||||
pci_msix_clear_and_set_ctrl(dev, PCI_MSIX_FLAGS_MASKALL | PCI_MSIX_FLAGS_ENABLE, 0);
|
||||
|
||||
Reference in New Issue
Block a user