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 94E6D403B0A for ; Tue, 18 Aug 2026 07:51:54 +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=1787039516; cv=none; b=LsjKzRbby+8RiKhIY9QY4U/TTuM8Lh97jESLeGquZDZBeIXo722ODNSL7dwmpAQGb046xLwC8SKD7/RihGPhJSQ0OFezgT212fM/xd5ModkTZ/fkas0qMMHT39EMvDJNluXvJNtUaJeWU09MQvuVSZHfXACtbz8h5p2asy2JTDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787039516; c=relaxed/simple; bh=TmGaE7Yr+lO6E81nhd+0RvEJq+y1eIn6o2N2sLX4rnI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FLtFrsgxVb1xqMd8ucynth+zIy77z4i53fR5MvwzRIVrEuHB5bcSCuT0GO7bGXbbeGehdmtfg4d8DVsqRHBhm6llfKECe8AMd4To+eXtTiLcpxBJb7Y1u/l8Lf+8O2XNhK9l7F4by5E832lOqJJJW3SAHrU4aZh4qtbiujECf+I= 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=Le2NbnaM; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=BkUmBf4r; 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="Le2NbnaM"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="BkUmBf4r" 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 67I7j5N23932348 for ; Tue, 18 Aug 2026 07:51:54 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= rf71kJKrU42wLc/SUwCao5tn70wkJox3ncGfFZq0o7M=; b=Le2NbnaMB/R8OgMV 4Ay0qMR21sqAL1WqeVLG8qKTiI/ftGrno7b8j/qpEWpPmKJSr8u4jvYgEy/7paFQ BikSHQmdTeRYIT7Pm6Kp3rLsBiPXyYgJ3MTsKVrhj+MVFh8QRl8VDjauVb/n5RYw 1div83HUOMfz09FaVlrChAsWbsnLajv7c5jVnaDbrGfxHG/xA8M8ttzOx7zy+Pvk Bj22Ca6efu7d0ZYTwjq3hI8alJlbaNIV8n/NUozGIRJWuOE/Gw5ZJNUoJKcxCWXL 48cZFvZC3/ZYWU4a99C6zrbXzFkALGeSG9d/aDB/JRIcS0lPi8VjhxeoDLV//Yon xRxRzw== Received: from mail-pg1-f198.google.com (mail-pg1-f198.google.com [209.85.215.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g4f5ps42g-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 18 Aug 2026 07:51:53 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-c856470fe9fso3095034a12.2 for ; Tue, 18 Aug 2026 00:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787039513; x=1787644313; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=rf71kJKrU42wLc/SUwCao5tn70wkJox3ncGfFZq0o7M=; b=BkUmBf4rJn5G0eyQbjcN+8+4iLPcBfTfaiYUEeoQfip2xv9mE6lM5ESMz3kSJ+UWUm lZ7QoEuQZE5DDOrQCfgnmEutTqdP2nZ9ivVBIuBcpxfn44iqwZ6jR+zgS8TY9jdIcg6Q UcAXgpVmXafjic69wHu0DkxOoN0xqV7+Ak/e6KwwntwUeVQo2Khjhv95FC19Y+sLdHiW //9FGjie1xBtwAkoadbSKGJrAAXKgtVLTokz3EBFB0zoHXadyD8wSmEVvBp76fU5O3Nx i3n/0mViELpQaCDnQzqOUQDo/ZW5wWpBewZW98jpRPolmSZbNpEjiKRuHjQmgTffLcMz ibdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787039513; x=1787644313; h=content-transfer-encoding:content-type: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:content-type; bh=rf71kJKrU42wLc/SUwCao5tn70wkJox3ncGfFZq0o7M=; b=a39bsSpA6HBEiKqzaKBcV9HPxXIrc9JKr+LajFrtt25t/cYY3P77n2/y1FD6TN+GQm JIrJ0tdeot1kMfvPVmiPNVOVs6eA6SGcfMf0x3iPpZu/ZXCAuD7t4Is7LM4TAhozpu00 Bkd6mp5buy3JRW1zJeNYHnK8ifxrVUliRr+baruSOVM1XnARur6asF3l8yHnyAjpvMt5 4Fs/RY1ww3yKO46G1+wyx6c57eei8RT4+oLCyfAr9DYU645ls9ymfBOpiMK6rf6//L6g INrQzLPzk+398n4LerfFkbsYDr7BIhWYdD3pTO/ukPNNslGquS8pvf+ES4VqMdJtSn9M ieeQ== X-Forwarded-Encrypted: i=1; AHgh+RorIrEPTAlJFef0uxsxDztYIM4spfHLTj4oShQU/ir0B0cRqHji9pcFYfpyhGDLC9EN+HCbAQe1FtA3dKs=@vger.kernel.org X-Gm-Message-State: AOJu0Ywd+OFywqnCxVlyAmMMrVLwiRXv95BG51fwrZ9azxf/BTKw+EKG v4V0/IZ53W388vu+obiqkjf67q5UyEsBM4bovLMnwEEyaFK2Q+wGopp1oKjNF9trHqOQJH6KpHO ODzV3QbZ3og8dhuLLr4hgDGVKlmpLasil0K4Ynaq7oKUylOe2zaD+27l2OknIQrI1K3k= X-Gm-Gg: AR+sD115hafslk9FISq51jh3gM8h+kVqAp8D7eAscxQkChh8B+FNZqH5LEHcnqBO7W0 Bopvt18JBoEphTJP4fDcP/OhyzR3GQ57pXoCFGGOKjadp6AAL20IAgcONJhh13KQd5xv7wcOM7w QeCHnCPOKxoKQuJx1GkZ8VVOUb+1Ru2M2c3LH8msnSBHiy+2dhc6T7x6Itonifcbp/R94OeWS3V n3q1ncAKSsjlCLxyaADL11/GC+4ccfN9Lc4aoMSt+g2OyjwARLAxdcc8I07oZculluWnxoK5lrT z66dqh0EnW1dkL+ft9kFKyYduCKjtIBhAj/dH1brMXcwPOG97IYho9DbR5iRnIZk+m23VTKZigs U29fMxVZpwOFCXp5R3OGZk4jQ2Z1Y7JA9Qrc= X-Received: by 2002:a05:6a20:6f04:b0:3c8:d3a4:7b40 with SMTP id adf61e73a8af0-3cc7196e6d2mr36208940637.2.1787039513114; Tue, 18 Aug 2026 00:51:53 -0700 (PDT) X-Received: by 2002:a05:6a20:6f04:b0:3c8:d3a4:7b40 with SMTP id adf61e73a8af0-3cc7196e6d2mr36208838637.2.1787039512618; Tue, 18 Aug 2026 00:51:52 -0700 (PDT) Received: from [192.168.0.172] ([183.83.138.247]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3267ca93692sm12605456eec.30.2026.08.18.00.51.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2026 00:51:52 -0700 (PDT) Message-ID: <0bccfd31-dbbd-4bc7-9d9d-be048ef22b04@oss.qualcomm.com> Date: Tue, 18 Aug 2026 13:21:36 +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 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> Content-Language: en-US From: Vikash Garodia In-Reply-To: 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=6a840f19 cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==: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=mboc_azzA43ewT_2WAwA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-GUID: i3uPejfV9VG2qei7wJibO-chlNhRp7nZ X-Proofpoint-ORIG-GUID: i3uPejfV9VG2qei7wJibO-chlNhRp7nZ X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE4MDA1NyBTYWx0ZWRfX9YhgGyaawRsN amZ111DbAea8i0ueaMEMX0oKrAg43xrTm1kn731ReuuKCM981Kvc0zgYKjpwSDUjEdGtOPZZcAn 1gSKlahFToso2GaxgX4VEvgvGPcTHFllNwYCiMri1Yb0giJCUmKG0KXDGvo0fPAamFjgfUWyWmx 1YIqATwc8M8OBktMaqcpmoj+hzmTnfANFWCf4LuPTRCsSbNqQrr1fW/nXSCF5CioSooGRlxR27m 07XEzIJogra7yQMgTImb8R5+bnewO+8bmbcz5A5A+7DbXn5lT6wBStO/PjOKC02CuySUsaFjQSS z5iA/YuZr18cMI0JhkTjlkXIPpBYVx1y/4zp5QPNKo4tKRkJjL4fsXn5oz2X15Y3Eh1wFQTsS5I rWoDdLVTorUEEuHosXQCLiuKk1TQMcZMc3vufSiEWbUYBUqu62NE8Ffd/Lo40cY1AftiUpOP4dN OucrV2pbW2iHNbM1ZLg== X-Proofpoint-Spam-Info: AW1haW4tMjYwODE4MDA1NyBTYWx0ZWRfXyO3BHDtLm8Ab eylpFT0LOceyJzwskmCYHG/YFqJd5L/owwq+T5QaPVQdLQ1AFO7maGqaV9zdpE13+9qaZ3hxObo HI6uKXAPB5qAI/UQCEfnG5EsP8dDqEg= 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-2608180057 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 ? 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