PCI: PM: Move to D0 before calling pci_legacy_resume_early()
Status from this message: I applied the first six to pci/pm and the last to pci/msi, all for
Get series with b4
b4 am [email protected]Versions newest first
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | PCI/PM: Always return devices to D0 when thawingdrivers/ | +11 | 1 reply | |
| 2/7 | PCI/PM: Correct pci_pm_thaw_noirq() documentationDocumentation/ | +5 | 1 reply | |
| 3/7 | PCI/PM: Clear PCIe PME Status even for legacy power managementdrivers/ | +1 | 1 reply | |
| 4/7 | PCI/PM: Run resume fixups before disabling wakeup eventsdrivers/ | +1 | 1 reply | |
| 5/7 | PCI/PM: Make power management op coding style consistentdrivers/ | +36 | 2 replies | |
| 6/7 | PCI/PM: Wrap long lines in documentationDocumentation/ | +14 | 1 reply | |
| 7/7 | PCI/MSI: Move power state check out of pci_msi_supported()drivers/ | +3 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Rafael J. Wysocki |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] PCI: PM: Move to D0 before calling pci_legacy_resume_early()
From: Bjorn Helgaas <[email protected]>
Dexuan, the important thing here is the first patch, which is your [1], which I modified by doing pci_restore_state() as well as setting to D0:
pci_set_power_state(pci_dev, PCI_D0); pci_restore_state(pci_dev);
I'm proposing some more patches on top. None are relevant to the problem you're solving; they're just minor doc and other updates in the same area.
Rafael, if you have a chance to look at these, I'd appreciate it. I tried to make the doc match the code, but I'm no PM expert.
Dexuan Cui (1):
PCI/PM: Always return devices to D0 when thawing
Bjorn Helgaas (6):
PCI/PM: Correct pci_pm_thaw_noirq() documentation PCI/PM: Clear PCIe PME Status even for legacy power management PCI/PM: Run resume fixups before disabling wakeup events PCI/PM: Make power management op coding style consistent PCI/PM: Wrap long lines in documentation
PCI/MSI: Move power state check out of pci_msi_supported()
Documentation/power/pci.rst | 38 +++++++------- drivers/pci/msi.c | 6 +-- drivers/pci/pci-driver.c | 99 ++++++++++++++++++------------------- 3 files changed, 71 insertions(+), 72 deletions(-)
Signature · 1 line
2.23.0.700.g56cf767bdb-goog