Skip to content

PCI PM: Handling of PCI devices wake-up functionality (rev. 4)

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ACPI: Introduce acpi_bus_power_manageable functiondrivers/acpi/bus.c include/acpi/acpi_bus.h+12 -00 replies
1/8ACPI: Introduce acpi_bus_power_manageable functiondrivers/acpi/bus.c include/acpi/acpi_bus.h+12 -00 replies
2/8PCI: Introduce platform_pci_power_manageable functiondrivers/pci/pci-acpi.c drivers/pci/pci.c drivers/pci/pci.h+65 -200 replies
2/8PCI: Introduce platform_pci_power_manageable functiondrivers/pci/pci-acpi.c drivers/pci/pci.c drivers/pci/pci.h+65 -200 replies
3/8PCI: Rework pci_set_power_state function (rev. 4)drivers/pci/pci-acpi.c drivers/pci/pci.c+115 -530 replies
3/8PCI: Rework pci_set_power_state function (rev. 4)drivers/pci/pci-acpi.c drivers/pci/pci.c+115 -530 replies
4/8ACPI: Introduce acpi_device_sleep_wake functiondrivers/acpi/power.c drivers/acpi/scan.c drivers/acpi/sleep/wakeup.c +1 more+92 -740 replies
4/8ACPI: Introduce acpi_device_sleep_wake functiondrivers/acpi/power.c drivers/acpi/scan.c drivers/acpi/sleep/wakeup.c +1 more+92 -740 replies
5/8ACPI: Introduce new device wakeup flag 'prepared'drivers/acpi/power.c include/acpi/acpi_bus.h+23 -20 replies
5/8ACPI: Introduce new device wakeup flag 'prepared'drivers/acpi/power.c include/acpi/acpi_bus.h+23 -22 replies
6/8PCI ACPI: Rework PCI handling of wake-up (rev. 5)drivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+208 -1160 replies
6/8PCI ACPI: Rework PCI handling of wake-up (rev. 5)drivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+208 -1162 replies
7/8PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleepdrivers/pci/pci.c include/linux/pci.h+85 -02 replies
7/8PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleepdrivers/pci/pci.c include/linux/pci.h+85 -00 replies
8/8PCI: Simplify PCI device PM code (rev. 4)drivers/pci/pci.c include/linux/pci.h include/linux/pci_regs.h+60 -676 replies
8/8PCI: Simplify PCI device PM code (rev. 4)drivers/pci/pci.c include/linux/pci.h include/linux/pci_regs.h+60 -670 replies

Reviews trailers per patch

6 of 16 patches have a Reviewed-by or Acked-by.

PatchPavel Machek
1/8A-b A-b
1/8A-b A-b
2/8
2/8
3/8A-b A-b
3/8A-b A-b
4/8A-b A-b
4/8A-b A-b
5/8
5/8
6/8
6/8
7/8
7/8
8/8
8/8

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/8] PCI PM: Handling of PCI devices wake-up functionality (rev. 4)

Hi Jesse,

This is a new (4th) iteration of the series of patches intended to rework the power management of PCI devices so that the handling of their wake-up functionality is consistent with the other PM operations and so that the user space can manage the wake-up functionality of PCI devices using the /sys/devices/.../power/wakeup interface regardless of whether the wake-up function is based on the native PCI mechanism (PME#), or it is handled by the platform (eg. ACPI).

Apart from the ACPI and PCI changes necessary for this purpose, the series includes some clean-ups that are not strictly required, but make the code more straightforward and (IMHO) easier to follow.

The patchset is on top of the linux-next branch of the PCI tree and is regarded as 2.6.27 material.

Thanks,
Rafael