Skip to content

RFC PCI PM: Rework PCI device PM

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ACPI: Introduce acpi_bus_power_manageable functiondrivers/acpi/bus.c include/acpi/acpi_bus.h+12 -00 replies
1/9ACPI: Introduce acpi_bus_power_manageable functiondrivers/acpi/bus.c include/acpi/acpi_bus.h+12 -02 replies
2/9PCI: Introduce platform_pci_power_manageable functiondrivers/pci/pci-acpi.c drivers/pci/pci.c drivers/pci/pci.h+65 -200 replies
2/9PCI: Introduce platform_pci_power_manageable functiondrivers/pci/pci-acpi.c drivers/pci/pci.c drivers/pci/pci.h+65 -202 replies
3/9PCI: Rework pci_set_power_state functiondrivers/pci/pci-acpi.c drivers/pci/pci.c+58 -290 replies
3/9PCI: Rework pci_set_power_state functiondrivers/pci/pci-acpi.c drivers/pci/pci.c+58 -292 replies
4/9ACPI: Introduce acpi_device_sleep_wake functiondrivers/acpi/power.c drivers/acpi/scan.c drivers/acpi/sleep/wakeup.c +1 more+92 -740 replies
4/9ACPI: Introduce acpi_device_sleep_wake functiondrivers/acpi/power.c drivers/acpi/scan.c drivers/acpi/sleep/wakeup.c +1 more+92 -742 replies
5/9ACPI: Introduce new device wakeup flag 'prepared'drivers/acpi/power.c include/acpi/acpi_bus.h+23 -20 replies
5/9ACPI: Introduce new device wakeup flag 'prepared'drivers/acpi/power.c include/acpi/acpi_bus.h+23 -20 replies
6/9PCI ACPI: Introduce acpi_pm_device_sleep_wake functiondrivers/acpi/sleep/main.c drivers/base/power/sysfs.c drivers/pci/pci-acpi.c +4 more+84 -390 replies
6/9PCI ACPI: Introduce acpi_pm_device_sleep_wake functiondrivers/acpi/sleep/main.c drivers/base/power/sysfs.c drivers/pci/pci-acpi.c +4 more+84 -3918 replies
7/9PCI ACPI: Introduce can_wakeup platform callbackdrivers/acpi/bus.c drivers/pci/pci-acpi.c drivers/pci/pci.c +2 more+33 -30 replies
7/9PCI ACPI: Introduce can_wakeup platform callbackdrivers/acpi/bus.c drivers/pci/pci-acpi.c drivers/pci/pci.c +2 more+33 -30 replies
8/9PCI PM: Rework device PM initializationdrivers/pci/pci.c drivers/pci/pci.h drivers/pci/probe.c+93 -980 replies
8/9PCI PM: Rework device PM initializationdrivers/pci/pci.c drivers/pci/pci.h drivers/pci/probe.c+93 -980 replies
8/9PCI PM: Rework device PM initialization (rev. 2)drivers/pci/pci.c drivers/pci/pci.h drivers/pci/probe.c+95 -982 replies
8/9PCI PM: Rework device PM initialization (rev. 2)drivers/pci/pci.c drivers/pci/pci.h drivers/pci/probe.c+95 -980 replies
9/9PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleepdrivers/pci/pci.c include/linux/pci.h+85 -00 replies
9/9PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleepdrivers/pci/pci.c include/linux/pci.h+85 -00 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/9] PCI PM: Rework PCI device PM

Hi,

The following series of patches is intended to rework PCI device power management to join it with the related ACPI bits more tightly and to clean up disabling/enabling the system wake-up capability of PCI devices. In particular, after these patches the PCI devices that are capable of waking up the system should have their /sys/devices/.../power/wakup files set up as appropriate.

The last patch introduces two helper function intended to be used by PCI drivers implementing the new suspend/hibernation callbacks that do not take the second pm_message_t argument.

Comments welcome.

Thanks,
Rafael