]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: tegra: Prepare for supporting in-band debugfs
authorJon Hunter <jonathanh@nvidia.com>
Sun, 12 Jul 2020 10:01:16 +0000 (11:01 +0100)
committerThierry Reding <treding@nvidia.com>
Tue, 14 Jul 2020 15:57:41 +0000 (17:57 +0200)
commit8829a3ffcbc5f6894716c62d0acd8ea331b4bb33
tree0ee404a5bcf043f6ea65a216265e59271f9bf37a
parent544fe792b31f5b09b0970a5c44598301ae343d81
firmware: tegra: Prepare for supporting in-band debugfs

Currently, BPMP debug information is accessible via the Linux debugfs
file-system using a shared-memory scheme. More recent BPMP firmware now
supports accessing the debug information by in-band messaging which does
not require shared-memory. To prepare for adding in-band debugfs support
for the BPMP, move the shared-memory specific initialisation from the
tegra_bpmp_init_debugfs() into a sub-function.

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