aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-11-28 08:15:07 +0000
committerBjorn Helgaas <[email protected]>2023-12-11 18:07:42 +0000
commit718ab8226636a1a3a7d281f5d6a7ad7c925efe5a (patch)
tree57d0fc477ea9dde3de440c6a2b09fcf004c7e7f8 /tools/perf/scripts/python/libxed.py
parentPCI: loongson: Limit MRRS to 256 (diff)
downloadkernel-718ab8226636a1a3a7d281f5d6a7ad7c925efe5a.tar.gz
kernel-718ab8226636a1a3a7d281f5d6a7ad7c925efe5a.zip
PCI/ASPM: Add pci_enable_link_state_locked()
Add pci_enable_link_state_locked() for enabling link states that can be used in contexts where a pci_bus_sem read lock is already held (e.g. from pci_walk_bus()). This helper will be used to fix a couple of potential deadlocks where the current helper is called with the lock already held, hence the CC stable tag. Fixes: f492edb40b54 ("PCI: vmd: Add quirk to configure PCIe ASPM and LTR") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]> [bhelgaas: include helper name in subject, commit log] Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Cc: <[email protected]> # 6.3 Cc: Michael Bottini <[email protected]> Cc: David E. Box <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions