soc/tegra: cbb: Add driver for Tegra234 CBB 2.0

Adding driver to handle errors from CBB version 2.0 which is used in
Tegra234 SoC. The driver prints debug information about failed
transaction on receiving interrupt from the error notifier. The error
notifier collates the interrupts from various error monitor blocks and
presents a single interrupt to the SoC interrupt controller.

For timeout errors, the driver also does the lookup to find timed out
clients and prints their client ID. Drivers for hardware that needs to
be reset on timeout will have to call BPMP from the client IP's driver.
BPMP firmware will also clear the timeout bit after resetting the IP
so that next transactions are send to them after reset.

Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Sumit Gupta
2022-09-15 12:41:36 +02:00
committed by Thierry Reding
parent b713442214
commit fc2f151d23
3 changed files with 848 additions and 1 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ config SOC_TEGRA30_VOLTAGE_COUPLER
config SOC_TEGRA_CBB config SOC_TEGRA_CBB
tristate "Tegra driver to handle error from CBB" tristate "Tegra driver to handle error from CBB"
depends on ARCH_TEGRA_194_SOC depends on ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
default y default y
help help
Support for handling error from Tegra Control Backbone(CBB). Support for handling error from Tegra Control Backbone(CBB).
+1
View File
@@ -5,4 +5,5 @@
ifdef CONFIG_SOC_TEGRA_CBB ifdef CONFIG_SOC_TEGRA_CBB
obj-y += tegra-cbb.o obj-y += tegra-cbb.o
obj-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-cbb.o obj-$(CONFIG_ARCH_TEGRA_194_SOC) += tegra194-cbb.o
obj-$(CONFIG_ARCH_TEGRA_234_SOC) += tegra234-cbb.o
endif endif
File diff suppressed because it is too large Load Diff