Skip to content

PCI run-time PM support (rev. 2)

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

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12PCI PM: Add function for checking PME status of devicesdrivers/pci/pci.c drivers/pci/pci.h+36 -02 replies
2/12PCI / PM: Propagate wake-up enable for PCIe devices toodrivers/pci/pci-acpi.c+2 -80 replies
2/12PCI / PM: Propagate wake-up enable for PCIe devices toodrivers/pci/pci-acpi.c+2 -84 replies
3/12PCI PM: PCIe PME root port service driver (rev. 5)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+596 -00 replies
3/12PCI PM: PCIe PME root port service driver (rev. 5)Documentation/kernel-parameters.txt drivers/pci/pcie/Kconfig drivers/pci/pcie/Makefile +5 more+596 -02 replies
4/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+69 -310 replies
5/12ACPI: Add infrastructure for refcounting GPE consumersdrivers/acpi/acpica/aclocal.h drivers/acpi/acpica/evxfevnt.c include/acpi/acpixf.h+171 -00 replies
5/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 support for new refcounted GPE API to driversdrivers/acpi/button.c drivers/acpi/ec.c drivers/acpi/wakeup.c+21 -10 replies
7/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
7/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 / PM: Add more run-time wake-up fieldsdrivers/acpi/button.c drivers/acpi/scan.c drivers/acpi/wakeup.c +1 more+32 -114 replies
8/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: Introduce acpi_pm_wakeup_power()drivers/acpi/sleep.c include/acpi/acpi_bus.h kernel/power/Kconfig+29 -90 replies
9/12ACPI / PM: Introduce acpi_pm_wakeup_power()drivers/acpi/sleep.c include/acpi/acpi_bus.h kernel/power/Kconfig+29 -96 replies
10/12PCI / ACPI / PM: Platform support for PCI PME wake-up (rev. 6)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/pci/hotplug/acpiphp_glue.c +6 more+457 -150 replies
10/12PCI / ACPI / PM: Platform support for PCI PME wake-up (rev. 6)drivers/acpi/pci_bind.c drivers/acpi/pci_root.c drivers/pci/hotplug/acpiphp_glue.c +6 more+457 -154 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 -122 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
12/12PM / r8169: Add simplified run-time PM supportdrivers/net/r8169.c+108 -270 replies
12/12PM / r8169: Add simplified run-time PM supportdrivers/net/r8169.c+108 -270 replies
12/12PM / r8169: Add simplified run-time PM support (rev. 2)drivers/net/r8169.c+124 -270 replies
12/12PM / r8169: Add simplified run-time PM support (rev. 2)drivers/net/r8169.c+124 -270 replies

Reviews trailers per patch

2 of 23 patches have a Reviewed-by or Acked-by.

PatchLen Brown
1/12
2/12
2/12
3/12
3/12
4/12
5/12
5/12
6/12
7/12
7/12
8/12A-b A-b
8/12A-b A-b
9/12
9/12
10/12
10/12
11/12
11/12
12/12
12/12
12/12
12/12

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

Read the v1 thread

Cover letter [PATCH 0/12] PCI run-time PM support (rev. 2)

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, one patch has been merged and there's one more.

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) and with the ACPI mechanism using the e1000e driver on the Toshiba Portege R500 (the patch still requires some work to be shown in public ;-)).

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

[2/12] - Modify wake-up enable propagation so that it's done for PCIe devices
too (this one is in the Jesse's tree already, but it's reproduced here for completness)

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

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

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

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

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

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

[9/12][New] - ACPI add helper function for enabling/disabling wake-up power

[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 the upstream.

Thanks,
Rafael