Skip to content

PM: Make the PM core execute driver callbacks if subsystem ones are not present

Rafael J. Wysocki lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointersdrivers/base/power/main.c+93 -1023 replies
2/4PM: Run the driver callback directly if the subsystem one is not thereDocumentation/power/devices.txt Documentation/power/runtime_pm.txt drivers/base/power/main.c +1 more+170 -1152 replies
3/4PM / Sleep: Remove forward-only callbacks from platform bus typedrivers/base/platform.c include/linux/platform_device.h+1 -1440 replies
4/4PM / Sleep: Remove forward-only callbacks from AMBA bus typedrivers/amba/bus.c+1 -1350 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/4] PM: Make the PM core execute driver callbacks if subsystem ones are not present

Hi,

The following patchset changes the PM core so that driver callbacks are executed automatically when subsystem ones are not present and uses the new PM core's behavior to simplify the platform and AMBA bus types (there probably are many more bus types that may be simplified this way, but those two were the easiest targets for me).

The reasons why to do this are outlined in the changelog of the second patch.

Comments welcome!

Thanks,
Rafael