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 16FCA352C47 for ; Fri, 30 Jan 2026 09:24:27 +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=1769765069; cv=none; b=dKAJWrPTKedQpK8HFVeeDp5T9qSnXzYRLnufYuEpMIol2hscuhTsmti5bYUaqiFuaMx2KFmSAAQUs7hjf8nqzhOrPCqh2kAMC+gBKhqAaGJugo/3RtTLP0snExPe2/5oBUYqtt32BojyQ8OkYZGeKCaYvaUMR1PYxSxtl6sFNHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769765069; c=relaxed/simple; bh=x9KQggMvdBzW2XWw0prsmdNny5w/coy431YP3PWuX0o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=GJZNs7m2F6LOvPBKf7U6MNp2feRruxfX+0CgDy41HRt7gMBFNcXhBAeAmjGRDVBlssTNJQuqPTk3iVe/YXIBHGT+TriW1hiH9j4aQ62ln7yAM9aWlrGHCpkhyDBCjoq7ioSdkQrVMvNKrpuG1DyqiUY9tdsXIlOLRdsz/DWPSrU= 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=d1OXnJhf; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=N0hn0PmF; 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="d1OXnJhf"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="N0hn0PmF" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60U3W21F1902453 for ; Fri, 30 Jan 2026 09:24:26 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= 0/rZU3GM7qaI3gxk5HPWg0rEGI+6crLKyL1un6ZegdE=; b=d1OXnJhfV2Vp3VsR q0V2/RrXDUco3w+/2BAti3UOJg/TpcaQnKMjOcnNSSDgE5t3Z+asRU8Zh/J6ZvCn forJTCBdON5ZsrZ6NyAAHmOx3N3KfyBuuI+LGHrF9jQUvcytoI/9KIMF688AqZqy JxJZylMi8wpQp6QJ1YcATlzo8fbFZ3vQLwrPUogXqERGa7300CUjtmjLk4oy04ht mkxzSzps+3o3wEGqTWFb17sj9wEKzYOJDuzp9QI51ibjcmXSpVe7WQeQkf25ZHZx dkmEEdLm3jw8NPwPygc+m7H+W7A2n2IJqYMDcDoetWGxh8DUHDs9pE3Si31OFOGH QaMogQ== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4c05sebxvj-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 30 Jan 2026 09:24:26 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-8c533f07450so13265385a.0 for ; Fri, 30 Jan 2026 01:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769765065; x=1770369865; 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=0/rZU3GM7qaI3gxk5HPWg0rEGI+6crLKyL1un6ZegdE=; b=N0hn0PmFyWjvrjC/5HhIBSgAmQewBJJWXrPjepQjzSjCkSNCZoxDiIyHoVShXUskUE xrTh1Y5h6I891Y1f+txAwImds0cKxrm2v/3XLm9DThq+B6C2cBZk0Qf53YTRzFDguPwe zHSh15p4/K6aoaQY8O+UrjlRMTjRkz1vCYsRTSlAnMgFSXLXnb4s35m1FyWSyf13NwxV 4JRf4CsfSZgcasyGuhltO+WrKrAyu30LLRBFmYe8Vl6S2oou5gLPUbwAT707D9O/dHSW DYdtWQqYKudqylwT0eQT0zJ3GItYxaKabWfmtdL0CrDpiT4LK8Wd9hZsjMjuarPeXXfj 98YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769765065; x=1770369865; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0/rZU3GM7qaI3gxk5HPWg0rEGI+6crLKyL1un6ZegdE=; b=Y2Lr5yhOvY59xXlZ9A9mT5RRePYqdbr7qY9NV6HShPl9IhY5JkXIlx+nCRe7p+DAdA jFFqGiJTSHrDqykQ7JEvg++cc33trufeqShl+khlw3lNFAnZW0XGQUINL0g1lFGCW51x tJd8g7/Iqrwi2JWPehtPkqzPEhKPegfHlAU/KsGPWdj/E5lJ7JKD8y+4CvXrm0P/S2g/ WWo2AC++SkYrcw9H/X6ePidOMG0dZFgpe+BxpHSp8IgXGVV0v5n7eFd7aiKwttm9c4pE RnhiiF93ttu4ib51eSN9DTNPjO8sFWtX98YfmIXORl9vT4QmzKH1h2lILcMAfFuD6/cR 5+LA== X-Forwarded-Encrypted: i=1; AJvYcCXyGApijV6ahyOlT3JVmuCFPCpg5RNiKpOsiZUYlJVCh2cCmZMdK9KSkSI3K88eZFgphpwoE6ZcWxyy33A=@vger.kernel.org X-Gm-Message-State: AOJu0YyCsqBBJgNR84z+VM3eqsp8wePYYurhNS/3TgGChVSeGYCpVcWn vUWpu2Hbvz1s3KSNTw0s/HJ2yRgKwqBCVnoaJ0dLqRa7q/tIUtjmAfWENRF/uCPv1Mprx49e7zC NYMwo6nhijfC+FeoIAy2GCygXUXyPk5yql0jaZK+oevSEYeqaud6ZFM6pqMXkN5mrUKo= X-Gm-Gg: AZuq6aI/h6hAJsNTVGeABap2auq14P7C/0Y+LK7D8/Rcc5CdqMdQlIHmRkmi+JLbIoy x8K227Q+BcDNftWOi8x73Tz0uoLQAwx24vgvHMNMouqKMOsR7PYB1j9b+tjadtMZcVJywaBvNu2 OXU624yZcC0FNLYDWySCI89jrT5SooqARayHeXdUrSvaHup5Jt8rx/TYRUKmINbtgCjj2pIv7TM hBmFVu6WM/QU5YphTePJQPSWz3QoJmjE2xpxUNNynHCVYXvEJM9nPSk4b97dRpk5LiZRShezcyY 8BeXTLSVG4WSET6NASnKBZ+7uCuz5tNbQ7qBGIZ9LhvJb7Hnj+TdGNLoZjpx9GmWvdkbkAK9O++ 8hnjvti4S8yDbYK44Eag3hz7v4zM51aBP+KgyazKva270PaMh9bf4oPrZRIARbQxR1fk= X-Received: by 2002:a05:620a:1714:b0:8c5:33bf:524c with SMTP id af79cd13be357-8c9eb30315dmr261851885a.6.1769765065232; Fri, 30 Jan 2026 01:24:25 -0800 (PST) X-Received: by 2002:a05:620a:1714:b0:8c5:33bf:524c with SMTP id af79cd13be357-8c9eb30315dmr261849785a.6.1769765064712; Fri, 30 Jan 2026 01:24:24 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8ddcc71f56sm258397766b.11.2026.01.30.01.24.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jan 2026 01:24:24 -0800 (PST) Message-ID: <68702c64-7ee9-4571-9fce-0b2d23b3c03d@oss.qualcomm.com> Date: Fri, 30 Jan 2026 10:24:20 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: hamoa: Add remoteproc in EL2 device trees To: Xin Liu , andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tingwei.zhang@oss.qualcomm.com, jie.gan@oss.qualcomm.com References: <20260130073113.3091884-1-xin.liu@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260130073113.3091884-1-xin.liu@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: tZAc59w9Uqh1mAT6r50kbQtntBCm9YvR X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTMwMDA3NSBTYWx0ZWRfX9OGIVEwfspqM jSIniaFplBirbMlFl2Ow3Eb4yj0fv3gdphohh8/lA8hO//m46v/z1pPv3XG1ai9C+Wot3XCUcwS HkBlz2RL+lNv/NLxKngiJY5aTMikCD6u5f1rlupUPUbolm0ri5cKhAGzL0x3CjRk3exRomh9Kc7 DB9erbfVq4Avo8xOl/hAJntVKE2wUnvfKxC1G6w5eGe4WDnAhVWOKQSfCaN2tAmZU6MYwK3Thhf wIMf73kAwR2645WEA6cYtcGQd8gO7BEBGEFGHuIfRLt9nibDEz+VEGw9kXd1laaoadPAIFDELjp rbeJgcGWVxkLGS+8dYzsU1cY6pEZOwoWIT6lrqe4Qvj3PTmN3NVSCfpt573EcAeQOxZq3NOTc/E XcFECkbxmgRaMyMql3q1Ne8DUApQ3QE8RjkaFPumjpC/JYzhtkKmPdPZiXiR6i1DuhujLPO1rId GKSEdjEi/tqeDE/ASSg== X-Authority-Analysis: v=2.4 cv=RIu+3oi+ c=1 sm=1 tr=0 ts=697c78ca cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=iBboiVjmBFT1cO5Qy4cA:9 a=QEXdDO2ut3YA:10 a=eSe6kog-UzkA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-GUID: tZAc59w9Uqh1mAT6r50kbQtntBCm9YvR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-01-29_03,2026-01-29_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 malwarescore=0 clxscore=1015 adultscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601300075 On 1/30/26 8:31 AM, Xin Liu wrote: > All the existing variants Talos boards are using Gunyah hypervisor > which means that, so far, Linux-based OS could only boot in EL1 on > those devices. However, it is possible for us to boot Linux at EL2 > on these devices [1]. > > When running under Gunyah, the remote processor firmware IOMMU streams > are controlled by Gunyah. However, without Gunyah, the IOMMU is managed > by the consumer of this DeviceTree. Therefore, describe the firmware > streams for each remote processor. > > Add remoteproc to the EL2 device trees to generate the corresponding > -el2.dtb files. > > [1] > https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-4/boot-developer-touchpoints.html#uefi > > Signed-off-by: Xin Liu > --- > arch/arm64/boot/dts/qcom/x1-el2.dtso | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/x1-el2.dtso b/arch/arm64/boot/dts/qcom/x1-el2.dtso > index 175679be01eb..8279854fd73c 100644 > --- a/arch/arm64/boot/dts/qcom/x1-el2.dtso > +++ b/arch/arm64/boot/dts/qcom/x1-el2.dtso > @@ -52,6 +52,14 @@ &pcie_smmu { > status = "okay"; > }; > > +&remoteproc_adsp { > + iommus = <&apps_smmu 0x1000 0x0>; The mask should be 0x80 according to docs (although the resulting SID is the same) > +}; > + > +&remoteproc_cdsp { > + iommus = <&apps_smmu 0x0c00 0x0>; This looks in line with docs Konrad