Skip to content

PCI: PM: Simplify and unify some helper functions

Rafael J. Wysocki linux-acpi linux-pci lkml llvm 1 version In review

Get series with b4
b4 am 7312660.EvYhyI6sBW@kreacher

Versions newest first

  1. v3 Latest3 patches 2 repliesIn review

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: PM: Rearrange pci_target_state()drivers/pci/pci.c+9 -140 replies
2/3PCI: PM: Make pci_choose_state() call pci_target_state()drivers/pci/pci-acpi.c drivers/pci/pci.c+16 -410 replies
3/3PCI: PM: Do not call platform_pci_power_manageable() unnecessarilydrivers/pci/pci.c+5 -110 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] PCI: PM: Simplify and unify some helper functions

Hi All,

This series is on top of the linux-next branch from linux-pm.git:

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next

which should be included in linux-next.

Two of the 3 patches in this series, [1-2/3], were included in the "PCI: ACPI:
Get rid of struct pci_platform_pm_ops and clean up code" series:

https://lore.kernel.org/linux-acpi/1800633.tdWV9SEqCh@kreacher/

and the remaining one, [3/3] is a new version of a problematic patch from that series. The rest of that series is present in the git branch above.

All of the 3 patches in this set need to be tested in order to verify that there are no more issues that need to be addressed in them.

Ferry, please test!

Thanks!