diff options
| author | Josue David Hernandez Gutierrez <[email protected]> | 2023-03-17 17:47:10 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-03-23 17:25:22 +0100 |
| commit | 944e7deb4238d10cd16905474574236ac8a8e847 (patch) | |
| tree | fd0529f8ef78a99423b53ca4f2fc690b13089c06 /tools/perf/scripts/python/libxed.py | |
| parent | edf1664f3249a091a2b91182fc087b3253b0b4c2 (diff) | |
xhci: Avoid PCI MSI/MSIX interrupt reinitialization at resume
xhci MSI setup is currently done at the same time as xHC host is started
in xhci_run(). This couples the generic xhci code with PCI, and will
reconfigure MSI/MSIX interrupts every time xHC is started.
Decouple MSI/MSIX configuration from generic xhci code by moving MSI/MSIX
part to a PCI specific xhci_pci_run() function overriding xhci_run().
This allows us to remove unnecessay MSI/MSIX reconfiguration done every
time PCI xhci resumes from suspend. i.e. remove the xhci_cleanup_msix()
call from xhci_resume() and the xhci_try_enale_msi() call in xhci_run()
called a bit later by xhci_resume()
[minor changes and commit message rewrite -Mathias]
Signed-off-by: Josue David Hernandez Gutierrez <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions