Files
Centos-kernel-stream-9/drivers/interconnect
Scott Weaver e1acf8ca51 Merge: interconnect: imx: fix registration race
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/3001

Bugzilla: https://bugzilla.redhat.com/2230634

Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=54995573

Tested: Did sanity boot testing on (nxp-imx8mquad-01.edge1) system.

commit 9fbd35520f1f7f3cbe1873939a27ad9b009f21f9
Author: Johan Hovold <johan+linaro@kernel.org>
Date:   Mon Mar 6 08:56:32 2023 +0100

    interconnect: imx: 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.

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

    Fixes: f0d8048525 ("interconnect: Add imx core driver")
    Cc: stable@vger.kernel.org      # 5.8
    Cc: Alexandre Bailon <abailon@baylibre.com>
    Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
    Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
    Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> # i.MX8MP MSC SM2-MB-EP1 Board
    Link: https://lore.kernel.org/r/20230306075651.2449-5-johan+linaro@kernel.org
    Signed-off-by: Georgi Djakov <djakov@kernel.org>

Signed-off-by: Steve Best <sbest@redhat.com>

Approved-by: David Arcari <darcari@redhat.com>
Approved-by: John B. Wyatt IV <jwyatt@redhat.com>

Signed-off-by: Scott Weaver <scweaver@redhat.com>
2023-10-06 19:39:27 -04:00
..