Skip to content

PM / Domains / shmobile fixes

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 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM / shmobile: Use genpd_queue_power_off_work()arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+4 -20 replies
1/3ARM / shmobile: Use genpd_queue_power_off_work()arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+4 -20 replies
2/3PM / Domains: Take .power_off() error code into accountdrivers/base/power/domain.c+10 -20 replies
2/3PM / Domains: Take .power_off() error code into accountdrivers/base/power/domain.c+10 -20 replies
3/3ARM / shmobile: Return -EBUSY from A4LC power off if A3RV is activearch/arm/mach-shmobile/pm-sh7372.c+1 -20 replies
3/3ARM / shmobile: Return -EBUSY from A4LC power off if A3RV is activearch/arm/mach-shmobile/pm-sh7372.c+1 -20 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMagnus Damm
SeriesA-b A-b
1/3
1/3
2/3
2/3
3/3
3/3

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 0/3] PM / Domains / shmobile fixes

Hi,

The following three patches fix a couple of issues in the code currently in my pm-domains branch at:

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

[1/3] - Use genpd_queue_power_off_work() for queuing up the powering off
of A4LC (this avoids attempting to queue up a work item while it is pending).

[2/3] - Make the generic PM domains code react to -EBUSY returned from a
PM domain's .power_down() callback (needed for [3/3]).

[3/3] - Return -EBUSY from the A4LC's .power_down() callback to indicate that
the domain hasn't been powered down on purpose and remove the confusing (and now redundant) pm_genpd_poweron(A4LC) from pd_power_down_a3rv().

Thanks,
Rafael