linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] PCIe port PM: high gloss polish & hotplug support
@ 2016-10-19 14:07 Lukas Wunner
  2016-10-19 14:07 ` [PATCH 1/9] PCI: Don't acquire ref on parent in pci_bridge_d3_update() Lukas Wunner
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Lukas Wunner @ 2016-10-19 14:07 UTC (permalink / raw)
  To: linux-pci, linux-pm, Bjorn Helgaas
  Cc: Mika Westerberg, Rafael J. Wysocki, Andreas Noever, Keith Busch

Linux v4.8 added support to runtime suspend PCIe ports to D3hot.

Patches 1 to 6 of this series apply high gloss polish to that code to
speed it up, reduce its size and improve its readability.  None of these
patches should result in a functional change.  (And they didn't in my
tests.)

Patches 7 and 8 are cleanups / refactorings for acpiphp.  They're prep
work for patch 9 and likewise shouldn't cause a functional change.

Patch 9 extends runtime PM support to hotplug ports.


@Keith Busch: I seem to recall you're working with large arrays of NVMe
drives connected to native PCIe hotplug ports.  Perhaps you could give
this series a spin, it might save quite a bit of power.

To ease reviewing I've pushed this series to GitHub:
https://github.com/l1k/linux/commits/pcie_port_pm_v1

Thanks,

Lukas


Lukas Wunner (9):
  PCI: Don't acquire ref on parent in pci_bridge_d3_update()
  PCI: Autosense device removal in pci_bridge_d3_update()
  PCI: Speed up algorithm in pci_bridge_d3_update()
  PCI: Activate runtime PM on a PCIe port only if it can suspend
  PCI: Consolidate conditions to allow runtime PM on PCIe ports
  PCI: Unfold conditions to block runtime PM on PCIe ports
  ACPI / hotplug / PCI: Use cached copy of PCI_EXP_SLTCAP_HPC bit
  ACPI / hotplug / PCI: Make device_is_managed_by_native_pciehp() public
  PCI: pciehp: Add runtime PM support for PCIe hotplug ports

 drivers/pci/bus.c                  |   2 +-
 drivers/pci/hotplug/acpiphp_glue.c |  31 +-----------
 drivers/pci/hotplug/pciehp_ctrl.c  |   6 +++
 drivers/pci/pci-acpi.c             |  24 +++++++++
 drivers/pci/pci.c                  | 101 ++++++++++++++++++-------------------
 drivers/pci/pci.h                  |   4 +-
 drivers/pci/pcie/portdrv_pci.c     |  13 ++---
 drivers/pci/remove.c               |   2 +-
 include/linux/pci_hotplug.h        |   2 +
 9 files changed, 89 insertions(+), 96 deletions(-)

-- 
2.9.3


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-10-25  5:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19 14:07 [PATCH 0/9] PCIe port PM: high gloss polish & hotplug support Lukas Wunner
2016-10-19 14:07 ` [PATCH 1/9] PCI: Don't acquire ref on parent in pci_bridge_d3_update() Lukas Wunner
2016-10-19 14:07 ` [PATCH 9/9] PCI: pciehp: Add runtime PM support for PCIe hotplug ports Lukas Wunner
2016-10-19 14:07 ` [PATCH 4/9] PCI: Activate runtime PM on a PCIe port only if it can suspend Lukas Wunner
2016-10-19 14:07 ` [PATCH 8/9] ACPI / hotplug / PCI: Make device_is_managed_by_native_pciehp() public Lukas Wunner
2016-10-19 14:07 ` [PATCH 5/9] PCI: Consolidate conditions to allow runtime PM on PCIe ports Lukas Wunner
2016-10-19 14:07 ` [PATCH 6/9] PCI: Unfold conditions to block " Lukas Wunner
2016-10-20 14:18   ` Mika Westerberg
2016-10-25  5:28     ` Lukas Wunner
2016-10-19 14:07 ` [PATCH 7/9] ACPI / hotplug / PCI: Use cached copy of PCI_EXP_SLTCAP_HPC bit Lukas Wunner
2016-10-19 14:07 ` [PATCH 3/9] PCI: Speed up algorithm in pci_bridge_d3_update() Lukas Wunner
2016-10-19 14:07 ` [PATCH 2/9] PCI: Autosense device removal " Lukas Wunner
2016-10-20 14:27 ` [PATCH 0/9] PCIe port PM: high gloss polish & hotplug support Mika Westerberg
2016-10-20 23:21 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).