diff options
author | Maulik Shah <[email protected]> | 2020-04-12 20:20:00 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-04-13 18:24:22 -0700 |
commit | bb7000677a1b287206c8d4327c62442fa3050a8f (patch) | |
tree | 9fba141b6b329cd62086ca5ed10a2e5fcbaa27b7 /tools/perf/scripts/python/sctop.py | |
parent | 1790c97125dd29d58d2404192c542966b0056309 (diff) |
soc: qcom: rpmh: Update dirty flag only when data changes
Currently rpmh ctrlr dirty flag is set for all cases regardless of data
is really changed or not. Add changes to update dirty flag when data is
changed to newer values. Update dirty flag everytime when data in batch
cache is updated since rpmh_flush() may get invoked from any CPU instead
of only last CPU going to low power mode.
Also move dirty flag updates to happen from within cache_lock and remove
unnecessary INIT_LIST_HEAD() call and a default case from switch.
Fixes: 600513dfeef3 ("drivers: qcom: rpmh: cache sleep/wake state requests")
Signed-off-by: Maulik Shah <[email protected]>
Reviewed-by: Srinivas Rao L <[email protected]>
Reviewed-by: Evan Green <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions