Skip to contentSkip to conversation

arm64: dts: realtek: rtd16xx: Add memory reservations

PATCH In review Andreas Färber 2 participants 4 messages Jan 3, 2020 – Jan 15, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: realtek: rtd16xx: Add memory reservations

Reserve memory regions for RPC and TEE.

Fixes e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
Cc James Tai <[email protected]>
---
 arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/realtek/rtd16xx.dtsi +19 -0
index 3c70a0da329e..4dc6c9f13c43 100644
@@ -14,6 +14,25 @@
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		rpc_comm: rpc@2f000 {
+			reg = <0x2f000 0x1000>;
+		};
+
+		rpc_ringbuf: rpc@1ffe000 {
+			reg = <0x1ffe000 0x4000>;
+		};
+
+		tee: tee@10100000 {
+			reg = <0x10100000 0xf00000>;
+			no-map;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.16.4
#1 lore raw

Am 03.01.20 um 07:04 schrieb Andreas Färber:

Quoted 8 lines

Reserve memory regions for RPC and TEE.

Fixes e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
Cc James Tai <[email protected]>
---
  arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
  1 file changed, 19 insertions(+)

Ping! @Realtek: Please check the numbers.

Thanks,
Andreas

Quoted 30 lines
arch/arm64/boot/dts/realtek/rtd16xx.dtsi +19 -0
index 3c70a0da329e..4dc6c9f13c43 100644
@@ -14,6 +14,25 @@
  	#address-cells = <1>;
  	#size-cells = <1>;
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		rpc_comm: rpc@2f000 {
+			reg = <0x2f000 0x1000>;
+		};
+
+		rpc_ringbuf: rpc@1ffe000 {
+			reg = <0x1ffe000 0x4000>;
+		};
+
+		tee: tee@10100000 {
+			reg = <0x10100000 0xf00000>;
+			no-map;
+		};
+	};
+
  	cpus {
  		#address-cells = <1>;
  		#size-cells = <0>;
Signature · 4 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Andreas Färber
Quoted 42 lines

Reserve memory regions for RPC and TEE.

Fixes e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek

Mjolnir EVB")

---
 arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/realtek/rtd16xx.dtsi +19 -1
index 3c70a0da329e..4dc6c9f13c43 100644
@@ -14,6 +14,25 @@
 	#address-cells = <1>;
 	#size-cells = <1>;
 
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		rpc_comm: rpc@2f000 {
+			reg = <0x2f000 0x1000>;
+		};
+
+		rpc_ringbuf: rpc@1ffe000 {
+			reg = <0x1ffe000 0x4000>;
+		};
+
+		tee: tee@10100000 {
+			reg = <0x10100000 0xf00000>;
+			no-map;
+		};
+	};
+
 	cpus {
 		#address-cells = <1>;
 		#size-cells = <0>;
--
Quoted 3 lines

2.16.4

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

author Applied
#3 lore raw

Am 15.01.20 um 09:13 schrieb James Tai:

Quoted 9 lines
Quoted 9 lines

Reserve memory regions for RPC and TEE.

Fixes e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek

Mjolnir EVB")

---
  arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
  1 file changed, 19 insertions(+)

[...]

Quoted 1 line

Thanks, applied to linux-realtek.git v5.6/dt:

https://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-realtek.git/log/?h=v5.6/dt

Regards,
Andreas

Signature · 4 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)