PM: Make the PM core execute driver callbacks if subsystem ones are not present
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | PM / Sleep: Make pm_op() and pm_noirq_op() return callback pointersdrivers/ | +95 | 0 replies | |
| 2/5 | PM: Run the driver callback directly if the subsystem one is not thereDocumentation/ Documentation/ drivers/ +1 more | +170 | 0 replies | |
| 3/5 | PM / Sleep: Remove forward-only callbacks from platform bus typedrivers/ include/ | +1 | 0 replies | |
| 4/5 | PM / Sleep: Remove forward-only callbacks from AMBA bus typedrivers/ | +1 | 0 replies | |
| 5/5 | PM: Drop generic_subsys_pm_opsarch/ drivers/ include/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Update][PATCH 0/5] PM: Make the PM core execute driver callbacks if subsystem ones are not present
Hi,
I have one more patch for this series and a couple of fixes.
Quoted 8 lines · Rafael J. Wysocki
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.
[1/5] - Make pm_op and pm_noirq_op return callbacks
[2/5] - Make PM core call driver callbacks directly if subsystem ones are not present [3/5] - Remove unnecessary bus type PM callback from platform bus type [4/5] - Remove unnecessary bus type PM callback from AMBA bus type [5/5] - Drop generic_subsys_pm_ops
If there are no objections, I'd like to take these patches for 3.3.
Thanks,
Rafael