aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2021-03-19 15:47:25 +0100
committerRafael J. Wysocki <[email protected]>2021-03-19 16:35:47 +0100
commit0cab893f409c53634d0d818fa414641cbcdb0dab (patch)
treee34ab8024ba7dc54187156289ca8cd9d12c8636e /tools/perf/scripts/python/sched-migration.py
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0 (diff)
Revert "PM: runtime: Update device status before letting suppliers suspend"
Revert commit 44cc89f76464 ("PM: runtime: Update device status before letting suppliers suspend") that introduced a race condition into __rpm_callback() which allowed a concurrent rpm_resume() to run and resume the device prematurely after its status had been changed to RPM_SUSPENDED by __rpm_callback(). Fixes: 44cc89f76464 ("PM: runtime: Update device status before letting suppliers suspend") Link: https://lore.kernel.org/linux-pm/[email protected]/ Reported-by: Adrian Hunter <[email protected]> Cc: 4.10+ <[email protected]> # 4.10+ Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions