Files
linux/drivers/pci/controller
Inochi Amaoto e433110eb5 PCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info()
Since commit 54f45a30c0 ("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]
2025-10-17 08:30:34 -05:00
..
…
2025-07-31 16:12:19 -05:00