Skip to content

PCI: ACPI: PM: Rework root bus wakeup notification setup and wakeup source registration

Rafael J. Wysocki linux-acpi linux-pci linux-pm lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 0 repliesNew
  2. v1 posting 1/22 patches 8 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: PCI: PM: Rework root bus notification setupdrivers/acpi/pci_root.c drivers/pci/pci-acpi.c include/linux/pci-acpi.h+9 -110 replies
2/2ACPI: PM: Register wakeup sources under physical devicesdrivers/acpi/device_pm.c+1 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchArmin Wolf
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [RESEND][PATCH v1 0/2] PCI: ACPI: PM: Rework root bus wakeup notification setup and wakeup source registration

Hi All,

This is a resend of

https://lore.kernel.org/linux-acpi/[email protected]/

which was sent in the middle of the merge window.

I have added R-bys from Armin to both patches, but otherwise there are no changes, so the version is still 1. I'd appreciate feedback, but if there's none, I'll be queuing up these patches for 6.20.

The description below still applies.

Patch [1/2] updates the registration of PCI root bus wakeup notification setup in order to simplify code in pci_acpi_wake_bus() and to prepare for the other change. This is not expected to affect functionality.

Patch [2/2] modifies the ACPI PM notifier registration to add wakeup sources under devices that are going to be affected by wakeup handling instead of registering them under ACPI companions of those devices (rationale explained in the patch changelog). This will change the sysfs layout (wakeup source devices associated with PCI wakeup are now going to appear under PCI devices and the host bridge device), but it is not expected to affect user space adversely.

Thanks!