* [PATCH] arm64: dts: mediatek: mt7986: increase ATF reserved memory to 256 kiB
@ 2025-08-10 10:30 Shiji Yang
0 siblings, 0 replies; only message in thread
From: Shiji Yang @ 2025-08-10 10:30 UTC (permalink / raw)
To: linux-arm-kernel, linux-mediatek
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Matthias Brugger,
AngeloGioacchino Del Regno, devicetree, linux-kernel, Shiji Yang
The latest Mediatek open-source Trusted Firmware-A project has
reserved 256 KiB for BL2 and BL31. It is better to increase the
reserved memory region in the Linux kernel to protect the data.
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
---
Ref:
https://github.com/mtk-openwrt/arm-trusted-firmware/blob/78a0dfd927bb00ce973a1f8eb4079df0f755887a/plat/mediatek/mt7986/include/platform_def.h#L61-L71
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
index 559990dcd..d21e0d13f 100644
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
@@ -68,9 +68,9 @@ reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
- /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
+ /* 256 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
secmon_reserved: secmon@43000000 {
- reg = <0 0x43000000 0 0x30000>;
+ reg = <0 0x43000000 0 0x40000>;
no-map;
};
--
2.50.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-10 10:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-10 10:30 [PATCH] arm64: dts: mediatek: mt7986: increase ATF reserved memory to 256 kiB Shiji Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®