Skip to content

RFC PCI run-time Power Management

Rafael J. Wysocki linux-acpi linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI PM: Add function for checking PME status of devicesdrivers/pci/pci.c drivers/pci/pci.h+36 -02 replies
1/4PCI PM: Add function for checking PME status of devicesdrivers/pci/pci.c drivers/pci/pci.h+36 -00 replies
2/4PCI PM: PCIe PME root port service driver (rev. 3)drivers/pci/pci-acpi.c drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+595 -20 replies
2/4PCI PM: PCIe PME root port service driver (rev. 3)drivers/pci/pci-acpi.c drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+595 -20 replies
3/4PCI / ACPI PM: Platform support for PCI PME wake-up (rev. 2)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/acpi/sleep.c +8 more+874 -232 replies
4/4PCI PM: Run-time callbacks for PCI bus typedrivers/pci/pci-driver.c kernel/power/Kconfig+97 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC][PATCH 0/4] PCI run-time Power Management

Hi,

The following four patches implement some features needed for PCI run-time PM.

[1/4] adds a function for checking and clearing the PME status of a device

[2/4] adds support for PCIe native PME signaling mechanism

[3/4] adds support for ACPI-based PME signaling at run time

[4/4] adds prototype run-time PM callbacks for the PCI bus type

Patches [1/4] - [3/4] are rather complete, unless I missed something, but [4/4] still requires some work. For example, there should be some sort of synchronization between the run-time PM and system-wide sleep transitions which is missing at the moment. In addition, it would make sense to "autosuspend" PCI devices without drivers which has not been implemented yet.

Comments welcome.

Thanks,
Rafael