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

From: Jon Hunter

Date: Tue Jun 09 2026 - 11:12:35 EST



On 27/05/2026 15:01, Sumit Gupta wrote:
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(-)


For the series ...

Reviewed-by: Jon Hunter <jonathanh@xxxxxxxxxx>
Tested-by: Jon Hunter <jonathanh@xxxxxxxxxx>

Thanks!
Jon

--
nvpublic