summaryrefslogtreecommitdiffstats
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-02-08 13:39:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-02-09 01:01:26 +0100
commit0883ac038be12c4dba1a68a05030730f10442bc2 (patch)
tree4c1a38301b35bc50454aaff6f8c61d1174b94fde /include/linux/pm_domain.h
parentf3c826ac26766f82769319db68f5b4337d6efc24 (diff)
downloadop-kernel-dev-0883ac038be12c4dba1a68a05030730f10442bc2.zip
op-kernel-dev-0883ac038be12c4dba1a68a05030730f10442bc2.tar.gz
PM / Domains: Fix asynchronous execution of *noirq() callbacks
As the PM core may invoke the *noirq() callbacks asynchronously, the current lock-less approach in genpd doesn't work. The consequence is that we may find concurrent operations racing to power on/off the PM domain. As of now, no immediate errors has been reported, but it's probably only a matter time. Therefor let's fix the problem now before this becomes a real issue, by deploying the locking scheme to the relevant functions. Reported-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud