]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: fvp: Reserve 64MB for the FF-A firmware in memory map
authorSudeep Holla <sudeep.holla@arm.com>
Fri, 9 May 2025 15:46:40 +0000 (16:46 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 May 2025 17:51:54 +0000 (18:51 +0100)
Reserve 64MB of memory at the end of the first bank of DRAM on FVP model.
This is mainly for FF-A firmware use, as required by various firmware
configurations using the Firmware Framework for Arm (FF-A). This prevents
the kernel from overwriting the firmware region.

This is also useful when running other firmware configurations(non FF-A
based) that rely on usage of 64MB at the end of first DRAM bank.

Necessary for proper coexistence of firmware(FF-A partitions) and the OS.

Message-Id: <20250509154640.836093-3-sudeep.holla@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
arch/arm64/boot/dts/arm/fvp-base-revc.dts

index 755b1407c4dce7c4aac18e6f059a0c7aab54de70..a5024075e3f330330ab384684d31052e034b3947 100644 (file)
 
        memory@80000000 {
                device_type = "memory";
-               reg = <0x00000000 0x80000000 0 0x80000000>,
+               reg = <0x00000000 0x80000000 0 0x7c000000>,
                      <0x00000008 0x80000000 0 0x80000000>;
        };