linux_dsm_epyc7002/drivers/soc/qcom
Maulik Shah f5ac95f9ca 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: 600513dfee ("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>
2020-04-13 18:24:40 -07:00
..
apr.c soc: qcom: apr: Add avs/audio tracking functionality 2020-03-14 22:38:50 -07:00
cmd-db.c soc: qcom: cmd-db: Add debugfs dumping file 2020-04-13 18:10:11 -07:00
glink_ssr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
Kconfig soc: qcom: Fix QCOM_APR dependencies 2020-03-16 15:07:19 -07:00
llcc-qcom.c soc: qcom: llcc: Add configuration data for SC7180 2019-10-20 19:15:20 -07:00
Makefile soc: qcom: Introduce Protection Domain Restart helpers 2020-03-14 22:38:42 -07:00
mdt_loader.c remoteproc updates for v5.3 2019-07-17 11:44:41 -07:00
ocmem.c soc: qcom: add OCMEM driver 2019-10-07 08:17:33 -07:00
pdr_interface.c soc: qcom: pdr: Avoid uninitialized use of found in pdr_indication_cb 2020-03-16 14:56:57 -07:00
pdr_internal.h soc: qcom: Introduce Protection Domain Restart helpers 2020-03-14 22:38:42 -07:00
qcom_aoss.c soc: qcom: aoss: Read back before triggering the IRQ 2020-02-13 21:18:16 -08:00
qcom_gsbi.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 409 2019-06-05 17:37:14 +02:00
qcom-geni-se.c soc: qcom: geni: Provide parameter error checking 2019-09-06 11:08:08 +02:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: qmi: Return EPROBE_DEFER if no address family 2019-12-10 22:44:34 -08:00
rmtfs_mem.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
rpmh-internal.h drivers: qcom: rpmh: remove rpmh_flush export 2020-02-11 22:15:02 -08:00
rpmh-rsc.c drivers: qcom: rpmh-rsc: Use rcuidle tracepoints for rpmh 2020-03-09 11:52:21 -07:00
rpmh.c soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data 2020-04-13 18:24:40 -07:00
rpmhpd.c soc: qcom: rpmhpd: Set 'active_only' for active only power domains 2020-01-07 15:19:30 -08:00
rpmpd.c soc: qcom: rpmpd: Add rpm power domains for msm8976 2019-10-06 22:51:32 -07:00
smd-rpm.c soc: qcom: smd-rpm: Add MSM8976 compatible 2019-10-04 21:20:10 -07:00
smem_state.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
smem.c soc: qcom: smem: Update max processor count 2019-08-21 15:58:01 -07:00
smp2p.c soc: qcom: smp2p: Delete an error message in qcom_smp2p_probe() 2020-04-13 18:10:12 -07:00
smsm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
socinfo.c soc: qcom: socinfo: add missing soc_id sysfs entry 2020-04-13 18:10:10 -07:00
spm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
trace-rpmh.h drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE 2018-07-21 13:32:31 -05:00
wcnss_ctrl.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00