* [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
@ 2025-03-12 9:49 Manikanta Mylavarapu
2025-03-12 16:12 ` Kathiravan Thirumoorthy
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Manikanta Mylavarapu @ 2025-03-12 9:49 UTC (permalink / raw)
To: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
devicetree, linux-kernel
Cc: quic_varada, quic_srichara
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>
---
arch/arm64/boot/dts/qcom/ipq5424.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
index 7a7ad700a382..cd1acf3898ac 100644
--- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi
@@ -132,6 +132,11 @@ reserved-memory {
#size-cells = <2>;
ranges;
+ bootloader@8a200000 {
+ reg = <0x0 0x8a200000 0x0 0x400000>;
+ no-map;
+ };
+
tz@8a600000 {
reg = <0x0 0x8a600000 0x0 0x200000>;
no-map;
base-commit: 0a2f889128969dab41861b6e40111aa03dc57014
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
2025-03-12 9:49 [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader Manikanta Mylavarapu
@ 2025-03-12 16:12 ` Kathiravan Thirumoorthy
2025-03-12 17:58 ` Konrad Dybcio
2025-03-14 20:01 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Kathiravan Thirumoorthy @ 2025-03-12 16:12 UTC (permalink / raw)
To: Manikanta Mylavarapu, andersson, konradybcio, robh, krzk+dt,
conor+dt, linux-arm-msm, devicetree, linux-kernel
Cc: quic_varada, quic_srichara
On 3/12/2025 3:19 PM, Manikanta Mylavarapu wrote:
> 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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
2025-03-12 9:49 [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader Manikanta Mylavarapu
2025-03-12 16:12 ` Kathiravan Thirumoorthy
@ 2025-03-12 17:58 ` Konrad Dybcio
2025-03-14 20:01 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2025-03-12 17:58 UTC (permalink / raw)
To: Manikanta Mylavarapu, andersson, konradybcio, robh, krzk+dt,
conor+dt, linux-arm-msm, devicetree, linux-kernel
Cc: quic_varada, quic_srichara
On 3/12/25 10:49 AM, Manikanta Mylavarapu wrote:
> 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: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
2025-03-12 9:49 [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader Manikanta Mylavarapu
2025-03-12 16:12 ` Kathiravan Thirumoorthy
2025-03-12 17:58 ` Konrad Dybcio
@ 2025-03-14 20:01 ` Bjorn Andersson
2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2025-03-14 20:01 UTC (permalink / raw)
To: konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm, devicetree,
linux-kernel, Manikanta Mylavarapu
Cc: quic_varada, quic_srichara
On Wed, 12 Mar 2025 15:19:48 +0530, Manikanta Mylavarapu wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader
commit: 4001b1bffd21d5cdbdc84d6b97213e68fed9c785
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-03-14 20:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 9:49 [PATCH v1] arm64: dts: qcom: ipq5424: add reserved memory region for bootloader Manikanta Mylavarapu
2025-03-12 16:12 ` Kathiravan Thirumoorthy
2025-03-12 17:58 ` Konrad Dybcio
2025-03-14 20:01 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox