summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2025-04-21 12:25:18 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-23 03:22:02 +0300
commitb7ed5d5a78fccee96cf8919ac2c7a064c2f4c45b (patch)
treefe88cbbf2312359c2d7123c7223bfeb427ad5bf6 /tools/perf/scripts/python/exported-sql-viewer.py
parent67b083f14fb75c4157eb8ab9a4ae543aebcb8e1b (diff)
downloadlinux-b7ed5d5a78fccee96cf8919ac2c7a064c2f4c45b.tar.xz
r8169: use pci_prepare_to_sleep in rtl_shutdown
Use pci_prepare_to_sleep() like PCI core does in pci_pm_suspend_noirq. This aligns setting a low-power mode during shutdown with the handling of the transition to system suspend. Also the transition to runtime suspend uses pci_target_state() instead of setting D3hot unconditionally. Note: pci_prepare_to_sleep() uses device_may_wakeup() to check whether device may generate wakeup events. So we don't lose anything by not passing tp->saved_wolopts any longer. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/f573fdbd-ba6d-41c1-b68f-311d3c88db2c@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions