Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: agatti: Add memory-region for audio PD
@ 2026-08-06 11:14 Vinayak Katoch
  2026-08-06 12:12 ` Dmitry Baryshkov
  0 siblings, 1 reply; 3+ messages in thread
From: Vinayak Katoch @ 2026-08-06 11:14 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Bharath Kumar, Chenna Kesava Raju, Ekansh Gupta, linux-arm-msm,
	devicetree, linux-kernel, Vinayak Katoch

Reserve memory region for audio PD dynamic loading and remote heap
requirements. Add the required VMID list for memory ownership
transfers.

Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/agatti.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi
index 590bd2432d85..f2277d7d445b 100644
--- a/arch/arm64/boot/dts/qcom/agatti.dtsi
+++ b/arch/arm64/boot/dts/qcom/agatti.dtsi
@@ -381,6 +381,14 @@ rmtfs_mem: memory@89b01000 {
 			qcom,client-id = <1>;
 			qcom,vmid = <QCOM_SCM_VMID_MSS_MSA QCOM_SCM_VMID_NAV>;
 		};
+
+		adsp_rpc_remote_heap_mem: adsp-rpc-remote-heap {
+			compatible = "shared-dma-pool";
+			alloc-ranges = <0x0 0x80000000 0x0 0x80000000>;
+			reusable;
+			alignment = <0x0 0x400000>;
+			size = <0x0 0x800000>;
+		};
 	};
 
 	smp2p-adsp {
@@ -2348,6 +2356,9 @@ fastrpc {
 					compatible = "qcom,fastrpc";
 					qcom,glink-channels = "fastrpcglink-apps-dsp";
 					label = "adsp";
+					memory-region = <&adsp_rpc_remote_heap_mem>;
+					qcom,vmids = <QCOM_SCM_VMID_LPASS
+						  QCOM_SCM_VMID_ADSP_HEAP>;
 
 					qcom,non-secure-domain;
 

---
base-commit: 1701fda2f58e345c050f4309971bdc07cd6146ba
change-id: 20260806-agatti-audio-357bcd74ae9c

Best regards,
-- 
Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>


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

* Re: [PATCH] arm64: dts: qcom: agatti: Add memory-region for audio PD
  2026-08-06 11:14 [PATCH] arm64: dts: qcom: agatti: Add memory-region for audio PD Vinayak Katoch
@ 2026-08-06 12:12 ` Dmitry Baryshkov
  2026-08-07  5:46   ` Vinayak Katoch
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Baryshkov @ 2026-08-06 12:12 UTC (permalink / raw)
  To: Vinayak Katoch
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bharath Kumar, Chenna Kesava Raju, Ekansh Gupta,
	linux-arm-msm, devicetree, linux-kernel

On Thu, Aug 06, 2026 at 04:44:41PM +0530, Vinayak Katoch wrote:
> Reserve memory region for audio PD dynamic loading and remote heap
> requirements. Add the required VMID list for memory ownership
> transfers.
> 
> Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/agatti.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> @@ -2348,6 +2356,9 @@ fastrpc {
>  					compatible = "qcom,fastrpc";
>  					qcom,glink-channels = "fastrpcglink-apps-dsp";
>  					label = "adsp";
> +					memory-region = <&adsp_rpc_remote_heap_mem>;
> +					qcom,vmids = <QCOM_SCM_VMID_LPASS
> +						  QCOM_SCM_VMID_ADSP_HEAP>;

Either put it on a single line or align on QCOM_SCM.

>  
>  					qcom,non-secure-domain;
>  
> 
> ---
> base-commit: 1701fda2f58e345c050f4309971bdc07cd6146ba
> change-id: 20260806-agatti-audio-357bcd74ae9c
> 
> Best regards,
> -- 
> Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH] arm64: dts: qcom: agatti: Add memory-region for audio PD
  2026-08-06 12:12 ` Dmitry Baryshkov
@ 2026-08-07  5:46   ` Vinayak Katoch
  0 siblings, 0 replies; 3+ messages in thread
From: Vinayak Katoch @ 2026-08-07  5:46 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bharath Kumar, Chenna Kesava Raju, Ekansh Gupta,
	linux-arm-msm, devicetree, linux-kernel



On 8/6/2026 5:42 PM, Dmitry Baryshkov wrote:
> On Thu, Aug 06, 2026 at 04:44:41PM +0530, Vinayak Katoch wrote:
>> Reserve memory region for audio PD dynamic loading and remote heap
>> requirements. Add the required VMID list for memory ownership
>> transfers.
>>
>> Signed-off-by: Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
>> ---
>>  arch/arm64/boot/dts/qcom/agatti.dtsi | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>
>> @@ -2348,6 +2356,9 @@ fastrpc {
>>  					compatible = "qcom,fastrpc";
>>  					qcom,glink-channels = "fastrpcglink-apps-dsp";
>>  					label = "adsp";
>> +					memory-region = <&adsp_rpc_remote_heap_mem>;
>> +					qcom,vmids = <QCOM_SCM_VMID_LPASS
>> +						  QCOM_SCM_VMID_ADSP_HEAP>;
> 
> Either put it on a single line or align on QCOM_SCM.
> 
Ack>>
>>  					qcom,non-secure-domain;
>>  
>>
>> ---
>> base-commit: 1701fda2f58e345c050f4309971bdc07cd6146ba
>> change-id: 20260806-agatti-audio-357bcd74ae9c
>>
>> Best regards,
>> -- 
>> Vinayak Katoch <vinayak.katoch@oss.qualcomm.com>
>>
> 


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

end of thread, other threads:[~2026-08-07  5:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 11:14 [PATCH] arm64: dts: qcom: agatti: Add memory-region for audio PD Vinayak Katoch
2026-08-06 12:12 ` Dmitry Baryshkov
2026-08-07  5:46   ` Vinayak Katoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox