From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DC2129E0F7 for ; Tue, 4 Nov 2025 09:00:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762246806; cv=none; b=D9ZYu/kwfDCXuv1O2yxdAJ1CUDiBMIGIBGWOpj+ojRwrzzuYhvfLlh2ok4mIgrD6t2hq5Y8+RsFa2YxjmzhQ+J/xJzzhoiR3pLF9D7W8wkoMafAggiAH8czO91ta0WxV/xpWEpUSnZYj8ON1TdfVxoxJ+Mhzn1Otsfl7ymSUgnU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762246806; c=relaxed/simple; bh=VJU336hhaZ8Y/i6Xvn0BgBPS0c+fzGU7RnkAwGDvQ9Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JIlntiaND4jh6/BJWmbP+WI4mcRbDvMBTF5WrZMxf37b+tTMmjeWyHB+/tZVvSBp19u1MMdy5DcK9oZYU/twu32lQRv8uelRF2AnB6ZJgUnx9yKux8VZts/P1DNfY/fEj8HHfV1AyiuISSQ0Xp8Y0VGt9J3zCNy8K1dimCFJyeE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=ezN95ukD; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ZcotNVSx; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="ezN95ukD"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ZcotNVSx" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5A48gfkv1470198 for ; Tue, 4 Nov 2025 09:00:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= FrTRTlMklQUT47bJopQ4g/PDBm+i0TkfnULzFf7+la0=; b=ezN95ukDqw+8IbFR PcQuVwcQj0+UzlvaaxgBudiKztG3cga3573GcFZ1A41xwcIi19gw+ZpMKSHjXM2i WxQwNpH68VdoArv8fwrPQv/q0ieyFNOt1n+jISkPHZC3IoHhrDEyVpefAOqdwhCm J26iHFQcfs9o7G30fqp0aJ/WYQ75dSF8S6ObX9cwWIBF8ky1YBoxyQDw6Z6epak6 2z+QddTdI1ll4LSeIh4a6UB89JhhPi6I2PISBp+br4lyMdg2w1lFzwTHrYOWTQN8 JbLKMZpAwrAY4ITt261F91uwf2VUXF/MV2MnlL3n6Igr9p5+KuEb/eb3D/dCl6AQ KO55Gg== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4a70ffjbgh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 04 Nov 2025 09:00:02 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-b62da7602a0so4382682a12.2 for ; Tue, 04 Nov 2025 01:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1762246802; x=1762851602; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=FrTRTlMklQUT47bJopQ4g/PDBm+i0TkfnULzFf7+la0=; b=ZcotNVSxhsC4WfCMBdY1D8WLi5o6I7HavW57zx0F5NOdYjngfIOj4J33TT6ynFzNW1 V1hB+8L5FijnoJKQvA45NBoOHA0+RPCmw1ccY24qGROTw19IUCoGnWibaFW70W4Z3tmg i2aeTS7qGie9W81izdKGe9q5MZG4xP+vHXxRIJZkOJGVYQ7v0D9T1YqXtlTowGjIxklw tQ8B2vQNclD0EFWvoQ5e6tbTwcinHuT66ad+HTZ8HsTRbh08D/T0Sf7UqV081YRK8cWl 3ohdpxDKUW5gH9DkH0OhvbPyqra6Ww0S2B5ez9RYH+yODrKwr5+KNPyR/u23R1j5tEsc jXiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762246802; x=1762851602; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FrTRTlMklQUT47bJopQ4g/PDBm+i0TkfnULzFf7+la0=; b=CpPzr9zaEt/0ZePPUdpVPM/v83oLigVztwnxFAnXsqHqNt2voyqc6R+2osS0nDMfTG TiG+/2TOdArxwaq6K44A0iy3CJ5IAGcIsXomLbJL41HIO49umQOlVBP+HrIgUxpLmIs4 rAMOLK3sNjL6+vzGxtMxHLm5fV/K9iIscMVJCEdDVL3xJIdXpKjnDSkCw8ADSbnARyUD Qkv13ywMK/+yRsbviH8L6b0AhZD1WffjH+U2F7VQ0OauVkCW/CD/3jQcFuqKODaMrrXd 5J1l13/KkECfHemUxxsybk0UWJHLOXosBjZCBLtGog3Jvi68tmUn70a5kKFZrhrdD7pg 6F7g== X-Gm-Message-State: AOJu0Yx0pVBFJPqLIWOVGETWqhh7p66Ub2SZmoks/hvHeG4TbazIeq1j vl9kwUEl3ZuipdJlQhRgjBE+oP1v5hexsh1oy2pew8UdgAmEG9DLXkcVBI3K9zv2YhCijRTRGFQ ONNYs/9IOf6rj8tCcy2iwE1uq6o42Ffrt3QlBjXg9p1WwfvRLKFDW2EYZRslWee1ocxaz X-Gm-Gg: ASbGnctBk1f7KE4BERmM2UDsdWjtWPjbm3JLqGKN/om0jmPlP2GP+aBuE5e112/SwHb AWRerJD4dDuc/Tw8yuS3+BptDx0ckVUPg4M9GJbgZAkMfnQu/jqc3WkmyltTq9S4jAbuJT6tTN7 gpIgOpSoutlIaWtt7a/gzQsaW4ZPXu8MB/yHJmCO+hRe1a99f7bq3iiRvOT2A3Va43OOLAxA91P CHAYMri5u0DP+56473rCfx0D2+z6Rjf3+bAqcRtQQqBFzeh/bW+f7w3wpUy9sDlb7LLl69iaBEa SFj59qq1nZcaLBypu/5KMulzGe6Chcol2PYsEoUnfl7KSK8lsH/uyA1IXbmE97WFtk1fdNefqV0 vtQ9YOdL1isvGGPJmjPlpnEesavhBZOF6OzijxWV+0JIG8ppWiECjZ10RyEGcpVJotPJGCg== X-Received: by 2002:a05:6a21:99a7:b0:342:5ba7:dfa1 with SMTP id adf61e73a8af0-348cc2da1e6mr22678009637.42.1762246801952; Tue, 04 Nov 2025 01:00:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IEXLLh9ZpMe31D/zrlefkNxbOKYpTy3/NGJojCkBE/8HyKDsARgDlkuua4gZSMzgowveEGglw== X-Received: by 2002:a05:6a21:99a7:b0:342:5ba7:dfa1 with SMTP id adf61e73a8af0-348cc2da1e6mr22677970637.42.1762246801383; Tue, 04 Nov 2025 01:00:01 -0800 (PST) Received: from [10.133.33.122] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7acd3246e70sm2158624b3a.5.2025.11.04.00.59.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 04 Nov 2025 01:00:00 -0800 (PST) Message-ID: Date: Tue, 4 Nov 2025 16:59:53 +0800 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 07/20] arm64: dts: qcom: kaanapali: Add remoteprocs for Kaanapali SoC To: Alexey Klimov , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , kumari.pallavi@oss.qualcomm.com Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, aiqun.yu@oss.qualcomm.com, tingwei.zhang@oss.qualcomm.com, trilok.soni@oss.qualcomm.com, yijie.yang@oss.qualcomm.com References: <20250924-knp-dts-v1-0-3fdbc4b9e1b1@oss.qualcomm.com> <20250924-knp-dts-v1-7-3fdbc4b9e1b1@oss.qualcomm.com> Content-Language: en-US From: Jingyi Wang In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=esbSD4pX c=1 sm=1 tr=0 ts=6909c092 cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=R5xm6WvEqxduZyTZtAkA:9 a=QEXdDO2ut3YA:10 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-GUID: bqEd9Uezp6yKkJvVsfXaQ55t02mVnXhH X-Proofpoint-ORIG-GUID: bqEd9Uezp6yKkJvVsfXaQ55t02mVnXhH X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTA0MDA3MyBTYWx0ZWRfX3V/6Zk4uxg5Y xl7NRNlaREsem4inwJjAuLtCH9h+cL4L+lR0QRBRojcqn2VShTnvqEr+PMJugImO7Oy6ygSbf93 S+7/SK0+6OGKwEjRJ2xTULj4erR3Obz6crlb8WYihpAxhWTQLjg3kgLHCs0cJ85eTl3EXjLeFOs cetv5/fUwRs8+8V/PCndjkdvROLdDeV4vqC4kbcvFpgtaCUNdmYKSgreuHDm3XxCY9GacfjkpUx eemhB7vXVKhOMEP41UfaOIpAqwMfE7z7+rh1Um2ykJZyt30hX7uJwoxMpvnukcQtsE0J60DF4no OP089YWlAtznOr2c5nLmArgYKJc4t7muwvyrafE6QTyTjVIRO5KsTjCrRn0aguPqvM7L2wrSMGp FYvwfwuFgbX7dGBUShga/xg3ZF2B2A== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-03_06,2025-11-03_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 clxscore=1015 priorityscore=1501 adultscore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511040073 On 10/1/2025 1:24 AM, Alexey Klimov wrote: > On Thu Sep 25, 2025 at 1:17 AM BST, Jingyi Wang wrote: >> Add remoteproc PAS loader for ADSP, CDSP, MPSS and SoCCP with >> its SMP2P and fastrpc nodes. >> >> Written with help from Kumari Pallavi(added fastrpc). > > Co-developed-by tag then maybe? > > Also I don't see this name in email addresses. > Hi Alexey, We got review comments to merge dt changes in one patch, we are still discussing on how to organize next version, I think we can add the Co-developed-by tag if remoteproc is sent as a single patch in next version, "Written with" description will be used to avoid SOB chain too long. Thanks, Jingyi >> Signed-off-by: Jingyi Wang >> --- >> arch/arm64/boot/dts/qcom/kaanapali.dtsi | 484 ++++++++++++++++++++++++++++++++ >> 1 file changed, 484 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/kaanapali.dtsi b/arch/arm64/boot/dts/qcom/kaanapali.dtsi >> index 08ab267bf9a7..c3b38fd851c5 100644 >> --- a/arch/arm64/boot/dts/qcom/kaanapali.dtsi >> +++ b/arch/arm64/boot/dts/qcom/kaanapali.dtsi >> @@ -438,6 +438,121 @@ rmtfs_mem: rmtfs@d7c00000 { >> }; >> }; > > [...] > >> + remoteproc_adsp: remoteproc@6800000 { >> + compatible = "qcom,kaanapali-adsp-pas", "qcom,sm8550-adsp-pas"; >> + reg = <0x0 0x06800000 0x0 0x10000>; >> + >> + interrupts-extended = <&pdc 6 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_adsp_in 0 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_adsp_in 1 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_adsp_in 2 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_adsp_in 3 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_adsp_in 7 IRQ_TYPE_EDGE_RISING>; >> + interrupt-names = "wdog", >> + "fatal", >> + "ready", >> + "handover", >> + "stop-ack", >> + "shutdown-ack"; >> + >> + clocks = <&rpmhcc RPMH_CXO_CLK>; >> + clock-names = "xo"; >> + >> + interconnects = <&lpass_lpicx_noc MASTER_LPASS_PROC QCOM_ICC_TAG_ALWAYS >> + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; >> + >> + power-domains = <&rpmhpd RPMHPD_LCX>, >> + <&rpmhpd RPMHPD_LMX>; >> + power-domain-names = "lcx", >> + "lmx"; >> + >> + memory-region = <&adspslpi_mem>, <&q6_adsp_dtb_mem>; >> + >> + qcom,qmp = <&aoss_qmp>; >> + >> + qcom,smem-states = <&smp2p_adsp_out 0>; >> + qcom,smem-state-names = "stop"; >> + >> + status = "disabled"; >> + >> + remoteproc_adsp_glink: glink-edge { >> + interrupts-extended = <&ipcc IPCC_MPROC_LPASS >> + IPCC_MPROC_SIGNAL_GLINK_QMP >> + IRQ_TYPE_EDGE_RISING>; >> + >> + mboxes = <&ipcc IPCC_MPROC_LPASS >> + IPCC_MPROC_SIGNAL_GLINK_QMP>; >> + >> + qcom,remote-pid = <2>; >> + >> + label = "lpass"; >> + >> + fastrpc { >> + compatible = "qcom,fastrpc"; >> + qcom,glink-channels = "fastrpcglink-apps-dsp"; >> + label = "adsp"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + compute-cb@3 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <3>; >> + >> + iommus = <&apps_smmu 0x1003 0x80>, >> + <&apps_smmu 0x1043 0x20>; >> + dma-coherent; >> + }; >> + >> + compute-cb@4 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <4>; >> + >> + iommus = <&apps_smmu 0x1004 0x80>, >> + <&apps_smmu 0x1044 0x20>; >> + dma-coherent; >> + }; >> + >> + compute-cb@5 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <5>; >> + >> + iommus = <&apps_smmu 0x1005 0x80>, >> + <&apps_smmu 0x1045 0x20>; >> + dma-coherent; >> + }; >> + >> + compute-cb@6 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <6>; >> + >> + iommus = <&apps_smmu 0x1006 0x80>, >> + <&apps_smmu 0x1046 0x20>; >> + dma-coherent; >> + }; >> + >> + compute-cb@7 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <7>; >> + >> + iommus = <&apps_smmu 0x1007 0x40>, >> + <&apps_smmu 0x1067 0x0>, >> + <&apps_smmu 0x1087 0x0>; >> + dma-coherent; >> + }; >> + }; >> + }; >> + }; > > Fastrpc nodes here. Was this tested? If yes, then how? > Or was it just copied from somewhere from downstream? > > The same questions basically go for cdsp fastrpc too. > +Kumari, could you please comment on this? > > [..] > >> + label = "cdsp"; >> + >> + fastrpc { >> + compatible = "qcom,fastrpc"; >> + qcom,glink-channels = "fastrpcglink-apps-dsp"; >> + label = "cdsp"; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + compute-cb@1 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <1>; >> + iommus = <&apps_smmu 0x19c1 0x0>, >> + <&apps_smmu 0x1961 0x0>, >> + <&apps_smmu 0x0c21 0x0>, >> + <&apps_smmu 0x0c01 0x40>; >> + dma-coherent; >> + }; >> + >> + compute-cb@2 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <2>; >> + iommus = <&apps_smmu 0x1962 0x0>, >> + <&apps_smmu 0x0c02 0x20>, >> + <&apps_smmu 0x0c42 0x0>, >> + <&apps_smmu 0x19c2 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@3 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <3>; >> + iommus = <&apps_smmu 0x1963 0x0>, >> + <&apps_smmu 0x0c23 0x0>, >> + <&apps_smmu 0x0c03 0x40>, >> + <&apps_smmu 0x19c3 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@4 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <4>; >> + iommus = <&apps_smmu 0x1964 0x0>, >> + <&apps_smmu 0x0c44 0x0>, >> + <&apps_smmu 0x0c04 0x20>, >> + <&apps_smmu 0x19c4 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@5 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <5>; >> + iommus = <&apps_smmu 0x1965 0x0>, >> + <&apps_smmu 0x0c45 0x0>, >> + <&apps_smmu 0x0c05 0x20>, >> + <&apps_smmu 0x19c5 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@6 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <6>; >> + iommus = <&apps_smmu 0x1966 0x0>, >> + <&apps_smmu 0x0c06 0x20>, >> + <&apps_smmu 0x0c46 0x0>, >> + <&apps_smmu 0x19c6 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@7 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <7>; >> + iommus = <&apps_smmu 0x1967 0x0>, >> + <&apps_smmu 0x0c27 0x0>, >> + <&apps_smmu 0x0c07 0x40>, >> + <&apps_smmu 0x19c7 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@8 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <8>; >> + iommus = <&apps_smmu 0x1968 0x0>, >> + <&apps_smmu 0x0c08 0x20>, >> + <&apps_smmu 0x0c48 0x0>, >> + <&apps_smmu 0x19c8 0x0>; >> + dma-coherent; >> + }; >> + >> + /* note: secure cb9 in downstream */ >> + >> + compute-cb@12 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <12>; >> + iommus = <&apps_smmu 0x196c 0x0>, >> + <&apps_smmu 0x0c2c 0x00>, >> + <&apps_smmu 0x0c0c 0x40>, >> + <&apps_smmu 0x19cc 0x0>; >> + dma-coherent; >> + }; >> + >> + compute-cb@13 { >> + compatible = "qcom,fastrpc-compute-cb"; >> + reg = <13>; >> + iommus = <&apps_smmu 0x196d 0x0>, >> + <&apps_smmu 0x0c0d 0x40>, >> + <&apps_smmu 0x0c2e 0x0>, >> + <&apps_smmu 0x0c2d 0x0>, >> + <&apps_smmu 0x19cd 0x0>; >> + dma-coherent; >> + }; >> + }; >> + }; >> + }; >> + > > Best regards, > Alexey >