diff options
author | Maulik Shah <mkshah@codeaurora.org> | 2020-04-12 17:50:01 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-04-14 04:24:40 +0300 |
commit | f5ac95f9ca2f439179a5baf48e1c0f22f83d936e (patch) | |
tree | 60838a36a88dc21685c612759cc555ce0c552a8b /crypto/ecrdsa_pub_key.asn1 | |
parent | bb7000677a1b287206c8d4327c62442fa3050a8f (diff) | |
download | linux-f5ac95f9ca2f439179a5baf48e1c0f22f83d936e.tar.xz |
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 <mkshah@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1586703004-13674-4-git-send-email-mkshah@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'crypto/ecrdsa_pub_key.asn1')
0 files changed, 0 insertions, 0 deletions