]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
memory: tegra: Add MC error logging support for Tegra264
authorKetan Patil <ketanp@nvidia.com>
Thu, 26 Feb 2026 16:31:15 +0000 (16:31 +0000)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sat, 7 Mar 2026 17:02:48 +0000 (18:02 +0100)
commit82169065ffb07577075a5088b313d78673ded331
tree69381d9b6942c9a421172da9e54b3b887cd83929
parent9f2614510960f0761144d14e1b4c4d82e0c098e9
memory: tegra: Add MC error logging support for Tegra264

In Tegra264, different components from memory subsystems like Memory
Controller Fabric (MCF), HUB, HUB Common (HUBC), Side Band Shim (SBS)
and channels have different interrupt lines for receiving memory
controller error interrupts.

Add support for logging memory controller errors reported by these
memory subsystems on Tegra264 by:
- Renaming tegra_mc_error_names array to tegra20_mc_error_names
  because it has a different bit index for error names compared to
  Tegra264.
- Defining the intmask registers and mask values supported for
  Tegra264.
- Registering interrupt handlers for interrupts associated with these
  different MC components which read the interrupt status registers to
  determine the type of violation that occurred.

Signed-off-by: Ketan Patil <ketanp@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20260226163115.1152181-7-ketanp@nvidia.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
drivers/memory/tegra/mc.c
drivers/memory/tegra/mc.h
drivers/memory/tegra/tegra20.c
drivers/memory/tegra/tegra264.c