Skip to contentSkip to conversation

arm64: dts: qcom: sdm845: Add reserve-memory nodes

PATCH Superseded Sibi Sankar 3 participants 4 messages Oct 26, 2018 – Oct 31, 2018

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: sdm845: Add reserve-memory nodes

Add reserve-memory nodes for mpss and mba required for remoteproc mss pil.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +10 -0
index d3fe012ad84e..f74892e447f9 100644
@@ -88,6 +88,16 @@
 			reg = <0 0x86200000 0 0x2d00000>;
 			no-map;
 		};
+
+		mpss_region: reserved-memory@8e000000 {
+			no-map;
+			reg = <0 0x8e000000 0 0x7800000>;
+		};
+
+		mba_region: reserved-memory@96500000 {
+			no-map;
+			reg = <0 0x96500000 0 0x200000>;
+		};
 	};
 
 	cpus {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Sibi Sankar

Add reserve-memory nodes for mpss and mba required for remoteproc mss pil.

Regards,
Bjorn

Quoted 29 lines
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +10 -0
index d3fe012ad84e..f74892e447f9 100644
@@ -88,6 +88,16 @@
 			reg = <0 0x86200000 0 0x2d00000>;
 			no-map;
 		};
+
+		mpss_region: reserved-memory@8e000000 {
+			no-map;
+			reg = <0 0x8e000000 0 0x7800000>;
+		};
+
+		mba_region: reserved-memory@96500000 {
+			no-map;
+			reg = <0 0x96500000 0 0x200000>;
+		};
 	};
 
 	cpus {
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
#2 lore raw
In reply to Sibi Sankar

Hi,

Quoted 14 lines · Sibi Sankar

Add reserve-memory nodes for mpss and mba required for remoteproc mss pil.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +0 -0
index d3fe012ad84e..f74892e447f9 100644

arch/arm64/boot/dts/qcom/sdm845.dtsi line 97

Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +7 -0
@@ -88,6 +88,16 @@
                        reg = <0 0x86200000 0 0x2d00000>;
                        no-map;
                };
+
+               mpss_region: reserved-memory@8e000000 {
+                       no-map;
+                       reg = <0 0x8e000000 0 0x7800000>;
+               };
+
+               mba_region: reserved-memory@96500000 {

nit: All of the other reserved memory in this same section just has the node name "memory". Can you please follow suit? Also above. This is the kind of thing that Rob H. usually cares about doing right.

arch/arm64/boot/dts/qcom/sdm845.dtsi line 99

Quoted 2 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -0
+                       no-map;
+                       reg = <0 0x96500000 0 0x200000>;

nit: All of the other reserved memory in this same section has "reg" above "no-map". It doesn't matter a whole lot, but why not make it match everyone else? Also above.

-Doug

#3 lore raw

Hi Doug,
Thanks for the review!

I noticed both the quirks just after sending it out :(, will fix them.

Quoted 41 lines · Doug Anderson

Hi,

Quoted 14 lines · Sibi Sankar

Add reserve-memory nodes for mpss and mba required for remoteproc mss pil.

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/qcom/sdm845.dtsi +0 -0
index d3fe012ad84e..f74892e447f9 100644

arch/arm64/boot/dts/qcom/sdm845.dtsi line 97

Quoted 10 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +7 -0
@@ -88,6 +88,16 @@
                        reg = <0 0x86200000 0 0x2d00000>;
                        no-map;
                };
+
+               mpss_region: reserved-memory@8e000000 {
+                       no-map;
+                       reg = <0 0x8e000000 0 0x7800000>;
+               };
+
+               mba_region: reserved-memory@96500000 {

nit: All of the other reserved memory in this same section just has the node name "memory". Can you please follow suit? Also above. This is the kind of thing that Rob H. usually cares about doing right.

arch/arm64/boot/dts/qcom/sdm845.dtsi line 99

Quoted 2 lines
arch/arm64/boot/dts/qcom/sdm845.dtsi +2 -0
+                       no-map;
+                       reg = <0 0x96500000 0 0x200000>;

nit: All of the other reserved memory in this same section has "reg" above "no-map". It doesn't matter a whole lot, but why not make it match everyone else? Also above.

-Doug

Signature · 3 lines
-- Sibi Sankar --
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.