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 memory: tegra: Add Tegra234 support 2022-05-09 10:46:00 +02:00
mc.c memory: tegra: fix interconnect registration race 2023-03-22 13:33:56 +01:00
mc.h memory: tegra: Add MC error logging on Tegra186 onward 2022-05-09 10:46:14 +02:00
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 memory: tegra: Add Tegra234 support 2022-05-09 10:46:00 +02:00
tegra186.c memory: tegra: Remove clients SID override programming 2023-02-01 08:34:02 +01:00
tegra194.c memory: tegra: Add MC error logging on Tegra186 onward 2022-05-09 10:46:14 +02:00
tegra210-emc-cc-r21021.c
tegra210-emc-core.c memory: tegra: Constify struct thermal_cooling_device_ops 2022-01-27 10:41:54 +01:00
tegra210-emc-table.c
tegra210-emc.h
tegra210-mc.h
tegra210.c
tegra234.c memory: tegra: Add MGBE memory clients for Tegra234 2022-07-08 10:29:40 +02:00