[PATCH 0/3] memory: tegra: UBSAN fix and cleanups

From: Sumit Gupta

Date: Wed May 27 2026 - 10:05:59 EST


This series fixes an UBSAN warning in the Tegra MC ICC aggregate
path and removes two pieces of related dead code.

- Patch 1: Sets the EMC provider's aggregate hook to
icc_std_aggregate, instead of borrowing the MC's aggregate hook.
- Patch 2: Drops tegra264_mc_icc_aggregate() as its only check
duplicates the one in tegra264_mc_icc_set().
- Patch 3: Drops a dead 'if (mc)' check inside the CPU-cluster
branch of tegra234_mc_icc_aggregate().


Sumit Gupta (3):
memory: tegra186-emc: stop borrowing MC aggregate hook for EMC
memory: tegra264: drop redundant tegra264_mc_icc_aggregate()
memory: tegra234: drop dead NULL check in tegra234_mc_icc_aggregate()

drivers/memory/tegra/tegra186-emc.c | 4 +---
drivers/memory/tegra/tegra234.c | 6 ++----
drivers/memory/tegra/tegra264.c | 17 +----------------
3 files changed, 4 insertions(+), 23 deletions(-)

--
2.34.1