summaryrefslogtreecommitdiffstats
path: root/crypto/authencesn.c
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-03-06 08:56:33 +0100
committerGeorgi Djakov <djakov@kernel.org>2023-03-07 22:19:05 +0200
commit174941ed28a3573db075da46d95b4dcf9d4c49c2 (patch)
tree804ebbb238c1ad3a7cdc6260878b943448e2b7d4 /crypto/authencesn.c
parent9fbd35520f1f7f3cbe1873939a27ad9b009f21f9 (diff)
downloadlinux-stable-174941ed28a3573db075da46d95b4dcf9d4c49c2.tar.gz
linux-stable-174941ed28a3573db075da46d95b4dcf9d4c49c2.tar.bz2
linux-stable-174941ed28a3573db075da46d95b4dcf9d4c49c2.zip
interconnect: qcom: osm-l3: fix registration race
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: of_icc_xlate_onecell: invalid index 0 cpu cpu0: error -EINVAL: error finding src node cpu cpu0: dev_pm_opp_of_find_icc_paths: Unable to get path0: -22 qcom-cpufreq-hw: probe of 18591000.cpufreq failed with error -22 Switch to using the new API where the provider is not registered until after it has been fully initialised. Fixes: 5bc9900addaf ("interconnect: qcom: Add OSM L3 interconnect provider support") Cc: stable@vger.kernel.org # 5.7 Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Link: https://lore.kernel.org/r/20230306075651.2449-6-johan+linaro@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'crypto/authencesn.c')
0 files changed, 0 insertions, 0 deletions