diff options
author | Maulik Shah <[email protected]> | 2020-04-12 20:20:01 +0530 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-04-13 18:24:40 -0700 |
commit | f5ac95f9ca2f439179a5baf48e1c0f22f83d936e (patch) | |
tree | 60838a36a88dc21685c612759cc555ce0c552a8b /tools/perf/scripts/python/intel-pt-events.py | |
parent | bb7000677a1b287206c8d4327c62442fa3050a8f (diff) |
soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data
TCSes have previously programmed data when rpmh_flush() is called.
This can cause old data to trigger along with newly flushed.
Fix this by cleaning SLEEP and WAKE TCSes before new data is flushed.
With this there is no need to invoke rpmh_rsc_invalidate() call from
rpmh_invalidate().
Simplify rpmh_invalidate() by moving invalidate_batch() inside.
Fixes: 600513dfeef3 ("drivers: qcom: rpmh: cache sleep/wake state requests")
Signed-off-by: Maulik Shah <[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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions