]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Wed, 12 Mar 2025 09:49:48 +0000 (15:19 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 14 Mar 2025 16:58:22 +0000 (11:58 -0500)
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 <quic_mmanikan@quicinc.com>
Reviewed-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250312094948.3376126-1-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5424.dtsi

index 402d0a2c7bcc60842dc07c7233305b7cda89e163..5d6ed2172b1bb0a57c593f121f387ec917f42419 100644 (file)
                #size-cells = <2>;
                ranges;
 
+               bootloader@8a200000 {
+                       reg = <0x0 0x8a200000 0x0 0x400000>;
+                       no-map;
+               };
+
                tz@8a600000 {
                        reg = <0x0 0x8a600000 0x0 0x200000>;
                        no-map;