Skip to content

PM: core: Updates related to device link lists

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PM: core: Annotate loops walking device links as _srcudrivers/base/power/main.c drivers/base/power/runtime.c+11 -111 reply
2/2PM: core: Add two macros for walking device linksdrivers/base/base.h drivers/base/power/main.c drivers/base/power/runtime.c+16 -131 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchUlf HanssonGreg Kroah-Hartman
SeriesA-b
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 [PATCH v1 0/2] PM: core: Updates related to device link lists

Hi All,

The changes in this series clean up the usage of _rcu list walks for walking lists of a device's links to suppliers and consumers.

The first patch changes the _rcu annotation of those list walks to the _srcu one which is more appropriate because SRCU is used for device link lists protection.

The second patch (which is not expected to make any functional difference) adds two macros for walking lists of a device's links to suppliers and consumers and updates power management code walking those lists to use the new macros for more clarity and protection against possible coding mistakes.

Thanks!