From: Manikanta Mylavarapu Date: Wed, 12 Mar 2025 09:49:48 +0000 (+0530) Subject: arm64: dts: qcom: ipq5424: add reserved memory region for bootloader X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4001b1bffd21d5cdbdc84d6b97213e68fed9c785;p=users%2Fjedix%2Flinux-maple.git arm64: dts: qcom: ipq5424: add reserved memory region for bootloader In IPQ5424, the bootloader collects the system RAM contents upon a crash for post-morterm analysis. If we don't reserve the memory region used by the bootloader, linux will consume it. Upon the next boot after a crash, the bootloader will be loaded in the same region, which could lead to the loss of some data. sometimes, we may miss out critical information. Therefore, let's reserve the region used by the bootloader. Signed-off-by: Manikanta Mylavarapu Reviewed-by: Kathiravan Thirumoorthy Reviewed-by: Konrad Dybcio Link: https://lore.kernel.org/r/20250312094948.3376126-1-quic_mmanikan@quicinc.com Signed-off-by: Bjorn Andersson --- diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi index 402d0a2c7bcc..5d6ed2172b1b 100644 --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi @@ -132,6 +132,11 @@ #size-cells = <2>; ranges; + bootloader@8a200000 { + reg = <0x0 0x8a200000 0x0 0x400000>; + no-map; + }; + tz@8a600000 { reg = <0x0 0x8a600000 0x0 0x200000>; no-map;