diff options
| author | Saravana Kannan <[email protected]> | 2020-05-20 04:36:26 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-05-21 08:54:32 +0000 |
| commit | 44e960490ddf868fc9135151c4a658936e771dc2 (patch) | |
| tree | 5d29a474bd1e410c685e27b81bf11cf38b244c0b /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | driver core: Fix SYNC_STATE_ONLY device link implementation (diff) | |
| download | kernel-44e960490ddf868fc9135151c4a658936e771dc2.tar.gz kernel-44e960490ddf868fc9135151c4a658936e771dc2.zip | |
driver core: Fix handling of SYNC_STATE_ONLY + STATELESS device links
Commit 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link
implementation") didn't completely fix STATELESS + SYNC_STATE_ONLY
handling.
What looks like an optimization in that commit is actually a bug that
causes an if condition to always take the else path. This prevents
reordering of devices in the dpm_list when a DL_FLAG_STATELESS device
link is create on top of an existing DL_FLAG_SYNC_STATE_ONLY device
link.
Fixes: 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link implementation")
Signed-off-by: Saravana Kannan <[email protected]>
Cc: stable <[email protected]>
Reviewed-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
