From bbe01efff9e4057a6fe568acb3021b292f6b7458 Mon Sep 17 00:00:00 2001 From: Brad Griffis Date: Thu, 5 Sep 2024 14:35:19 +0000 Subject: [PATCH] t23x: overlay: add no-map to vpr carveout The VPR carveout has special security constraints. It must not be read by the CPU. Add "no-map" property to this region to avoid issues. Currently linux-next builds are failing to boot because we hit an error related to this mapping. [ 0.000000] Call trace: [ 0.000000] numa_memblks_init+0x28c/0x32c [ 0.000000] numa_init+0x48/0x218 [ 0.000000] arch_numa_init+0x48/0x84 [ 0.000000] bootmem_init+0x6c/0x174 [ 0.000000] setup_arch+0x23c/0x5fc [ 0.000000] start_kernel+0x68/0x710 [ 0.000000] __primary_switched+0x80/0x88 [ 0.000000] Code: a8c77bfd d50323bf d65f03c0 f9800051 (c85f7c46) Addition of no-map resolves the issue. Bug 4749580 Change-Id: I16cd52d5ce969d3af5e1814c51e061e2d584cc22 Signed-off-by: Brad Griffis Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3208483 GVS: buildbot_gerritrpt Reviewed-by: Ketan Patil Reviewed-by: svcacv --- overlay/tegra234-carveouts.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overlay/tegra234-carveouts.dts b/overlay/tegra234-carveouts.dts index 0142bf1..5e80138 100644 --- a/overlay/tegra234-carveouts.dts +++ b/overlay/tegra234-carveouts.dts @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. /dts-v1/; /plugin/; @@ -18,6 +18,7 @@ vpr: vpr-carveout { compatible = "nvidia,vpr-carveout"; + no-map; status = "okay"; };