acrn-kernel/drivers/memory
Johan Hovold 20d305f79c memory: tegra30-emc: fix interconnect registration race
commit 9db481c909 upstream.

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: d5ef16ba5f ("memory: tegra20: Support interconnect framework")
Cc: stable@vger.kernel.org      # 5.11
Cc: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20230306075651.2449-21-johan+linaro@kernel.org
Signed-off-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-22 13:33:56 +01:00
..
samsung
tegra memory: tegra30-emc: fix interconnect registration race 2023-03-22 13:33:56 +01:00
.gitignore
Kconfig
Makefile
atmel-ebi.c
atmel-sdramc.c
brcmstb_dpfe.c
brcmstb_memc.c
bt1-l2-ctl.c
da8xx-ddrctl.c
dfl-emif.c
emif-asm-offsets.c
emif.c
emif.h
fsl-corenet-cf.c
fsl_ifc.c
jedec_ddr.h
jedec_ddr_data.c
jz4780-nemc.c
mtk-smi.c
mvebu-devbus.c
of_memory.c
of_memory.h
omap-gpmc.c
pl172.c
pl353-smc.c
renesas-rpc-if.c
stm32-fmc2-ebi.c
ti-aemif.c
ti-emif-pm.c
ti-emif-sram-pm.S