Skip to content

PM: Make power.subsys_data be more useful

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PM: Introduce struct pm_subsys_dataarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/clock_ops.c include/linux/device.h +2 more+85 -620 replies
1/4PM: Introduce struct pm_subsys_dataarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/clock_ops.c include/linux/device.h +2 more+85 -620 replies
2/4PM: Reference counting of power.subsys_datadrivers/base/power/Makefile drivers/base/power/clock_ops.c drivers/base/power/common.c +1 more+95 -202 replies
2/4PM: Reference counting of power.subsys_datadrivers/base/power/Makefile drivers/base/power/clock_ops.c drivers/base/power/common.c +1 more+95 -200 replies
3/4PM / Domains: Use power.sybsys_data to reduce overheadarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm.h +2 more+51 -670 replies
3/4PM / Domains: Use power.sybsys_data to reduce overheadarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm.h +2 more+51 -670 replies
4/4PM: Move clock-related definitions and headers to separate filearch/arm/mach-omap1/pm_bus.c arch/arm/mach-shmobile/board-ap4evb.c arch/arm/mach-shmobile/board-mackerel.c +6 more+77 -610 replies
4/4PM: Move clock-related definitions and headers to separate filearch/arm/mach-omap1/pm_bus.c arch/arm/mach-shmobile/board-ap4evb.c arch/arm/mach-shmobile/board-mackerel.c +6 more+77 -610 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 power.subsys_data be more useful

Hi,

The following patchset reworks the power.subsys_data field of struct device so that it can be used not only for clock PM management.

[1/4] - Introduce struct pm_subsys_data to be point to by power.subsys_data. [2/4] - Add reference counting for power.subsys_data.
[3/4] - Optimize generic PM domains code by making it use power.subsys_data. [4/4] - Move PM clock management headers and definitions to a separate file.

The patchset is on top of the pm-domains branch of the linux-pm tree at:

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

It has been tested on an ARM shmobile Mackerel board.

Thanks,
Rafael