From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 BB18032A3FF for ; Fri, 13 Mar 2026 06:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773381913; cv=none; b=WLOLED/03QT1JrMVn5G2gdyYeTOUbAWxmM1b0RmVMgqO/ahRgKBSfn1fDrJCmpShDSPKNBm9ORrfe+8FN7fqvmd8hEKr5sYseG8sU7EFw8FjQH7CxUlfwTBnlrjHsBX7YG14DTCMPwIv9aHMHjbXECVpL62e04HQwFn4N0K+t+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773381913; c=relaxed/simple; bh=JB/usJN3+rbRiZIr1+8g7VPqy6EEuWzOH+oPf8czcUU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p60f3b8mEYwVgNe09QKqU8KsK2rXb+bySxX86RXp88Z2iSlQb9eIKE4ZfhMFBRaIvr0egneoKXrVHf7M+GbZmoQqnxA/1gIbBX0kC6stL0AGG4SBoD79TKrf0wxXEox0bWOLnk0I5nP+7ae/gzd8uAmmBwl7Rw4gm7Lytn3I0tI= 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=QJfMvUBq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=NeU7AxGn; arc=none smtp.client-ip=205.220.180.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="QJfMvUBq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="NeU7AxGn" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62D5tdaB1574564 for ; Fri, 13 Mar 2026 06:05:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=zeM7gmRvWE3zPnFK+DBIUx8d 4QuC9ACWMKfdIK3rw1I=; b=QJfMvUBqwcfY9u+taSrVQqTd80hEJj12tOwH5Q9j xaX9k0s8mlDbhIGsyeV7Sv2muOCdElzAqOAi1FkgvuzsypAnc9KVBF/OhZbRfuI0 eP3/swrWAVVyoStb5e+YPt30JEOc7NG6psZJycX4CZ0mekZSKIfbVV2E1p5/Ff1p UXQnYl2ePnKSwUKn85QTF0fvIYjitY+MK2kohDZ7/b+AXxSNk2IYy0TqJGFJTwzA PuKJfdmvTc5N2rmnW1mvZXsxdjvfMVtx5kAOry1BM8k/Jy/nrsUlXLxe3dy8zJDP OluuQkZYpex1FDmbDCQwjYuzgihFZk+Hwmeljq/GFawn8A== Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cuh53mq2n-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 13 Mar 2026 06:05:09 +0000 (GMT) Received: by mail-pl1-f199.google.com with SMTP id d9443c01a7336-2aec3f67844so13251865ad.3 for ; Thu, 12 Mar 2026 23:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773381909; x=1773986709; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zeM7gmRvWE3zPnFK+DBIUx8d4QuC9ACWMKfdIK3rw1I=; b=NeU7AxGndEWvTlbIu+rGi8hAXScOCSM6lVidJHAf13QLWJiRjRarEiJ52OV9FC/t8C fw8mLzlNM/ajeNlgNdYitWZz6nLZTpS8Akt+wZUQZUzVwifVlqA7iEoFDh0ONpzxQP1u JNc4Uof5ODbUj4b6n0+4EbzXOpsTvHY3ehpXP4K1cJAZB9ve2beajZaTXV1U3tpIDol/ z5gbpbfw+0rkTrySn9fFXj8IP1aJNhMO0gleUgl5QgLIKcbsrxLWnsqtL6vtRslIxwa2 R89ifkNclMVrDwDHtH6aqmOb7Vx/t5FO2VWzs+ATUBBeV3ke3Mu+0/XvtvZhOI7m0io/ C9vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773381909; x=1773986709; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zeM7gmRvWE3zPnFK+DBIUx8d4QuC9ACWMKfdIK3rw1I=; b=h0t2GsHBUjSWubDV3p6PCPkuiN5xyDIhIVn1CFz/aHONrjKJDcK1QUBq+db7if+G84 fpAxij80IqtyjjUEVtjcG1CRZKU/M+T0kqmhTSK2YdxGiT0qZwI6lVdFjOpQtPELLE35 G2jBzFgdCQM+Q1iadxSmpWELn6gQrPBLyEaYJsHvD2c/ODGqtmUzieJ7Zm093VICSJ/q J2L0k9w19UIygo3Grv6FNAeOtqLyit8cjg1qXFJonwOw3FxCEhnLNsDIGYlM5SdB3yFr AYafhVDnD5D6a/ihuL+V39avQTFId8CR9usqD2OJ2qxxzSBgQyBl1U7uDChXWEtniVl2 ZlwQ== X-Forwarded-Encrypted: i=1; AJvYcCUBKr1G3WyZGWlPHu1FTmXiqijrvxNMxOqv3NhnN3kC1ecm2Dbqz28mIn16OyZOc3ad55jGiM9ddR4LVqHIlw==@vger.kernel.org X-Gm-Message-State: AOJu0YzPybvNfyegmiud0f7QyxouBdUGWQFDo62Dq65HwhGqOneyUWVj fQSjTDMR+dzW14o4z7iTOTtNRuMQd+ZMU7gQ/l3Nf8RpnM1GFtoNFWL9Ctm5RLdYKTpegFPS6AU gXv154IwgjE9dHzZMWLqy643/xyFZwEk3qoZPxuH18syDgM0lrlDXzlQF2wKN6ADKJML0ew== X-Gm-Gg: ATEYQzwB9sFlwkc3OrStUHaliP+39+KmGy8fbZiCWZ9YVSbYw9/5EGkLDNV+xtHa2U6 ewkk4had/zdYB67ZGAEVOZDKdmzKohYADCxZ0Il93bWsrputVJsihzsgoKYPbgxo4sTa7otoH/S leAE490sd9LLsGqVOQsw1W0nnvOM5Y0Zvf3822+ru+dYsL+Hy4GzokcAueoTtXKrLLRkTkaAsDr yvA62olpg5+X4cbEyObvJHSAmrdfCRwDCqhRJGkZ5pAeUHPamGEQ5Jt2xZLUMXYtS3sPbqNa2kC DfGAw5BBnzaxE2PpJ0pqp3GH6AvnZ4yFSd1HvopdgBSKrLxq7M7aB/NnrkBkePWItN+0OQsF/qh T2VaDLz+QehpB7eCzO5HNE00LworMKNjlq88JkhW5Kg5j8la+ X-Received: by 2002:a17:902:e80c:b0:2ae:a786:6663 with SMTP id d9443c01a7336-2aecab1e86cmr19453455ad.26.1773381908511; Thu, 12 Mar 2026 23:05:08 -0700 (PDT) X-Received: by 2002:a17:902:e80c:b0:2ae:a786:6663 with SMTP id d9443c01a7336-2aecab1e86cmr19452995ad.26.1773381907930; Thu, 12 Mar 2026 23:05:07 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2aece7ee5b1sm10183605ad.46.2026.03.12.23.04.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Mar 2026 23:05:07 -0700 (PDT) Date: Fri, 13 Mar 2026 11:34:51 +0530 From: Mukesh Ojha To: Sumit Garg Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, ath12k@lists.infradead.org, linux-remoteproc@vger.kernel.org, andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, robin.clark@oss.qualcomm.com, sean@poorly.run, akhilpo@oss.qualcomm.com, lumag@kernel.org, abhinav.kumar@linux.dev, jesszhan0024@gmail.com, marijn.suijten@somainline.org, airlied@gmail.com, simona@ffwll.ch, vikash.garodia@oss.qualcomm.com, dikshita.agarwal@oss.qualcomm.com, bod@kernel.org, mchehab@kernel.org, elder@kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, jjohnson@kernel.org, mathieu.poirier@linaro.org, trilokkumar.soni@oss.qualcomm.com, pavan.kondeti@oss.qualcomm.com, jorge.ramirez@oss.qualcomm.com, tonyh@qti.qualcomm.com, vignesh.viswanathan@oss.qualcomm.com, srinivas.kandagatla@oss.qualcomm.com, amirreza.zarrabi@oss.qualcomm.com, jens.wiklander@linaro.org, op-tee@lists.trustedfirmware.org, apurupa@qti.qualcomm.com, skare@qti.qualcomm.com, linux-kernel@vger.kernel.org, Sumit Garg Subject: Re: [PATCH v2 01/15] arm64: dts: qcom: kodiak: Add EL2 overlay Message-ID: <20260313060451.hswg6snnnexchmzs@hu-mojha-hyd.qualcomm.com> References: <20260312062756.694390-1-sumit.garg@kernel.org> <20260312062756.694390-2-sumit.garg@kernel.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260312062756.694390-2-sumit.garg@kernel.org> X-Authority-Analysis: v=2.4 cv=ZN/aWH7b c=1 sm=1 tr=0 ts=69b3a915 cx=c_pps a=JL+w9abYAAE89/QcEU+0QA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=kj9zAlcOel0A:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=EUspDBNiAAAA:8 a=D5leSQ3MSkE6s3ds0kQA:9 a=CjuIK1q_8ugA:10 a=324X-CrmTo6CU4MGRt3R:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzEzMDA0NyBTYWx0ZWRfX6evQLq8U84M8 sGZDEYWlzWQvOaGPCiFhvKSV01Els9RAaKb+N42+dNXep8qeCGIt2Zc9Ih6wYZenQGfuVzWrsgC BGZ7EQ72sw4HB2u0NHaRRgazVFIFwFpo6wFLJFUdXsMs0FwAFPisdbYATB4pu/nxitwMFBK7bhp g1lce/ZoVJv4145CFGiZTa7Lvixy4sOpHUWvdDmOnj+fALSZP97O3Nze/L343G3/4Zs28DJjqdj 6nyBR5VYgDgp8zBZ/AZaHjd6znHunKBX4bJvGKPXbaYseg+TP8aDoAajD+ZVzYVwLMqOuLLpN1z 7FucTq6u+6Jc1MmpHkHuVsxyHqIl8u8chUumSWkjOg3rQjKPxZmeJ6A/YxEumga3nJOFJNSOwEQ aLQT2vRrrLvPspb+3VdPDRc4dAUWAAlTeU8JLqDAHywNL7dzq3asCbpV8mShaFfyVqIjAuPKjs+ 0/8X7/w0g+R9BjLzVGQ== X-Proofpoint-GUID: rQF8y5n3IOXqhBEJUF9-R5UwtqyXagyu X-Proofpoint-ORIG-GUID: rQF8y5n3IOXqhBEJUF9-R5UwtqyXagyu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-12_03,2026-03-12_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 phishscore=0 adultscore=0 malwarescore=0 bulkscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603130047 On Thu, Mar 12, 2026 at 11:57:42AM +0530, Sumit Garg wrote: > From: Mukesh Ojha > > All the existing variants Kodiak 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 a EL2-specific DT overlay and apply it to Kodiak IOT variant > devices to create -el2.dtb for each of them alongside "normal" dtb. > > [1] > https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-4/boot-developer-touchpoints.html#uefi > > Signed-off-by: Mukesh Ojha > [SG: watchdog fixup] > Signed-off-by: Sumit Garg > --- > arch/arm64/boot/dts/qcom/Makefile | 2 ++ > arch/arm64/boot/dts/qcom/kodiak-el2.dtso | 35 ++++++++++++++++++++++++ > 2 files changed, 37 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/kodiak-el2.dtso > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index f80b5d9cf1e8..09a7f943190e 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -139,6 +139,8 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb > +qcs6490-rb3gen2-el2-dtbs := qcs6490-rb3gen2.dtb kodiak-el2.dtbo > +dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2-el2.dtb We may need to add for couple of more variants.. > > qcs6490-rb3gen2-vision-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-vision-mezzanine.dtbo > qcs6490-rb3gen2-industrial-mezzanine-dtbs := qcs6490-rb3gen2.dtb qcs6490-rb3gen2-industrial-mezzanine.dtbo > diff --git a/arch/arm64/boot/dts/qcom/kodiak-el2.dtso b/arch/arm64/boot/dts/qcom/kodiak-el2.dtso > new file mode 100644 > index 000000000000..0b3a69a0d765 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/kodiak-el2.dtso > @@ -0,0 +1,35 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. > + * > + * Kodiak specific modifications required to boot in EL2. > + */ > + > + > +/dts-v1/; > +/plugin/; > + > +&gpu_zap_shader { > + status = "disabled"; > +}; > + > +&remoteproc_adsp { > + iommus = <&apps_smmu 0x1800 0x0>; > +}; > + > +&remoteproc_cdsp { > + iommus = <&apps_smmu 0x11a0 0x0400>; > +}; > + > +&remoteproc_wpss { > + iommus = <&apps_smmu 0x1c03 0x1>, > + <&apps_smmu 0x1c83 0x1>; > +}; > + > +&venus { > + status = "disabled"; > +}; > + > +&watchdog { > + status = "okay"; > +}; rb3gen2 has modem as well, did we test that as well ? -- -Mukesh Ojha