]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: tegra: Defer BPMP probe if shared memory not available
authorJon Hunter <jonathanh@nvidia.com>
Wed, 20 May 2020 15:12:06 +0000 (16:12 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 22 May 2020 12:57:14 +0000 (14:57 +0200)
commit520f1fd7e76c9789c53656ed9d81855925413131
treea3c7e88a6dcdef6708434e12034ffe2aa75beea5
parent104da37e2a1c04692c56d6a400623e66da5586e5
firmware: tegra: Defer BPMP probe if shared memory not available

Since commit 93d2e4322aa7 ("of: platform: Batch fwnode parsing when
adding all top level devices") was added, the probing of the Tegra
SRAM device has occurred later in the boot sequence, after the BPMP
has been probed. The BPMP uses sections of the SRAM for shared memory
and if the BPMP is probed before the SRAM then it fails to probe and
never tries again. This is causing a boot failure on Tegra186 and
Tegra194. Fix this by allowing the probe of the BPMP to be deferred if
the SRAM is not available yet.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp-tegra186.c