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 1BFA24315A for ; Fri, 23 Jan 2026 11:30:44 +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=1769167846; cv=none; b=ZvqQ1YzLfXVMr5Yme6lHdC9F0WA5hCQQJyOFJ2McHkEbSzHD1aqlsZ9XstjAro2MFHL9JvaKuVG3FEnTAt9PjLS9LwbqBPs7qVAmSP+r+pokb3FwE4KQoIX0I1N3mFQSzseBCYOknVwavDHKAsQx753OkVq4oWFQ16z/JDQeDhA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769167846; c=relaxed/simple; bh=HgHZLeRI45lYIBDGvCiahkx6GqLM3bsQcdVA2PcR0eU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=W3PG8jUmpNworIQ18B/dQzTeqao0aVGqY4wyzjem3EwIu60/+yub2nOMTQI4EG840AjIU4cAhgKuDwYoBbCSBEM7+CiKLTNOBbTemK3QrOh38haEyw59m8glHf6booh5SA9m6A3Kt6isJyPoKl02s+TQ4Dqkpp78tkcP4t6r9T8= 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=BFKaEJnk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jN2XyBy0; 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="BFKaEJnk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jN2XyBy0" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60N56C3x3656479 for ; Fri, 23 Jan 2026 11:30:44 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= iwAyyedpE8I4ZDvxsvut22iK6mBVirS7MV4judrVUvM=; b=BFKaEJnkh05et+aO ajVTYtNdPPbxphhi2QwiHoMtbQU7hlvaxCzLt78BV539CYP2L4P/xqpTqiizQ3Bu wOt1I4fw9zEc1KmDmEQLBSPcIay8yg0+WzQsaV+1vsU5M9mRRGLsrvInO80frzm2 0raB099qX+fRswVAVRrcFezJylWuoMw7ghrqgx3t2hWh4ZsnZs7GsZomhVl6for8 HaQjiKHC+n0vyGROvIA1KDTzHr3RGOP+iEsRlAoALyXqDWCNvOFobPKblArgZIG8 S2BLgTJVAj/N/LzVhkmOn/xnJATvIUFGCOPEE24PKYGu7qc3j//LqXiMum6LBVuK 6MEsLg== Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bv2hw9b6u-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 23 Jan 2026 11:30:43 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-8c522c44febso32282385a.0 for ; Fri, 23 Jan 2026 03:30:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769167843; x=1769772643; 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=iwAyyedpE8I4ZDvxsvut22iK6mBVirS7MV4judrVUvM=; b=jN2XyBy0tJnC8xnVlgDUs9gmpY5cilPa0E+gn2qJPTALEvfuhBnPjujNyUpMisFM5b 7Pg2Z+U06pwa6ZiLqRnjOtDMPC+USUcjcv8wxN+mXt9Z5X70gE+4xp7Lr44azA3YrjQz chsBCevtFWIvsMiae6UOBBcZpSM5NMo2FxYKOd1tYmxPY2mU/k5aJxplWweiNjQaLNgy eAXc1ykq5oAAgpE1H+UEQMycZcK3gSZu9VDlMVP2SiNVNX4D1DHhQsXZqRIHZ2sSn5RG Jva+NVAYPtB4VjhnxeGpwI2qmSTfO5lfTWss9dyxhpxPpSvJRI6g9RjM4GH7oaPEG9fM FVBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769167843; x=1769772643; 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=iwAyyedpE8I4ZDvxsvut22iK6mBVirS7MV4judrVUvM=; b=q7p+gxRB7af1XoDVcNvju+fGOOzogY5wHZWtNKs4tGGFxkbPs8K3FTxF9Xg9PfARB/ h6ekZp7VTnFTKpdrJpasgrlw4Jy9QNDGMlSMG+J3k2Tu647RxiKyi0UzFZNhGb+6jMrG QWlpwQko9VeoRVe4Ove2Kj0V9G2QbWqtQpg/gauSYztG6yEATt++hhL0AZGrZNsWOOTV sWX2JLWTBRRkeNo6nHvp+pXOIDYjXrzd7orx2VHDcfwxgtBQjOS8lt5RYeToV0ipkYgA RUPY1knS+eD0BYtqZNZpLa0451TLHtaKTMHrWjZ0+KCtm/7inaO7R0UEwkXiIaMCqkmM SaIw== X-Forwarded-Encrypted: i=1; AJvYcCVyZIH4/+H/2BkoCiV9Pf6oQHC54hMH6xuHcvsPm/2I+vn2x4wcswq3FmX9A33KhTsAGp/hZpuyoN+Vv90=@vger.kernel.org X-Gm-Message-State: AOJu0YxxiqMZ+Q9Mwvjo3JazNczX9giGhLY3u1pB7bcu1+kers8OQoEW FDtNkVIIq26UhRrbAp88nT6cofTMg85YUw0vJ1HxJ3UqbKgV0pI4P+7B9BwFczVlC+gPAVvoxKb v7WWgJqtw5RBJBOv5FGCaNihcpIEaacKCPKJ7UB446FmAAhFbonRlXQf1Xo/0TX+ML50= X-Gm-Gg: AZuq6aJK5MlB6sxR3ysDjYPGw0j5TfIZqa8cuV7DuLvOkZCmwW+IbalMEeXk1Io0f1r 6IQ1MCITPUOEZhaMCFWOXxGMdsPQ1uWjhdIlQOX8T50mBv7Y1pMXdNxpT5hLQ3xZyQ+MS0VygIg 7+LoNSzDvXJ9/WeDkaAeY5mu3lL1iQmsHBWgUaXF06ChsvHWhm3Jg1Dl/yujE1eAxCzqGh6wn92 6rmMpBgPBwx/s0Ci8I/hEWC76UNUFS4VpS5ZundcTzUiwQU4ZWd7UvmpLbH05996V0EtWgQvgbW NTodEi3kMvO7Fs/ih9P/OvT5wcebMUJQGwk9O3Jf7BstSjEKMkA+sxdiCEvyopek8shJsLAPCJl ekgl35PzE2s4xc6OPPcfsC8b8jHcSlTX7jWe2blQtFaJHB6iP5oKfnlI7KE3C0QSPGH8= X-Received: by 2002:a05:620a:319f:b0:8be:7dd7:f041 with SMTP id af79cd13be357-8c6e2e10500mr212987185a.7.1769167843361; Fri, 23 Jan 2026 03:30:43 -0800 (PST) X-Received: by 2002:a05:620a:319f:b0:8be:7dd7:f041 with SMTP id af79cd13be357-8c6e2e10500mr212984185a.7.1769167842814; Fri, 23 Jan 2026 03:30:42 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b885b6ff080sm88260666b.38.2026.01.23.03.30.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jan 2026 03:30:42 -0800 (PST) Message-ID: Date: Fri, 23 Jan 2026 12:30:40 +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 2/2] arm64: dts: qcom: talos: Add EL2 overlay To: Mukesh Ojha , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260123103503.1259645-1-mukesh.ojha@oss.qualcomm.com> <20260123103503.1259645-2-mukesh.ojha@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260123103503.1259645-2-mukesh.ojha@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: LeSOcfOFbH78k4ZFNiwUqCLL8qI0b995 X-Proofpoint-ORIG-GUID: LeSOcfOFbH78k4ZFNiwUqCLL8qI0b995 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIzMDA5NCBTYWx0ZWRfXxn81lK8jxzbf zoNq+AWvHv6Ka70FUYafbqP8VH7hwAIk8wElnh78+97FdcC5dCqhZdLw51h5HZqe/tWj9wbA67Z ZNM7PPUuvV0GHgN3xWs7W+0IS0jvWRoMRo2L1J5qjSNBKqtsmKdHEDUm/7AcC/J223te1VMoO0Q +EsuSmhjOlxRguD/SDGEMF5vrwpGC8FIWMOTwB7aThgfd6a46qbF7csh8ZqL9DzEZyCr+KA973K ktQ0L2DRizI85x88txV0U+77N+mwOucp/YUdoFMdgNfNSOXJB/xXL1H3j3Aq4l4CaiQ2Xew0VBE UaZQHMAz4ScOpbsQRK9M4Tc0dBBaMn9MvTlwBddeZOX+jtnB81gsVNfAniedzLzaRB9D2XuGFoB 2AgIS1Dv8Q82QyFMKuQ7e4CIg6dR+fc0aOkFSi6zGYAk9fXjDULy2FA2vTaTt6ZLXJ0t4gmr/0E N4/QUS7/P1iyDQnpNjQ== X-Authority-Analysis: v=2.4 cv=A4Rh/qWG c=1 sm=1 tr=0 ts=69735be4 cx=c_pps a=qKBjSQ1v91RyAK45QCPf5w==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=VwQbUJbxAAAA:8 a=9xatLwlGkz5OWhtWUXsA:9 a=QEXdDO2ut3YA:10 a=eSe6kog-UzkA:10 a=NFOGd7dJGGMPyQGDc5-O:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-23_02,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 phishscore=0 priorityscore=1501 spamscore=0 suspectscore=0 bulkscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601230094 On 1/23/26 11:35 AM, Mukesh Ojha 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 a EL2-specific DT overlay and apply it to Talos 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 > --- > This patch has dependency on https://lore.kernel.org/lkml/20260121-qcs615-spin-2-v7-0-52419b263e92@oss.qualcomm.com/#t > which adds gpu_zap_shader. > > > arch/arm64/boot/dts/qcom/Makefile | 4 ++++ > arch/arm64/boot/dts/qcom/talos-el2.dtso | 28 +++++++++++++++++++++++++ > 2 files changed, 32 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/talos-el2.dtso > > diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile > index cbf7d89e432c..48ecbea17a4e 100644 > --- a/arch/arm64/boot/dts/qcom/Makefile > +++ b/arch/arm64/boot/dts/qcom/Makefile > @@ -141,6 +141,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcm6490-shift-otter.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride.dtb > + > +qcs615-ride-el2-dtbs := qcs615-ride.dtb talos-el2.dtbo > + > +dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-el2.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a.dtb > dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb > > diff --git a/arch/arm64/boot/dts/qcom/talos-el2.dtso b/arch/arm64/boot/dts/qcom/talos-el2.dtso > new file mode 100644 > index 000000000000..03ca04c44976 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/talos-el2.dtso > @@ -0,0 +1,28 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. > + */ > + > +/* > + * Talos specific modifications required to boot in EL2. Preferably merge it with the previous comment, separated by a newline after the copyright otherwise Reviewed-by: Konrad Dybcio Konrad