Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'irq-urgent-2024-12-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull irq fix from Ingo Molnar:
"Fix bogus MSI IRQ setup warning on RISC-V"

* tag 'irq-urgent-2024-12-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
PCI/MSI: Handle lack of irqdomain gracefully

+9 -2
+5 -2
drivers/pci/msi/irqdomain.c
··· 350 350 351 351 domain = dev_get_msi_domain(&pdev->dev); 352 352 353 - if (!domain || !irq_domain_is_hierarchy(domain)) 354 - return mode == ALLOW_LEGACY; 353 + if (!domain || !irq_domain_is_hierarchy(domain)) { 354 + if (IS_ENABLED(CONFIG_PCI_MSI_ARCH_FALLBACKS)) 355 + return mode == ALLOW_LEGACY; 356 + return false; 357 + } 355 358 356 359 if (!irq_domain_is_msi_parent(domain)) { 357 360 /*
+4
drivers/pci/msi/msi.c
··· 433 433 if (WARN_ON_ONCE(dev->msi_enabled)) 434 434 return -EINVAL; 435 435 436 + /* Test for the availability of MSI support */ 437 + if (!pci_msi_domain_supports(dev, 0, ALLOW_LEGACY)) 438 + return -ENOTSUPP; 439 + 436 440 nvec = pci_msi_vec_count(dev); 437 441 if (nvec < 0) 438 442 return nvec;