Re: [PATCH 5.13 046/151] interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate

From
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date
2021-08-16 19:31:34
Also in
lkml
Reply to
Georgi Djakov, 2021-08-16
On Mon, Aug 16, 2021 at 08:17:52PM +0300, Georgi Djakov wrote:
On 16.08.21 16:01, Greg Kroah-Hartman wrote:
quoted
From: Mike Tipton <redacted>

[ Upstream commit f84f5b6f72e68bbaeb850b58ac167e4a3a47532a ]

We're only adding BCMs to the commit list in aggregate(), but there are
cases where pre_aggregate() is called without subsequently calling
aggregate(). In particular, in icc_sync_state() when a node with initial
BW has zero requests. Since BCMs aren't added to the commit list in
these cases, we don't actually send the zero BW request to HW. So the
resources remain on unnecessarily.

Add BCMs to the commit list in pre_aggregate() instead, which is always
called even when there are no requests.

Fixes: 976daac4a1c5 ("interconnect: qcom: Consolidate interconnect RPMh support")
Signed-off-by: Mike Tipton <redacted>
Link: https://lore.kernel.org/r/20210721175432.2119-5-mdtipton@codeaurora.org (local)
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Hello Greg and Sasha,

Please drop this patch from both 5.10 and 5.13 stable queues. It's
causing issues on some platforms and we are reverting in. Revert is
in linux-next already.
Now dropped, thanks.

greg k-h
Thread (157 messages) 157 messages, 4 authors, last reply 2021-11-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help