ARM: tegra: Use I/O memcpy to write to IRAM

[ Upstream commit 398e67e0f5 ]

Kasan crashes the kernel trying to check boundaries when using the
normal memcpy.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Link: https://lore.kernel.org/r/20250522-mach-tegra-kasan-v1-1-419041b8addb@gmail.com
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Aaron Kling 2025-05-22 11:11:24 -05:00 • committed by Greg Kroah-Hartman
commit 387435f483