]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: tegra: Add support for in-band debug
authorJon Hunter <jonathanh@nvidia.com>
Sun, 12 Jul 2020 10:01:17 +0000 (11:01 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 14 Jul 2020 16:01:50 +0000 (18:01 +0200)
commit42df63cc19cf997d28c3895f04c668ad14229eec
tree74f8f55cb91d97293da1d251d11b4cfef5f6e04d
parent8829a3ffcbc5f6894716c62d0acd8ea331b4bb33
firmware: tegra: Add support for in-band debug

Add support for retrieving BPMP debug information via in-band messaging
as opposed to using shared-memory which older BPMP firmware used. Note
that it is possible to detect at runtime whether the BPMP firmware being
used supports the in-band messaging for retrieving the debug
informaation. Therefore, if the BPMP firmware supports the in-band
messaging for debug use this and otherwise fall-back to using shared
memory.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp-debugfs.c
include/soc/tegra/bpmp-abi.h