linux-stable/drivers/memory
Johan Hovold 9db481c909 memory: tegra30-emc: fix interconnect 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: 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>
2023-03-13 21:13:49 +02:00
..
samsung memory: samsung: exynos5422-dmc: Fix refcount leak in of_get_dram_timings 2022-06-06 11:18:20 +02:00
tegra memory: tegra30-emc: fix interconnect registration race 2023-03-13 21:13:49 +02:00
.gitignore
atmel-ebi.c
atmel-sdramc.c memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe() 2022-12-27 09:53:52 +01:00
brcmstb_dpfe.c
brcmstb_memc.c memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
bt1-l2-ctl.c
da8xx-ddrctl.c
dfl-emif.c memory: dfl-emif: Update the dfl emif driver support revision 1 2022-08-16 12:12:04 +03:00
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
Kconfig memory: brcmstb_memc: Add Broadcom STB memory controller driver 2022-08-18 09:11:45 +03:00
Makefile ARM updates for 6.2 2022-12-13 15:22:14 -08:00
mtk-smi.c memory: mtk-smi: mt8188: Add SMI Support 2022-08-30 20:54:05 +03:00
mvebu-devbus.c memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe() 2022-12-27 09:54:32 +01:00
of_memory.c memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() 2022-08-16 12:12:06 +03:00
of_memory.h
omap-gpmc.c memory: omap-gpmc: fix wait pin validation 2022-12-27 09:51:24 +01:00
pl172.c
pl353-smc.c memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe() 2022-08-16 12:12:03 +03:00
renesas-rpc-if.c memory: renesas-rpc-if: Remove redundant division of dummy 2023-02-09 14:06:11 +01:00
stm32-fmc2-ebi.c
ti-aemif.c
ti-emif-pm.c memory: ti-emif-pm: Use device_get_match_data() to simplify the code 2023-01-23 11:48:31 +01:00
ti-emif-sram-pm.S ARM: 9263/1: use .arch directives instead of assembler command line flags 2022-11-08 18:36:17 +00:00