diff options
author | Philipp Stanner <pstanner@redhat.com> | 2024-12-09 16:06:29 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-01-18 23:38:48 +0300 |
commit | b182cbaaa951720b142844445d34faa4d1a0766f (patch) | |
tree | bc7b7e8a4301e123e4d37c9a81dd02fb58343b2d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bf726979b8ab1220cd9605f66e8f64433b19a7dc (diff) | |
download | linux-b182cbaaa951720b142844445d34faa4d1a0766f.tar.xz |
PCI/MSI: Use never-managed version of pci_intx()
pci_intx() is a hybrid function which can sometimes be managed through
devres. To remove this hybrid nature from pci_intx(), it is necessary to
port users to either an always-managed or a never-managed version.
MSI sets up its own separate devres callback implicitly in
pcim_setup_msi_release(). This callback ultimately uses pci_intx(), which
is problematic since the callback runs on driver detach.
That problem has last been described here:
https://lore.kernel.org/all/ee44ea7ac760e73edad3f20b30b4d2fff66c1a85.camel@redhat.com/
Replace the call to pci_intx() with one to the never-managed version
pci_intx_unmanaged().
Link: https://lore.kernel.org/r/20241209130632.132074-9-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions