Skip to content

RFC PCI run-time PM support (updated)

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 Latest12 patches 34 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12PM: Add flag for devices capable of generating run-time wake-up eventsDocumentation/power/runtime_pm.txt include/linux/pm.h include/linux/pm_runtime.h+22 -50 replies
1/12PM: Add flag for devices capable of generating run-time wake-up eventsDocumentation/power/runtime_pm.txt include/linux/pm.h include/linux/pm_runtime.h+22 -50 replies
2/12PCI PM: Add function for checking PME status of devicesdrivers/pci/pci.c drivers/pci/pci.h+36 -00 replies
2/12PCI PM: Add function for checking PME status of devicesdrivers/pci/pci.c drivers/pci/pci.h+36 -00 replies
3/12PCI / PM: Propagate wake-up enable for PCIe devices toodrivers/pci/pci-acpi.c+2 -84 replies
4/12PCI PM: PCIe PME root port service driver (rev. 5)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+598 -00 replies
4/12PCI PM: PCIe PME root port service driver (rev. 5)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+598 -00 replies
4/12PCI PM: PCIe PME root port service driver (rev. 5) (updated)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+596 -00 replies
4/12PCI PM: PCIe PME root port service driver (rev. 5) (updated)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+596 -00 replies
5/12PCI PM: Make it possible to force using INTx for PCIe PME signalingDocumentation/kernel-parameters.txt drivers/pci/pcie/pme/pcie_pme.c drivers/pci/pcie/portdrv.h +2 more+63 -10 replies
5/12PCI PM: Make it possible to force using INTx for PCIe PME signalingDocumentation/kernel-parameters.txt drivers/pci/pcie/pme/pcie_pme.c drivers/pci/pcie/portdrv.h +2 more+63 -10 replies
5/12PCI PM: Make it possible to force using INTx for PCIe PME signaling (updated)Documentation/kernel-parameters.txt drivers/pci/pcie/pme/pcie_pme.c drivers/pci/pcie/portdrv.h +2 more+64 -10 replies
5/12PCI PM: Make it possible to force using INTx for PCIe PME signaling (updated)Documentation/kernel-parameters.txt drivers/pci/pcie/pme/pcie_pme.c drivers/pci/pcie/portdrv.h +2 more+64 -10 replies
6/12ACPI: Add infrastructure for refcounting GPE consumersdrivers/acpi/acpica/aclocal.h drivers/acpi/acpica/evxfevnt.c include/acpi/acpixf.h+171 -00 replies
6/12ACPI: Add infrastructure for refcounting GPE consumersdrivers/acpi/acpica/aclocal.h drivers/acpi/acpica/evxfevnt.c include/acpi/acpixf.h+171 -00 replies
7/12ACPI: Add support for new refcounted GPE API to driversdrivers/acpi/button.c drivers/acpi/ec.c drivers/acpi/wakeup.c+21 -10 replies
7/12ACPI: Add support for new refcounted GPE API to driversdrivers/acpi/button.c drivers/acpi/ec.c drivers/acpi/wakeup.c+21 -10 replies
8/12ACPI: Remove old GPE API and transition code entirely to new onedrivers/acpi/acpica/acevents.h drivers/acpi/acpica/evgpe.c drivers/acpi/acpica/evgpeblk.c +6 more+59 -3190 replies
8/12ACPI: Remove old GPE API and transition code entirely to new onedrivers/acpi/acpica/acevents.h drivers/acpi/acpica/evgpe.c drivers/acpi/acpica/evgpeblk.c +6 more+59 -3190 replies
9/12ACPI / PM: Add more run-time wake-up fieldsdrivers/acpi/button.c drivers/acpi/scan.c drivers/acpi/wakeup.c +1 more+32 -110 replies
9/12ACPI / PM: Add more run-time wake-up fieldsdrivers/acpi/button.c drivers/acpi/scan.c drivers/acpi/wakeup.c +1 more+32 -110 replies
10/12PCI / ACPI PM: Platform support for PCI PME wake-up (rev. 4)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/acpi/sleep.c +8 more+558 -240 replies
10/12PCI / ACPI PM: Platform support for PCI PME wake-up (rev. 4)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/acpi/sleep.c +8 more+558 -244 replies
10/12PCI / ACPI PM: Platform support for PCI PME wake-up (rev. 5)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/acpi/sleep.c +8 more+555 -240 replies
10/12PCI / ACPI PM: Platform support for PCI PME wake-up (rev. 5)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/acpi/sleep.c +8 more+555 -240 replies
11/12PCI PM: Run-time callbacks for PCI bus type (rev. 2)drivers/pci/pci-driver.c drivers/pci/pci.c drivers/pci/pci.h +2 more+151 -120 replies
11/12PCI PM: Run-time callbacks for PCI bus type (rev. 2)drivers/pci/pci-driver.c drivers/pci/pci.c drivers/pci/pci.h +2 more+151 -124 replies
12/12PM / r8169: Add simplified run-time PM supportdrivers/net/r8169.c+106 -2720 replies
12/12PM / r8169: Add simplified run-time PM supportdrivers/net/r8169.c+106 -270 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/12] PCI run-time PM support (updated)

Hi,

The following (updated) series of patches provides preliminary run-time power management support for PCI devices through ACPI and/or the native PCIe PME.

Some patches have been modified since the previous iteration and two new patches have been added. Also, I've tested this patchset with the native PCIe PME mechanism using the r8169 driver on the MSI Wind U-100 (see the last patch for details).

[1/12] - Add flag for marking devices capable of generating wake-up events at run time

[2/12] - Add function for checking PME status of devices

[3/12] - Modify wake-up enable propagation so that it's done for PCIe devices too

[4/12] - PCIe PME root port service driver

[5/12][New] - "Don't use MSIs for PME signaling" switch for PCIe

[6/12] - ACPI GPE refcounting, from Matthew

[7/12] - ACPI drivers support for GPE refcounting, from Matthew

[8/12] - ACPI removal of the old GPE API, from Matthew

[9/12] - ACPI add fields for handling run-wake devices

[10/12] - PCI ACPI platform support for run-time power management

[11/12] - Runtime PM callbacks for the PCI bus type

[12/12] - Runtime PM support for r8169 (experimental)

If there are no objections, I think the patches [1-11/12] are ready for merging at this point.

Thanks,
Rafael