mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
Since commit54f45a30c0("PCI/MSI: Add startup/shutdown for per device domains") set callback irq_startup() and irq_shutdown() of the struct pci_msi[x]_template, __irq_startup() will always invokes irq_startup() callback instead of irq_enable() callback overridden in vmd_init_dev_msi_info(). This will not start the IRQ correctly. Also override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info(), so the irq_startup() can invoke the real logic. Fixes:54f45a30c0("PCI/MSI: Add startup/shutdown for per device domains") Reported-by: Kenneth Crudup <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Reported-by: Genes Lists <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Reported-by: Todd Brandt <[email protected]> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=220658 Reported-by: Oliver Hartkopp <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Reported-by: Hervé <[email protected]> Signed-off-by: Inochi Amaoto <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Tested-by: Kenneth R. Crudup <[email protected]> Tested-by: Genes Lists <[email protected]> Tested-by: Oliver Hartkopp <[email protected]> Tested-by: Todd Brandt <[email protected]> Tested-by: Hervé <[email protected]> Cc: [email protected] Link: https://patch.msgid.link/[email protected]