mbox series

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

Message ID 20191101204558.210235-1-helgaas@kernel.org
Headers show
Series PCI/PM: Minor fix and cleanups | expand

Message

Bjorn Helgaas Nov. 1, 2019, 8:45 p.m. UTC
From: Bjorn Helgaas <bhelgaas@google.com>

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(-)

Comments

Bjorn Helgaas Nov. 5, 2019, 9:52 p.m. UTC | #1
On Fri, Nov 01, 2019 at 03:45:52PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> 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.

I applied these with Rafael's reviewed-by (thanks!) to my pci/pm
branch for v5.5.

> 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(-)
> 
> -- 
> 2.24.0.rc1.363.gb1bccd3e3d-goog
>