mbox series

[V2,0/2] Add the download mode support for IPQ5332

Message ID 20230210060401.24383-1-quic_kathirav@quicinc.com
Headers show
Series Add the download mode support for IPQ5332 | expand

Message

Kathiravan Thirumoorthy Feb. 10, 2023, 6:03 a.m. UTC
Enable the support for download mode to collect the RAM dumps if
system crashes, to perform the post mortem analysis.

During the bootup, bootloaders initialize the SMEM. However the bootup
after crash, SMEM will not be initialized again. If the memory for the
SMEM is not reserved, linux consumes that region, which leads to the
loss of SMEM data. So, during the next bootup after crash, bootloaders
will hang due to invalid data present in the SMEM region. Due to this,
added the SMEM support along with this series.

This series depends on the IPQ5332 baseport patches
https://lore.kernel.org/linux-arm-msm/20230208155232.11500-1-quic_kathirav@quicinc.com/

Changes in V2:
	- Dropped the qcom,tcsr binding patch, since it is part of
	  linux-next/master

Kathiravan T (2):
  arm64: dts: qcom: ipq5332: enable the download mode support
  arm64: dts: qcom: ipq5332: add SMEM support

 arch/arm64/boot/dts/qcom/ipq5332.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

Comments

Bjorn Andersson March 15, 2023, 11:35 p.m. UTC | #1
On Fri, 10 Feb 2023 11:33:59 +0530, Kathiravan T wrote:
> Enable the support for download mode to collect the RAM dumps if
> system crashes, to perform the post mortem analysis.
> 
> During the bootup, bootloaders initialize the SMEM. However the bootup
> after crash, SMEM will not be initialized again. If the memory for the
> SMEM is not reserved, linux consumes that region, which leads to the
> loss of SMEM data. So, during the next bootup after crash, bootloaders
> will hang due to invalid data present in the SMEM region. Due to this,
> added the SMEM support along with this series.
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: qcom: ipq5332: enable the download mode support
      commit: ed32155302fc3e5b8d30c51b95666e844f1449e1
[2/2] arm64: dts: qcom: ipq5332: add SMEM support
      commit: d56dd7f935e125244bc15f5a0a9e68cdb0ec87ca

Best regards,