]> Gentwo Git Trees - linux/.git/commit
soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS
authorSneh Mankad <sneh.mankad@oss.qualcomm.com>
Mon, 25 Aug 2025 06:23:50 +0000 (11:53 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 27 Aug 2025 17:27:20 +0000 (12:27 -0500)
commitf87412d18edb5b8393eb8cb1c2d4a54f90185a21
treebeffa05a4b26d164a972c67bba4b438665c8ca58
parent72e9f68bf1a0d55174bba13fba2d8d37fd3355e1
soc: qcom: rpmh-rsc: Unconditionally clear _TRIGGER bit for TCS

Unconditionally clear the TCS_AMC_MODE_TRIGGER bit when a
transaction completes. Previously this bit was only cleared when
a wake TCS was borrowed as an AMC TCS but not for dedicated
AMC TCS. Leaving this bit set for AMC TCS and entering deeper low
power modes can generate a false completion IRQ.

Prevent this scenario by always clearing the TCS_AMC_MODE_TRIGGER
bit upon receiving a completion IRQ.

Fixes: 15b3bf61b8d4 ("soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS")
Signed-off-by: Sneh Mankad <sneh.mankad@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250825-rpmh_rsc_change-v1-1-138202c31bf6@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/rpmh-rsc.c