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 4C42A33B6D3 for ; Fri, 23 Jan 2026 11:29:11 +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=1769167754; cv=none; b=b7CMxTRbrOhc5Zuy85xHMVVsPkRCg0LqxAYBXMDCCTE8Argfbpg1MCIx+hjrodsj6KlDvBeV0AAFOCTTSKVWv/zL4SHpDvqr+AHP3GgN3wOMMKVOZzoSsUmcpVVBqk4D1+HjVB8mNXSPSJUijgRhHwarGZKcN5CYE++HzG5u7Sc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769167754; c=relaxed/simple; bh=01kki8s7KXMW5FP0K0DImg52CvLMZEngYu212aarTRw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YzLtDyJvFAmN4h8DfUoSxG3IzFUtnDRAwDx+Z0OIknLeheLnH3iVEh4kqNDkWGGHtlZYutfopuriWUG3WuQP8PgrEXC1DXG0oO3yfqQmZpOwnAigfGZTC4nSWRBJ16HMzSKGW1ntMa03JPCVdbusdnxk72nTTpn5o2lEBEjGC/c= 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=HVhjCX1A; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=hqD0UyT4; 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="HVhjCX1A"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="hqD0UyT4" 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 60N56N2Z3656617 for ; Fri, 23 Jan 2026 11:29:08 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= nFeduZfRAmiiVhTJMw6F88oPXhrCr2swxdvQiqYVebo=; b=HVhjCX1AzdG5aRdH Npz5opDdq1YU6ypYftY9fLUs6vncEp/sD+TN6JKLBk52eKlE0vI0FiOpcXV2e5I9 izbyepnJI1jV4l6NVzH/MKVTS4XGhfgeCB7lUYj1lSzuzWh2mgOcWpaGwqacpauM TULUJXnWnATHo15xYBbkbZa5XlPyjPpSkIK12blIuy/vnPq4p3le7zg7qXEICLAv nVifX+n6chLCGs+ozM3iLh7QdnU3B14AXDzZvfTMVtgd3lMuxCqATstoH3MaDk8y ndobtp0d48nt0xeoRA6KWc0yjsL+SooZgUFHgjZKRLqsD/Qwm/G+vq0UNJ7lsJ8B OWodow== 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 4bv2hw9b0g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 23 Jan 2026 11:29:07 +0000 (GMT) Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-8c53892a195so48449385a.3 for ; Fri, 23 Jan 2026 03:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769167747; x=1769772547; 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=nFeduZfRAmiiVhTJMw6F88oPXhrCr2swxdvQiqYVebo=; b=hqD0UyT4REI+A/01d33wjJ9/BcFZMuB6yeSwKfr548TsDtWhHSKbwl5dkkmUR582oN VPZnOMF0/MBvVDtFm0YntTxeFnRlUjLGTt2BoplUT9I0GO4a3QWKMPdmvKe6T6wrDjB6 ujiIxLll52LHVAMRqXzW3QnwdZXogReqpQkLCJmQn/p8qacU5/X5KoASE4FUA2KLxqTM 1oQSMiHTjxtBYE2hvz1akFI0qEp6Zo0KCy91zzX5PTdfi/4GPIGvuwG8UvGyoxvdXGhg f8JjVqeHb0jfeY1IiO3xWOk9+C0eiSrvyCjiVuGriVDT4uineo+h5ZoWF74pUNTImlcL 5PXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769167747; x=1769772547; 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=nFeduZfRAmiiVhTJMw6F88oPXhrCr2swxdvQiqYVebo=; b=UAKQjEC4JRDIFKP8DNbUkJaMJbFKvFZ3mI5Y2PnYEJX+DAtHOal8Kx9mIdOkrOJtpP EKWLw49woPUhn6Cv1K917FQpJeLd2z0yb39Tfry9PfAVuxXetpqszFRepFXeiW5l6I7a Ek2KOEZHXd1+YercL1Tmr+zc0K74itjelZtngbc18jvZU+SBTSeBY4rm4TREGTCwuRYA Lek4BYzO/zNBW/HxVTpWwguBDKcAyqQTTw+m3w41MOrnTOfxuPoQm2rQbiF/DNUp8sE/ Ms62raB/AdUK0eveYg0ANXt36EXCW05bHOgsf10VOUGgqV6yVC9LzJzZp+Wqf/B1b6hL D/2Q== X-Forwarded-Encrypted: i=1; AJvYcCVOmmsHp8yUEL4Hz3Ky8nDqHt6JyJ5vL7mI6jNI8FUIFuPF3Fz1QlLCp9tE4KYcbUwU/lK7afhc6hYpAgw=@vger.kernel.org X-Gm-Message-State: AOJu0YwUE7MBClPD+AF2qqeXWhq5o8kj0JnU5su6avSDuLD8zQ2NxPku 71d/bCEN+f/DXedeybm7a413j3sJKxLkBk81k4vtJOXUNuxfH+tf/1UpAVwK1RSiaVuOk4ZBV9g +AggSd3FAlKrSRxuo3bj2GZgexMpegM0MDNrf/wJhFosyylO+SsoNQwAk6ukM2iVfOWs= X-Gm-Gg: AZuq6aLJXABQW2jOoeuKPgajROpqUAttP+XESmTn70OadrnmkVrovKVaDIovxuKrd+J ++uFD7YgUaqclrOJ2IkjAINXbRWwuWKB7OsyT3m/B7QiSzJ0FP5gCIcrxEMXDmC5M/UTZAPyfAr 6kJaPAry2Me3O3CgZiNxNipppPZLDJo80ezTMFsuOzTbcw1yecKylwEhv1xiF6VfeAkDFqeBTAX ymoUcOCwbJ9Fjyg5FyK7LUv08R8uGJsWeJcKl/NdJrQbha4wWjl9rNFEgIAJf1VIt6iTWGRIDXL I6wYbZ8KwWrWco6UD99tY3PoXG9+SrazdC5xepIW27Y0ehEbKdU14QTqDbDxSqkSuJB1zxzLFYY 5M7y5s8Fa1cCpsIeEgE958oZOrfqn46BBMi+XeDdGU4eOwPV0+1eEFRN+UAc9NUeFAUc= X-Received: by 2002:a05:620a:7082:b0:8b2:e177:fb18 with SMTP id af79cd13be357-8c6e2e4d104mr228353385a.9.1769167747112; Fri, 23 Jan 2026 03:29:07 -0800 (PST) X-Received: by 2002:a05:620a:7082:b0:8b2:e177:fb18 with SMTP id af79cd13be357-8c6e2e4d104mr228351985a.9.1769167746648; Fri, 23 Jan 2026 03:29:06 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b886048e808sm68540266b.9.2026.01.23.03.29.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jan 2026 03:29:06 -0800 (PST) Message-ID: <2bc58f2f-5879-45bc-a169-fd6771faa21c@oss.qualcomm.com> Date: Fri, 23 Jan 2026 12:29:03 +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 1/2] arm64: dts: qcom: monaco: 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> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260123103503.1259645-1-mukesh.ojha@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: 2WQ0Olg6c8ALxz6TSjvaK48TEGFT2VD6 X-Proofpoint-ORIG-GUID: 2WQ0Olg6c8ALxz6TSjvaK48TEGFT2VD6 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIzMDA5MyBTYWx0ZWRfX9UBo0ttFYCRi uy24CD4Flfr7g7Pgw8jbOVEkLZcrf9VeJ0HbAUnkFZVPgKwbZdXvpBvwmcRXxBrYZeXSAnh3pM0 MrF2c9b3Q1jxJzT+be80v8z7rzKKKGh8/glIPk+xIl+MZjF14jRnfuzJAb/pBta3LXafUQOA0Ce pXKWK59TonfPi6ENlOYeic/1d+53VdVagOD4lQ4l70kZmbF2KAKS+hstbx8BXqwlC4BtYGHgaZ0 1c/ao4/dagoE8nMImt60wTvhR4PDycb2eEC8hd0e91gjesWutqIuEemTl4MG+pFSOGf5Lxfyhif uUxZj/x32/qRLe4t3Q0V0VEyhByRsPjk3X9Kucg+Po7JVY1whKyQ9PRs8HZH3ixUP5LQPdbL/zR ytqenzo31V7zGyLbB/xm/Bt4FOOAhTJIeyOMO/eCSBIG2lyN4AwIqhVgOssaATeqgjrQYMWi+iy 0CWYEvxA69EsqdYkv1g== X-Authority-Analysis: v=2.4 cv=A4Rh/qWG c=1 sm=1 tr=0 ts=69735b83 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=1xOKmRq5WjHV0F6GIOwA: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-2601230093 On 1/23/26 11:35 AM, Mukesh Ojha wrote: > All the Monaco IOT variants 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 Monaco 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 > --- [...] > +++ b/arch/arm64/boot/dts/qcom/monaco-el2.dtso > @@ -0,0 +1,32 @@ > +// SPDX-License-Identifier: BSD-3-Clause > +/* > + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. > + */ > + > +/* > + * Monaco specific modifications required to boot in EL2. > + */ > + > +/dts-v1/; > +/plugin/; > + > +/* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */ > +&gpu_zap_shader { > + status = "disabled"; > +}; > + > +&iris { > + status = "disabled"; > +}; > + > +&remoteproc_gpdsp { > + iommus = <&apps_smmu 0x28a0 0x0>; > +}; > + > +&remoteproc_adsp { > + iommus = <&apps_smmu 0x2000 0x0>; > +}; > + > +&remoteproc_cdsp { > + iommus = <&apps_smmu 0x19c0 0x0400>; > +}; The iommus values look OK Please sort the label references Konrad