linux-stable/drivers/memory/tegra
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
..
Kconfig
Makefile
mc.c memory: tegra: fix interconnect registration race 2023-03-22 13:33:56 +01:00
mc.h
tegra20-emc.c memory: tegra20-emc: fix interconnect registration race 2023-03-22 13:33:56 +01:00
tegra20.c
tegra30-emc.c memory: tegra30-emc: fix interconnect registration race 2023-03-22 13:33:56 +01:00
tegra30.c
tegra114.c
tegra124-emc.c memory: tegra124-emc: fix interconnect registration race 2023-03-22 13:33:56 +01:00
tegra124.c
tegra186-emc.c
tegra186.c memory: tegra: Remove clients SID override programming 2023-02-01 08:34:02 +01:00
tegra194.c
tegra210-emc-cc-r21021.c
tegra210-emc-core.c
tegra210-emc-table.c
tegra210-emc.h
tegra210-mc.h
tegra210.c
tegra234.c