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 AFA45364949 for ; Mon, 9 Mar 2026 08:01:07 +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=1773043268; cv=none; b=hbVm//mE/eehlrFQyJ2+yiVDmlN9M8V5VuBdNa64HSzmiRCYeKH3ak2mbZLc5bs9OT/x5rphdhWaXz7zyk8icKZWHCpXi59YY1gpn9b39VBBFWlIDsG6e8aQqy2tHzoNulEBUkb/fxsEA37IUY6E4BCINtsMBaV1dC422Du1ewI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773043268; c=relaxed/simple; bh=E9eJa2G/NHbwHL0+5aMxz06o3Kw/+hG967uBmsXtmkQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gAwwwGU70bXL4gTdvtCLnXrfkkqgwGmKrT/O2oohD6KepYt7ovCQ4PgzCOHYpi5L0X1CdO+6CcdbE9NCnf1p9xmUJrYkuJNoTyIVs3KtK3eojsRNtb/H5qPSzYIvAG+C4Qsqr/0fh6rwLKtESswXmktlTyr82jP4flCM8m1if3A= 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=fBqM2agY; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DfPZD0/Z; 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="fBqM2agY"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DfPZD0/Z" 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 62936dTX716509 for ; Mon, 9 Mar 2026 08:01:07 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=VBEckW3xv13OohSMW4r0y6KB wFyjlc1mZ8nZQwd5Ao0=; b=fBqM2agYzt+n4d3X1D7B5eavas0pkwvoEYXEBgBx PhY0fDezmxs/vQ5cXjllglrAifQVRxJ6pK0HC4xsWnoHamqTvCyNrRWCatpIJMGN /m71aqNhgh83HPv9CQZyy77jEKjGuRGVaVU0qvFugWXS9OFz92feZY0xu4cyf0MJ 6x8WA68ENoipfcYB8MpC3tMdLskCZ3HpLX88fOARF+Nsas4tzyNEhENu1x9PZShj uwmIhk6bYzexLECrE6BrSChso8w4R+29BWhltyJ7A6BhwxfwcP2chShhGJuz9YIP LvuMQM/LGlo7XwC8AzaUdtTXkoqRl2wRPiUezROh/71cHQ== Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cr9qevs9c-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 09 Mar 2026 08:01:06 +0000 (GMT) Received: by mail-pj1-f71.google.com with SMTP id 98e67ed59e1d1-3598d3e3bc7so7460530a91.3 for ; Mon, 09 Mar 2026 01:01:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1773043266; x=1773648066; 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=VBEckW3xv13OohSMW4r0y6KBwFyjlc1mZ8nZQwd5Ao0=; b=DfPZD0/ZnWKOlWJR8qJUYs/m9abJa3BU+CaX6SypJEehbawumoLBiCxaOtvhLK76La hLZI9fLxMqm8yqnIJMLMTr1L8lU++88VabrcI2aUxnIAJyFVaQIm/FUwIVnXZTuzseqM l4RIdA9LGBLUskves4kuzjhTREl5pwBsVHGPbRq0oOC3qoTG5mIpnVfvmzMkuHI8R5hh gtOL6F9vRz1r2suzypMXR3h/xcTIPotVZv0t92W2hA1Yu4WIhgsmkBEM3DEIKrsZrDPw iFgNj5AxdufxikkBUBQFsFRfGtguFjW7P1gzFAO0JhuEX06pjf8gVyc8dw4zlzalym0b 5+9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773043266; x=1773648066; 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=VBEckW3xv13OohSMW4r0y6KBwFyjlc1mZ8nZQwd5Ao0=; b=Z+/vRv9HL/vKWQ/M0uFKOP8RMnIpWsl0eXSUJinWKvlZkBlANRnANl72BRx0LqcJYy mqi9j0bR+1Utsfr9SRIBAMaNHW+/RP+2OTCwb43bkPQOrnKeTTfo8M3dBUPO4Vl5rwDN OxId7wG9GxGC1Yn1/CoLZCyTBm9khKNaFmhTLFpN50MeRnXtSb1DdfK4S9imb7Vtyd9d SWFC7JZOj9XZjhSIAow/6VhDgz8nLMQ9szvNK0xt44ZuevAjSgOyrv67LuopHPWoaZIH 1qart12tlxmsb/C4SyI3xngI8lmc/635lsCkkdZTEC2Ejx5Km1AjH//DUBCLJ/W+UoRr bvuQ== X-Forwarded-Encrypted: i=1; AJvYcCUa9o5kmopvYZ0/Sk15Y205ylQOCVlNZVHY4v8w9LDHgN1Q3ilJULtKGEGe6fhbe7eDpAanCw0cfWK01w==@vger.kernel.org X-Gm-Message-State: AOJu0YxRcCJfrP7mhXF265XgKaPcqc0hGiycaaxvEUyxn9jOpSnScXVR sgJVjVMO7dLLebMc18ms/95IFliKns2aueHNivmgQ6wMBv4BrQ8lW4EiXFnOuw6GH06r7K8kAvJ te7giowcy1fmxj6XJmF+NtNnoI30fgWtl/4DhwEG5KT7G2Za36K2wMKni5N3Lc9zXtQ== X-Gm-Gg: ATEYQzwGkus4gXR3hzEp+w2naRX5qUGhwySK8BQnHSEvHoQ3wfiHDxmuS5/Rm5AgtLQ PgcdAULQZYn8xx8mJAZTEVFAgvtQHG3cAfR3hN2XjlKn/o+5IexhYHlgNANZm52+jFsRsAMYaYe 3VCGD8+1l8ZD90F7nIJs31qsmobT5dv9vwgG/zMSqTmdQpOWPg/m83IIxXVn+zyx8XFYHEXN+fI l8Lld4un5DXLf4vhj9IrrEc/PIePHRcgMyesQ4mAOG86xdID3u5Iy4DqAEw+dmxB254BWRyG7Ll wjvh9jdAKdVmCU45MSZBSpts+ppr+m4X3l1KVWrGbRRpPzEgIakhF+NkC6BuK1HvjjAOpEWy7Zj SBbL8JTZh5aRvyh7eVlmYtshqmL72KSvmAxiBkoBsz/Ah907F X-Received: by 2002:a17:90b:3e45:b0:354:9b3f:710b with SMTP id 98e67ed59e1d1-359be32bc30mr8869570a91.19.1773043266124; Mon, 09 Mar 2026 01:01:06 -0700 (PDT) X-Received: by 2002:a17:90b:3e45:b0:354:9b3f:710b with SMTP id 98e67ed59e1d1-359be32bc30mr8869490a91.19.1773043265451; Mon, 09 Mar 2026 01:01:05 -0700 (PDT) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-359bca24e8csm5146555a91.5.2026.03.09.01.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2026 01:01:05 -0700 (PDT) Date: Mon, 9 Mar 2026 13:30:49 +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, Sumit Garg Subject: Re: [PATCH 01/14] arm64: dts: qcom: kodiak: Add EL2 overlay Message-ID: <20260309080049.si3vzro4z6qn7ewz@hu-mojha-hyd.qualcomm.com> References: <20260306105027.290375-1-sumit.garg@kernel.org> <20260306105027.290375-2-sumit.garg@kernel.org> Precedence: bulk X-Mailing-List: linux-media@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: <20260306105027.290375-2-sumit.garg@kernel.org> X-Proofpoint-ORIG-GUID: gcMln8A0t51ioXyhzLFswqx66snfOh25 X-Proofpoint-GUID: gcMln8A0t51ioXyhzLFswqx66snfOh25 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzA5MDA3MyBTYWx0ZWRfX/ZqBOI0pGz/k dA3TGqE9TdfJ68CWDgw6lVntIBBlJe7j3X5EvMZ8nwC0WAm/5CY431bOSeCa55goqSwSILVSxls EtlxtDWrIlO2XURoF/TrKBXGFt77AgnKp3NrIBbwQDzM5nTxIuabuz/jEEPkwITW4cUSxhaOcqs O4ANoh//KMtFeF7q8rAVYohB2lByovCN4kqf8yRjEuccruq9Lpm4GHd7m5w4YmtAdoeyrkKLbvX H6M/Mm1tIbtlvUqPZFbdb6Z1Pn0S9Qb0AAZSRKwiUKXXWI6rOKiPe7aV91XZ08HoLFV3igx35R/ 4u9OUV8rC8Zh8i5FWnBESvlX1z+ah8yUQwEk62jLBOBpxEFX0tEjSsIgF6z22KE1fnNbOOHJCSJ o/q0BENs8KLfDjnJZHzSj2ntFRxt5gFgubbfVoUPAzy4lJH9j1CWAHPMCHwZIE6Z3move7Gt+eQ AqLTYy6iEUWI6gC58NA== X-Authority-Analysis: v=2.4 cv=dcqNHHXe c=1 sm=1 tr=0 ts=69ae7e42 cx=c_pps a=UNFcQwm+pnOIJct1K4W+Mw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=kj9zAlcOel0A:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=nF3oTVP-35wgLgZXltcA:9 a=CjuIK1q_8ugA:10 a=uKXjsCUrEbL0IQVhDsJ9:22 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-09_02,2026-03-06_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 adultscore=0 clxscore=1011 impostorscore=0 malwarescore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2603090073 On Fri, Mar 06, 2026 at 04:20:14PM +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 Thanks for posting, I was about to add kodiak to the already existing list monaco, talos here https://lore.kernel.org/lkml/20260127-talos-el2-overlay-v2-0-b6a2266532c4@oss.qualcomm.com/ but did you really miss linux-kernel@vger.kernel.org or is it intentional ? -Mukesh > --- > 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 > > 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"; > +}; > -- > 2.51.0 > -- -Mukesh Ojha