Skip to content

PCI/PM: Minor fix and cleanups

Bjorn Helgaas linux-pci linux-pm lkml oe-kbuild-all 1 version Applied

Status from this message: I applied these with Rafael's reviewed-by (thanks!) to my pci/pm

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6PCI/PM: Apply D2 delay as milliseconds, not microsecondsdrivers/pci/pci.c+1 -11 reply
2/6PCI/PM: Expand PM reset messages to mention D3hot (not just D3)drivers/pci/pci.c+1 -11 reply
3/6PCI/PM: Simplify pci_set_power_state()drivers/pci/pci.c+2 -21 reply
4/6xen-platform: Convert to generic power managementdrivers/xen/platform-pci.c+7 -33 replies
5/6PCI/PM: Remove unused pci_driver.resume_early() hookDocumentation/power/pci.rst drivers/pci/pci-driver.c include/linux/pci.h+7 -201 reply
6/6PCI/PM: Remove unused pci_driver.suspend_late() hookDocumentation/power/pci.rst drivers/pci/pci-driver.c include/linux/pci.h+6 -281 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchRafael J. Wysocki
1/6R-b
2/6R-b
3/6R-b
4/6A-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] PCI/PM: Minor fix and cleanups

From: Bjorn Helgaas <[email protected]>

First, fix our D2 delay (which I think was just a bug -- we delayed in microseconds instead of milliseconds, but I'm not sure we really even use D2).

The rest are just cleanups that should not change any behavior. These are based on my current pci/pm branch (0d1685046e61) and I pushed them to pci/pm-2 for now.

Bjorn Helgaas (6):
PCI/PM: Apply D2 delay as milliseconds, not microseconds PCI/PM: Expand PM reset messages to mention D3hot (not just D3) PCI/PM: Simplify pci_set_power_state()
xen-platform: Convert to generic power management PCI/PM: Remove unused pci_driver.resume_early() hook PCI/PM: Remove unused pci_driver.suspend_late() hook

 Documentation/power/pci.rst | 10 ++++-----
 drivers/pci/pci-driver.c    | 43 ++++++-------------------------------
 drivers/pci/pci.c           |  8 +++----
 drivers/xen/platform-pci.c  | 10 ++++++---
 include/linux/pci.h         |  4 ----
 5 files changed, 22 insertions(+), 53 deletions(-)
Signature · 1 line
2.24.0.rc1.363.gb1bccd3e3d-goog