Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations
@ 2020-01-03  6:04 Andreas Färber
  2020-01-14 10:07 ` Andreas Färber
  2020-01-15  8:13 ` James Tai
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Färber @ 2020-01-03  6:04 UTC (permalink / raw)
  To: linux-realtek-soc
  Cc: Mark Rutland, devicetree, James Tai, linux-kernel, Rob Herring,
	Andreas Färber, linux-arm-kernel

Reserve memory regions for RPC and TEE.

Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
Cc: James Tai <james.tai@realtek.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
index 3c70a0da329e..4dc6c9f13c43 100644
--- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
+++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
@@ -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>;
-- 
2.16.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations
  2020-01-03  6:04 [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations Andreas Färber
@ 2020-01-14 10:07 ` Andreas Färber
  2020-01-15  8:13 ` James Tai
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2020-01-14 10:07 UTC (permalink / raw)
  To: linux-realtek-soc, James Tai
  Cc: Mark Rutland, devicetree, Rob Herring, linux-kernel, linux-arm-kernel

Am 03.01.20 um 07:04 schrieb Andreas Färber:
> Reserve memory regions for RPC and TEE.
> 
> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek Mjolnir EVB")
> Cc: James Tai <james.tai@realtek.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>   arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>   1 file changed, 19 insertions(+)

Ping! @Realtek: Please check the numbers.

Thanks,
Andreas

> diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> index 3c70a0da329e..4dc6c9f13c43 100644
> --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> @@ -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>;

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations
  2020-01-03  6:04 [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations Andreas Färber
  2020-01-14 10:07 ` Andreas Färber
@ 2020-01-15  8:13 ` James Tai
  2020-01-15 13:20   ` Andreas Färber
  1 sibling, 1 reply; 4+ messages in thread
From: James Tai @ 2020-01-15  8:13 UTC (permalink / raw)
  To: Andreas Färber, linux-realtek-soc
  Cc: Mark Rutland, devicetree, Rob Herring, linux-kernel, linux-arm-kernel

> Reserve memory regions for RPC and TEE.
> 
> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek
> Mjolnir EVB")
> Cc: James Tai <james.tai@realtek.com>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
> ---
>  arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> index 3c70a0da329e..4dc6c9f13c43 100644
> --- a/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> +++ b/arch/arm64/boot/dts/realtek/rtd16xx.dtsi
> @@ -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>;
> --
> 2.16.4
> 
> 
Acked-by: James Tai <james.tai@realtek.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations
  2020-01-15  8:13 ` James Tai
@ 2020-01-15 13:20   ` Andreas Färber
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Färber @ 2020-01-15 13:20 UTC (permalink / raw)
  To: James Tai, linux-realtek-soc
  Cc: Mark Rutland, devicetree, Rob Herring, linux-kernel, linux-arm-kernel

Am 15.01.20 um 09:13 schrieb James Tai:
>> Reserve memory regions for RPC and TEE.
>>
>> Fixes: e5a9e237608d ("arm64: dts: realtek: Add RTD1619 SoC and Realtek
>> Mjolnir EVB")
>> Cc: James Tai <james.tai@realtek.com>
>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>> ---
>>   arch/arm64/boot/dts/realtek/rtd16xx.dtsi | 19 +++++++++++++++++++
>>   1 file changed, 19 insertions(+)
[...]
> Acked-by: James Tai <james.tai@realtek.com>

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

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03  6:04 [PATCH] arm64: dts: realtek: rtd16xx: Add memory reservations Andreas Färber
2020-01-14 10:07 ` Andreas Färber
2020-01-15  8:13 ` James Tai
2020-01-15 13:20   ` Andreas Färber

Linux-ARM-Kernel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/0 linux-arm-kernel/git/0.git
	git clone --mirror https://lore.kernel.org/linux-arm-kernel/1 linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ https://lore.kernel.org/linux-arm-kernel \
		linux-arm-kernel@lists.infradead.org
	public-inbox-index linux-arm-kernel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.infradead.lists.linux-arm-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git