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 0358E41A909 for ; Tue, 18 Aug 2026 08:00:29 +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=1787040031; cv=none; b=h92CXhHWmsFKts1PDfQw119icwTULTMoqapNFgeWj1jnUJJdmg8rYxhIkxUegAwiZg+s1A7YQs8SJiPMUDBCCzE0NP8v3xfr7ve7/jZrb1NgnUfiaE66BKYrXnNwYJxfRjFy74aUm0QJHP3dQ1KStKR6Ixeat6CU2dTJp6RyAPI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787040031; c=relaxed/simple; bh=VVzeC9aSS7EbC4BDJCc55WZs27Oj2r6qa77M5GVXJ+s=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=OK7hKGjBrrYCoz8njtwieJfs3cUSNPx7P/BBqXeG2uPWyJOm5SJuFcOQQeT6R5aRCBdyN5PmKPj3AJAXugtLRLUids14EE53DFkAr2g7307ImH0tCN1dC3jNl+hty2Z7gxm1h/sSaIBu5MSsD8Qhp5vT3bn0J0JZcbsRujNjZqE= 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=dAdQYCC4; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=F1J7ctmG; 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="dAdQYCC4"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="F1J7ctmG" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67I7j2Pl3931264 for ; Tue, 18 Aug 2026 08:00:29 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= jqXg/ZeJLcmznmPK72iIjNUSnrPmed0SSB5eff7oArE=; b=dAdQYCC4BGtD8Fij v8GEMlCGDqa+hmF/yht37SCxoV3BwJ4JKllbVUiyPXecQf2XyaS+3Doc2BecfLIi WrD2ynukMZsy1+h2Oz4Y2qcZZlH5uNw8tiCi1tjg0YQw7VenY/61o+Qaj47vQvlo YQloesozKDWfqs41/GxsbPlVkZYVDuNFdXy0Qp+ehwwBhdklWG4sDfYjiuzoq1Hs 9kqwL7UFAOuAnE+UXXGtoINACCrEP5fMwK/sqo65erOsAhOo1xrunfTInrPIN3CG /8aLTcsVwccx6oi2O8ln6UeNyEs5HrW2eNaGXmeSqOr+Bx0oTL6NM3K3hxOf5npe svpDZg== Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g4f5ps50c-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 18 Aug 2026 08:00:29 +0000 (GMT) Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-2cc640dfde3so55353385ad.1 for ; Tue, 18 Aug 2026 01:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787040028; x=1787644828; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=jqXg/ZeJLcmznmPK72iIjNUSnrPmed0SSB5eff7oArE=; b=F1J7ctmGQGDvilUuRvMD6qsYCrNU8XamrKwIXYRrMegovKFI5Lxlv05/SjkA6Q9Fpm 5MPX9x4AS1oMIOT7h3w/kj1kw0xp8SJeeP6exFsHHpMiu6pSEUmz+AuBXCqNQT7uoe7J FqAHmlIKMrxPUXtsrnqsDbA/6VRoXjDx7xaZNXhlB8UeTagmb8ALqblRdK6tmLhOqX/k ayc4jJZQqlrDkgnWhUag6t3nF9JxJR/tF4PwXZm9VTfjWKhXdkgnQHcxrFKugltFTp1Z Pf3anEFbFcm3vT9C/ebh2Rumd8zBnbDq2Bycli+9RqrRleEUVOpjK/Su9KXC+7thJsGm LsQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787040028; x=1787644828; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=jqXg/ZeJLcmznmPK72iIjNUSnrPmed0SSB5eff7oArE=; b=AZhokgR9U7f/DDvCMpXwWYpmGLVnkSLYhG5/AsS/PBA3Wy8uZF+tlzWPVXnTdYD4BH MckGIjV3SaNnw/g5KQwg8OSZmsPn6WfN/NBu7f7fNm7T3SEtUPoPwVK7SgxK5shKEoNg 9SZof/4nTWNR6ZnVzyMVK5TyBa0AMAzEKFMt9W19LpdBlUGYccYJ990Gx9qyIJ5vHFWD x0xISw8fcGan5XX/IJsitsvNChS7odFUBMorY256tMj9vMjQJFX3rJQXpd3SbL71aSUS lGqPWaHQi1qNnPq0a61KImtnzzDHgc3X65GwhJgxnJdvJZNueDj884feCojq3AKnJOlQ T6VA== X-Forwarded-Encrypted: i=1; AHgh+RpzOI1NOjqE9jnsFuHJ1Sg5/qw9qa+Isjzfqc21VFNr7MUgsnMkpoM9lqkjy4vzVA6Xwio6eVrZCNgPVPw=@vger.kernel.org X-Gm-Message-State: AOJu0YyOCunEmqP/2F1ZBwGabOgS8WDcGv1Rh5ggbJbAGekTa9szAaNT v3Ig9EEIOXQ0+HEbBay0iI1Er3zqoUIJp228kVEC9rQyQfp+jdqIbAbhXMR60EvJFbByNjSS0LQ kjVXfnv3H5IPy6UJLslmKS3S/uZ4lCnQBtaqvTm1oS5738NPdytrCFWcKx4iwWme6CbA= X-Gm-Gg: AR+sD10A4HzhN6GUqZULS/kJkOrVakpneTCo2JDHF6wpqMtOM0VRdKMxG8OHfKX8vHz dadEiOutbaDV4BQNklsnDt7ZseiU9a1yi8WRJKleXHkX4+uNOmSYj2trDylwSTnTmLNn6Ruglzl oSkqlLHDV4k0I5H68bopnfctOnl8QKzM5iu36C5xjKF3spdVdoq17l+OS8g2i4zBtZggiorZp8o zCZlYe/Fgln9dXnRgZDW1HP2dgH1wmGi6k/Gtruke27dD5VHyNyn+i/k5ryYfakIGrZDKmdMkwB KnrN9sa3gbkFT9E9rLCQGKkSZQafO1MNUD5+ew5VY34228nA3mKeHTVKi0P+VJgg9ECcsrEZwcv awFP6HSErmluDjdKltAGIYKZoBLPjJ5hHdBQ= X-Received: by 2002:a17:902:f70a:b0:2ca:1b97:70c5 with SMTP id d9443c01a7336-2d3b0ad2b9dmr376240945ad.4.1787040028313; Tue, 18 Aug 2026 01:00:28 -0700 (PDT) X-Received: by 2002:a17:902:f70a:b0:2ca:1b97:70c5 with SMTP id d9443c01a7336-2d3b0ad2b9dmr376238925ad.4.1787040027720; Tue, 18 Aug 2026 01:00:27 -0700 (PDT) Received: from [192.168.0.172] ([183.83.138.247]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3267ca93692sm12687431eec.30.2026.08.18.01.00.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2026 01:00:27 -0700 (PDT) Message-ID: Date: Tue, 18 Aug 2026 13:30:11 +0530 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 04/22] arm64: dts: qcom: hamoa: Reserve low IOVA range for Iris From: Vikash Garodia To: Dmitry Baryshkov , Bryan O'Donoghue Cc: Rob Herring , Vishnu Reddy , Dikshita Agarwal , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Stanimir Varbanov , Sakari Ailus , Abhinav Kumar , Stephan Gerhold , Bjorn Andersson , Stanimir Varbanov , Konrad Dybcio , Johan Hovold , Neil Armstrong , Loic Poulain , Jorge Ramirez-Ortiz , Mansur Alisha Shaik , Andy Gross , Rob Clark , Stephen Boyd , Yassine Oudjana , Pierre-Hugues Husson , Marc Gonzalez , cros-qcom-dts-watchers@chromium.org, Matthias Kaehlcke , Douglas Anderson , AngeloGioacchino Del Regno , Aniket Masule , Malathi Gottam , Rajendra Nayak , Jonathan Marek , Dikshita Agarwal , Renjiang Han , Krzysztof Kozlowski , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue , Mauro Carvalho Chehab , Konrad Dybcio , Krzysztof Kozlowski , Daniel J Blueman , stable@vger.kernel.org References: <20260807-iris_iova_600mb_fix-v1-0-3996f67e33f9@oss.qualcomm.com> <20260807-iris_iova_600mb_fix-v1-4-3996f67e33f9@oss.qualcomm.com> <20260807162405.GA896590-robh@kernel.org> <6ee7f32e-eb6c-e264-6f0d-541555f8fd62@oss.qualcomm.com> <56b3dfcf-b1ad-4192-8199-06c80cc5d124@kernel.org> <0bccfd31-dbbd-4bc7-9d9d-be048ef22b04@oss.qualcomm.com> Content-Language: en-US In-Reply-To: <0bccfd31-dbbd-4bc7-9d9d-be048ef22b04@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=S+/pBosP c=1 sm=1 tr=0 ts=6a84111d cx=c_pps a=cmESyDAEBpBGqyK7t0alAg==:117 a=nRfyoPPwyR/Y6OrExC/i1g==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=YG64nluAAAAA:20 a=sXFCB3fPxomcnR8swvoA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=1OuFwYUASf3TG4hYMiVC:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-GUID: 2GoiUbRyWmh6ngHodp8KdIc3d3KQBaYN X-Proofpoint-ORIG-GUID: 2GoiUbRyWmh6ngHodp8KdIc3d3KQBaYN X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE4MDA1OCBTYWx0ZWRfXzAM1kIoxmN17 gu2/zh45Cz51Gj6/TvvuhBnuPYmJ6xO/ysVq+JvPfRdf6ysZ861DH6F65R69cyjzGyLMnkU4pgk 5iGUY1sR2GTl+vMmJloN71BgJbxsay3neqwxysZV2i3jpL4rTcwacmcjlLXVBFJ19gfgyYN62Wp xVz8yLJaqBKSI4E5HJN0qRS9gsdXxsLmwNwwf1b+3dGk0wsk9ExuUCfWKMypQ0mZ7iElAHLYecn IYYL6gYOFg3UJ8CDWb8w6MT1FTxnaa1WIYYDxC6TB6iAgn0+QYV/l5+FVn8j1MDG4FbS+c5BVnE 9qp+NXZs4L91pli3XVpQcDcBeoSNC39UEg4du7izmUHdTSnVwZ/YoZq+Jme9TQ2WfA79MJTfpKZ CuNv2UbXCBo+wl538ctSTdGEUOl9A+NHBJO/4qbwIIcm9vMlvZC/2fVz4SDk8tm6FTEjx+LRYQk QPGoQbpCZwBQ2Ka/8zg== X-Proofpoint-Spam-Info: AW1haW4tMjYwODE4MDA1OCBTYWx0ZWRfX6XaejLffyAIY SOOrxnDiZxkGOlK2pNSXT7u1hRy2J/coOCAS3VLJfNGJkuZjzPySoSw5ZV1dDUOuIlyAOsl405w pUb6dlrEHg+OcZ6p6dYMITZgFKlRZ0c= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-08-17_04,2026-08-12_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 impostorscore=0 adultscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608180058 On 8/18/2026 1:21 PM, Vikash Garodia wrote: > > On 8/18/2026 11:53 AM, Dmitry Baryshkov wrote: >> On Mon, Aug 17, 2026 at 10:54:47AM +0100, Bryan O'Donoghue wrote: >>> On 10/08/2026 14:47, Rob Herring wrote: >>>>>> As per the reserved-memory.yaml schema document, the iommu-addresses >>>>>> property for IOVA reservation into /reserved-memory is allowed — it's >>>>>> documented for IOVA carveout reservations: >>>>>> https://github.com/devicetree-org/dt-schema/blob/main/dtschema/ >>>>>> schemas/reserved-memory/reserved-memory.yaml#L56 >>>>> I think that is an entirely reasonable reading of the text >>>>> >>>>> Quote: >>>>> >>>>> "If no "reg" property is specified, the "iommu-addresses" property >>>>>     defines carveout regions in the IOVA space for the given >>>>> device. This >>>>>     can be useful if a certain memory region should not be mapped >>>>> through >>>>>     the IOMMU." >>>>> >>>>> Which is exactly what this series does. Excludes a specific IOVA range >>>>> from being allocated for this device. >>>> But if "iommu-addresses" is the only property of the reserved memory, >>>> why put this property in reserved-memory rather than directly in the >>>> device's node? I'm only questioning where is the right place to >>>> describe a reserved IOVA. >>>> >>>> Rob >>> >>> Back from the eclipse, sorry for the delayed response. >>> >>> Ah I get you. >>> >>> Yes. >>> >>> I take your point. This is a property of the node itself; the IOVA < >>> 600MB >>> only matters _if_ the venus or iris nodes are enabled - otherwise an >>> IOVA < >>> 600MB is perfectly fine. >>> >>> So it follows its a property specific to this node not specific to the >>> overall system. >>> >>> Yep, I agree - its a device/node property, not a top-level property. >> >> :-) >> >> FWIW, I think it's a proper way to describe it too. >> > > From my readings, a node defined under reserved-memory can have other > properties like "reg" alongwith "iommu-addresses". Are we saying when > *only* "iommu-addresses" is there, then move to the device and when > other property is there, then move to individual device ? sorry, typo. Pls read the last few words as ".., then keep under reserve-memory ?" > > Again the device may have the "reg" property already, in such case, > moving the iommu-addresses + reg in corresponding device might not be > feasible. > > Regards, > Vikash