Skip to content

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

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 16 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 -20 replies
6/8PCI ACPI: Rework PCI handling of wake-updrivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+215 -1150 replies
6/8PCI ACPI: Rework PCI handling of wake-updrivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+215 -1156 replies
6/8PCI ACPI: Rework PCI handling of wake-up (rev. 3)drivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+213 -1140 replies
6/8PCI ACPI: Rework PCI handling of wake-up (rev. 3)drivers/acpi/bus.c drivers/acpi/glue.c drivers/acpi/sleep/main.c +8 more+213 -1148 replies
7/8PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleep (rev. 2)drivers/pci/pci.c include/linux/pci.h+85 -00 replies
7/8PCI PM: Introduce pci_prepare_to_sleep and pci_back_from_sleep (rev. 2)drivers/pci/pci.c include/linux/pci.h+85 -00 replies
8/8PCI: Simplify PCI device PM code (rev. 2)drivers/pci/pci.c include/linux/pci.h include/linux/pci_regs.h+60 -672 replies
8/8PCI: Simplify PCI device PM code (rev. 2)drivers/pci/pci.c include/linux/pci.h include/linux/pci_regs.h+60 -670 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
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

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

Read the v1 thread

Cover letter [PATCH 0/8] PCI PM: Handling of PCI devices wake-up functionality (rev. 2)

Hi,

This is a new 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.

Please review.

Thanks,
Rafael