Thread (59 messages) 59 messages, 10 authors, 2023-03-13

Re: [PATCH 08/23] interconnect: qcom: rpm: fix registration race

From: Jun Nie <hidden>
Date: 2023-02-03 04:07:09
Also in: linux-arm-msm, linux-pm, linux-samsung-soc, linux-tegra, lkml, stable

Johan Hovold [off-list ref] 于2023年2月1日周三 18:16写道:
The current interconnect provider registration interface is inherently
racy as nodes are not added until the after adding the provider. This
can specifically cause racing DT lookups to fail.

Switch to using the new API where the provider is not registered until
after it has been fully initialised.

Fixes: 62feb14ee8a3 ("interconnect: qcom: Consolidate interconnect RPM support")
Fixes: 30c8fa3ec61a ("interconnect: qcom: Add MSM8916 interconnect provider driver")
Cc: stable@vger.kernel.org      # 5.7
Cc: Jun Nie <redacted>
Cc: Georgi Djakov <redacted>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
 drivers/interconnect/qcom/icc-rpm.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
Reviewed-by: Jun Nie <redacted>

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help