Thread (21 messages) 21 messages, 5 authors, 2025-09-08

Re: [PATCH v6 09/11] PCI: Put PCIe bridges with downstream devices into D3 at hibernate

From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2025-09-08 21:50:32
Also in: amd-gfx, dri-devel, linux-pci, linux-pm, linux-scsi, linux-usb

On Sun, Aug 17, 2025 at 09:00:59PM -0500, Mario Limonciello (AMD) wrote:
For the suspend flow PCIe bridges that have downstream devices are put into
the appropriate low power state (D3hot or D3cold depending upon specific
devices). For the hibernate flow, PCIe bridges with downstream devices
stay in D0 however. This can lead to PCIe bridges that are remained
powered on needlessly during hibernate.
s/are remained/remain/ I guess?
Adjust the pci_pm_poweroff_noirq() to follow the same flow as
pci_pm_suspend_noirq() by using pci_pm_suspend_noirq_common().

This introduces a functional change that the hibernate flow will now
call pci_save_state() and unless bus PM is skipped will also set
the PCIe device into an unknown state.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help