From daad2c1ce53e8614e74c3f5170f1fef41e7e9cff Mon Sep 17 00:00:00 2001 From: Patan Saddam Date: Tue, 15 Oct 2024 14:22:09 +0530 Subject: [PATCH 1/3] arm64: dts: msm: Enable compilation of dt project for kera Enable compilation of devicetree files in opensource dsp-devicetree. Change-Id: I0ffdd35cb09c8b3e953faae511c438e3002f2024 Signed-off-by: Patan Saddam --- Kbuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Kbuild b/Kbuild index 7e40c673..29f9fa35 100755 --- a/Kbuild +++ b/Kbuild @@ -26,6 +26,14 @@ dtbo-y += tuna/tuna-dsp.dtbo endif endif +ifeq ($(CONFIG_ARCH_KERA), y) +ifeq ($(CONFIG_ARCH_QTI_VM), y) +dtbo-y += kera/kera-dsp-trustedvm.dtbo +else +dtbo-y += kera/kera-dsp.dtbo +endif +endif + ifeq ($(CONFIG_ARCH_MONACO), y) dtbo-y += monaco/monaco-dsp.dtbo endif From 357167c25c81fbc3dcd2e214f40a7b94653e7417 Mon Sep 17 00:00:00 2001 From: Patan Saddam Date: Mon, 28 Oct 2024 10:24:13 +0530 Subject: [PATCH 2/3] ARM: dts: msm: Add tuna APQ SKU soc id Add tuna APQ SKU soc id. Change-Id: If7b7f1271f49776b205a8f2044eb5202d4ba4dea Signed-off-by: Patan Saddam --- tuna/tuna-dsp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuna/tuna-dsp.dts b/tuna/tuna-dsp.dts index 16e2dc3e..e3132278 100644 --- a/tuna/tuna-dsp.dts +++ b/tuna/tuna-dsp.dts @@ -11,6 +11,6 @@ / { model = "Qualcomm Technologies, Inc. Tuna v1 SoC"; compatible = "qcom,tuna"; - qcom,msm-id = <655 0x10000>, <681 0x10000>; + qcom,msm-id = <655 0x10000>, <681 0x10000>, <694 0x10000>; qcom,board-id = <0 0>; }; From a1df76367c92dbd9c7f5ed07ce84ec36e78884c3 Mon Sep 17 00:00:00 2001 From: Liam Mark Date: Thu, 14 Nov 2024 16:29:30 -0800 Subject: [PATCH 3/3] arm64: dts: msm: Increase GLINK intents There is currently a potential for a deadlock in the DSP when it wants to send a GLINK message but is waiting for an intent. Increase the number of intents to 1 more than the number of DSP supported threads so that the DSP won't have to wait for intents. Signed-off-by: Liam Mark Change-Id: I8503886606027df45d6bcd2f4492a484cdc84696 --- sun/sun-dsp.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sun/sun-dsp.dtsi b/sun/sun-dsp.dtsi index d4cbd384..95f193ae 100644 --- a/sun/sun-dsp.dtsi +++ b/sun/sun-dsp.dtsi @@ -2,7 +2,7 @@ qcom,fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; - qcom,intents = <0x64 64>; + qcom,intents = <0x181 64>; label = "adsp"; memory-region = <&adsp_mem_heap>; qcom,vmids = <22 37>; @@ -83,7 +83,7 @@ qcom,fastrpc { compatible = "qcom,fastrpc"; qcom,glink-channels = "fastrpcglink-apps-dsp"; - qcom,intents = <0x64 64>; + qcom,intents = <0x3fA 64>; label = "cdsp"; qcom,fastrpc-gids = <2908>; qcom,rpc-latency-us = <235>; @@ -264,4 +264,4 @@ alloc-size-range = <0x0 0xFFFFFFFF>; }; }; -}; \ No newline at end of file +};