diff options
author | Ulf Hansson <[email protected]> | 2017-02-08 13:39:00 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2017-02-09 01:01:26 +0100 |
commit | 0883ac038be12c4dba1a68a05030730f10442bc2 (patch) | |
tree | 4c1a38301b35bc50454aaff6f8c61d1174b94fde /lib/netdev-notifier-error-inject.c | |
parent | f3c826ac26766f82769319db68f5b4337d6efc24 (diff) |
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 <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions