mbox series

[v1,0/2] PCI/PM: Add comments, allow PM of conventional & hotplug bridges

Message ID 151908155159.37696.9710083237704994886.stgit@bhelgaas-glaptop.roam.corp.google.com
Headers show
Series PCI/PM: Add comments, allow PM of conventional & hotplug bridges | expand

Message

Bjorn Helgaas Feb. 19, 2018, 11:13 p.m. UTC
Add comments to help explain why the code in pci_bridge_d3_possible()
doesn't match the spec (we disallow D3 for conventional PCI bridges and for
hotplug bridges, and the spec seems to suggest that D3 could work in both
of those situations).

Make "pcie_port_pm=force" and "pcie_port_pm=off" apply to all PCI bridges
including conventional PCI bridges and hotplug bridges.  This is a little
speculative.  Those parameters are risky to begin with (otherwise
"pcie_port_pm=force" would be the default); this would make them more
general-purpose but obviously also even more risky.

---

Bjorn Helgaas (2):
      PCI: Add PCIe port runtime suspend details
      PCI: Allow user to request power management of conventional and hotplug bridges


 Documentation/admin-guide/kernel-parameters.txt |    8 ++---
 drivers/pci/pci.c                               |   40 +++++++++++++++++------
 2 files changed, 34 insertions(+), 14 deletions(-)