Re: [PATCH] arm64: dts: qcom: ipq5018: add few more reserved memory regions

From: Konrad Dybcio
Date: Thu Oct 26 2023 - 14:53:06 EST




On 10/25/23 18:42, Kathiravan Thirumoorthy wrote:
Like all other 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, enable the SMEM support along with TCSR mutex.

Signed-off-by: Kathiravan Thirumoorthy <quic_kathirav@xxxxxxxxxxx>
---
Bit of a "many things at once" but okay

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad