arm64: dts: qcom: add few more reserved memory region
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Fri, 26 May 2023 11:06:53 +0000 (16:36 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 26 May 2023 20:12:53 +0000 (13:12 -0700)
commit0cd4e90cb2dec02ff859f5c98f744f43a23aea65
treea626dedd6464d27c0c1d925de1ef399ee5d4cbb8
parent9b2406aaba7841863ac041225316c1ec1c86ea36
arm64: dts: qcom: add few more reserved memory region

In IPQ SoCs, bootloader will collect the system RAM contents upon crash
for the post morterm analysis. If we don't reserve the memory region used
by bootloader, obviously linux will consume it and upon next boot on
crash, bootloader will be loaded in the same region, which will lead to
loose some of the data, sometimes we may miss out critical information.
So lets reserve the region used by the bootloader.

Similarly SBL copies some data into the reserved region and it will be
used in the crash scenario. So reserve 1MB for SBL as well.

While at it, drop the size padding in the reserved memory region,
wherever applicable.

Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230526110653.27777-4-quic_viswanat@quicinc.com
arch/arm64/boot/dts/qcom/ipq6018.dtsi
arch/arm64/boot/dts/qcom/ipq8074.dtsi