Skip to content

PCIe port PM: high gloss polish & hotplug support

Lukas Wunner linux-pci linux-pm 2 versions – Applied

Status from this message: I applied these to pci/pm for v4.10, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 3 repliesApplied
  2. v19 patches 4 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/9PCI: Don't acquire ref on parent in pci_bridge_d3_update()drivers/pci/pci.c+0 -30 replies
2/9PCI: Autosense device removal in pci_bridge_d3_update()drivers/pci/bus.c drivers/pci/pci.c drivers/pci/pci.h +1 more+8 -340 replies
3/9PCI: Speed up algorithm in pci_bridge_d3_update()drivers/pci/pci.c+20 -80 replies
4/9PCI: Activate runtime PM on a PCIe port only if it can suspenddrivers/pci/pci.c drivers/pci/pci.h drivers/pci/pcie/portdrv_pci.c+5 -30 replies
5/9PCI: Consolidate conditions to allow runtime PM on PCIe portsdrivers/pci/pci.c drivers/pci/pcie/portdrv_pci.c+13 -100 replies
6/9PCI: Unfold conditions to block runtime PM on PCIe portsdrivers/pci/pci.c+11 -100 replies
7/9ACPI / hotplug / PCI: Use cached copy of PCI_EXP_SLTCAP_HPC bitdrivers/pci/hotplug/acpiphp_glue.c+1 -40 replies
8/9ACPI / hotplug / PCI: Make device_is_managed_by_native_pciehp() publicdrivers/pci/hotplug/acpiphp_glue.c drivers/pci/pci-acpi.c include/linux/pci_hotplug.h+27 -270 replies
9/9PCI: pciehp: Add runtime PM support for PCIe hotplug portsdrivers/pci/hotplug/pciehp_ctrl.c drivers/pci/pci.c+11 -50 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchMika WesterbergRafael J. Wysocki
1/9T-b R-b
2/9T-b R-b
3/9T-b R-b
4/9T-b R-b
5/9T-b R-b
6/9
7/9T-b R-b
8/9T-b R-b
9/9R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/9] PCIe port PM: high gloss polish & hotplug support

Respin of this series to polish the runtime PM support for PCIe ports that was added with v4.8, and extend it to native hotplug ports:

- All patches have been reviewed by Rafael, patches 1 to 8 have been tested by Mika. (Thanks a lot!)

- Patch 6 ("PCI: Unfold conditions to block runtime PM on PCIe ports") contains a minor change relative to v1 wherein the function returns as soon as a single condition evaluates to true. (Instead of needlessly evaluating all the remaining conditions.)

- Patch 9 was rebased to accommodate to this change but is otherwise the same as before.

As usual I've pushed the series to GitHub to ease reviewing/fetching:
https://github.com/l1k/linux/commits/pcie_port_pm_v2

Link to v1:
http://www.spinics.net/lists/linux-pci/msg55347.html

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                  | 100 ++++++++++++++++++-------------------
 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, 88 insertions(+), 96 deletions(-)
Signature · 1 line
2.9.3