Commit e433110
PCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_info()
Since commit 54f45a3 ("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: 54f45a3 ("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]1 parent 469276c commit e433110
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
195 | 201 | | |
196 | 202 | | |
197 | 203 | | |
| |||
210 | 216 | | |
211 | 217 | | |
212 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
213 | 224 | | |
214 | 225 | | |
215 | 226 | | |
| |||
309 | 320 | | |
310 | 321 | | |
311 | 322 | | |
| 323 | + | |
| 324 | + | |
312 | 325 | | |
313 | 326 | | |
314 | 327 | | |
| |||
0 commit comments