mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
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 <bgriffis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3208483 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Ketan Patil <ketanp@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com>
53 lines
1.1 KiB
Devicetree
53 lines
1.1 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0-only
|
|
// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
|
|
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
overlay-name = "Tegra234 Carveouts Overlay";
|
|
|
|
fragment@0 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
|
|
reserved-memory {
|
|
#address-cells = <2>;
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
vpr: vpr-carveout {
|
|
compatible = "nvidia,vpr-carveout";
|
|
no-map;
|
|
status = "okay";
|
|
};
|
|
|
|
fsi_reserved: fsi-carveout {
|
|
compatible = "nvidia,fsi-carveout";
|
|
size = <0 0x2000000>;
|
|
alignment = <0 0x1000>;
|
|
no-map;
|
|
alloc-ranges = <0x0 0x0 0x1 0x0>;
|
|
status = "okay";
|
|
};
|
|
|
|
ramoops_reserved: ramoops_carveout {
|
|
compatible = "ramoops";
|
|
size = <0x0 0x200000>;
|
|
record-size = <0x00010000>;
|
|
console-size = <0x00080000>;
|
|
alignment = <0x0 0x10000>;
|
|
alloc-ranges = <0x0 0x0 0x1 0x0>;
|
|
no-map;
|
|
};
|
|
};
|
|
|
|
tegra-carveouts {
|
|
compatible = "nvidia,carveouts";
|
|
memory-region = <&vpr &fsi_reserved>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|