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 71A88194A6C for ; Sat, 8 Aug 2026 15:49:01 +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=1786204142; cv=none; b=Y85HcrATJvA+fwB9ll+cOLzX3Dxzi/xuWxdzTXfdSoF028hH5MQ9gfJKM+wfHXLOape7fs3E9DYxLMtgmESDYf6goMZXPUSDQ0x7fU1ne5wRPMhWzWciUxChgJwPCJ/lUk1HTKOT4BnWdBqw2QfyCOyckPgnyIk5vLTwb3OtEvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786204142; c=relaxed/simple; bh=N8Yt2YM6rMTV/wrCpmXi61IPPAlmKt+fFV3OrTRCvV4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uPp+i27Fx1Yma8Gfir2bXIIgg8PsYzhAg4I03p0wPOPJnUPQSu70oI623xEXTrfgrHjF58uz+DIIQ8cMq5b4NlrFxG6jdRpvm5Ck/rC+Ww7sO91vD3pQ/u8i5H6go5TRtSIYwGEQaHlvWIfdI45IcbVlzPNzUN4XTfpZP6KPNf4= 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=MTZP2/8u; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=gS+UtM7b; 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="MTZP2/8u"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="gS+UtM7b" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 678Dce213876840 for ; Sat, 8 Aug 2026 15:49:00 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= RTmqVCewzLJ3UuxN9kqxZ/aOIecC3UmWqHTjkXzeM8Q=; b=MTZP2/8uzLzkVA8c cv54y2v3sv3NMO3MlwqKbreET3ZGqSjdWMlrb00w/sK4aelgfoNbjVPETYAlH6D1 GoOkTC2HnoB/4pmMhi67oN2gLix5Yh0fCEs7F9gSRmdgnzHcUNjyvGhi2pH9T1l0 eb8Wf+q9bLc7dbkA6iLPBiz3OhrgtMMZtMQwQ92DlRbw13GIIQc2IUcpyWjj6+Hx MtXq5o6ArvuKUEXsdaNfFnK8Sh24HhC2k7gXK4UATqHXflrZt3lkoCxbBAHWvIXH lXNurEZJG+Rzx014R/48ZlszQ92kVaQe+RTkZy2ClTmjSEiEPA4iu0MGO3PnyJa6 XYOYiQ== 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 4fwvu8h4nw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Sat, 08 Aug 2026 15:49:00 +0000 (GMT) Received: by mail-pg1-f198.google.com with SMTP id 41be03b00d2f7-cb6ef846b33so410416a12.1 for ; Sat, 08 Aug 2026 08:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1786204139; x=1786808939; 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=RTmqVCewzLJ3UuxN9kqxZ/aOIecC3UmWqHTjkXzeM8Q=; b=gS+UtM7bKzCfP8ipe/YeKlLQ6fwIoN21jxuacNcvY3q8kQyD9reLVdCllKrPaf4n4+ IPq1nxsIq43QNBZ8y0cviN1Du6t1tV3Y6Tnvh3JgOiFNndq6CehXxc0F689sGbaSMiAh 47XARr077ivWBuTARi25q37FtYl4+nElWfU0xWQUnvcz2E3L3fC0B48GYDV7tZ13locG j0Xc9RPnWq//T0a43sTsxc+jK10djTDqY/LJib6K/QvISLujB9TDl7+JV1631wUEtAwZ Z4p0RIKuF+QuSzTpMzyFvqmIEqHfyhIP11gIV6BYwMcArmffnlIsP5NiUMUU0C8U+ygc sfsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786204139; x=1786808939; 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=RTmqVCewzLJ3UuxN9kqxZ/aOIecC3UmWqHTjkXzeM8Q=; b=ZnwF4ZBCRdOfRaFVfOOu6cuaOQTQ/4BR67Lum3RLNKK5d6del36H6e4Csx+x2gNHxn tdkgK45p8hlsOwBmTC/HJdNNi4EnfoNPuUCdT8FPeLP0OyeNQSzJ26omJfk1FGlZz9uo c1YaHAXGUEuo19IpjfVwaxHMNsu+WnQpinUCQLo2ZGsRWW90lkSn9ujFV1fey73WOmJH aqKcEqhNdYDLwkL5msCMozp+uLREkebAyZ2t/GdlK1fQ8xqziK2aLJRJvVtnEfC/HJ+E IB/xz3+vZ9V0/TM9B0IrBMU+54NyLt84KcuFPoNXtf68dE2zX6AgpRU89nUG+chqOCIf yqnA== X-Forwarded-Encrypted: i=1; AHgh+Rrtj7CtFFcL+TgOBjYNQ7hTGTljQ7GDR11lDHXu27v38rtliffJ7MQbkstDi8z7cvKocs7f3rHoP3ZQ@vger.kernel.org X-Gm-Message-State: AOJu0YymsL7Bk1raINURxg1rPRIxhXiJISChXhNkWwkdJEWyFdojF27z AF5SaI3oHWaYqEkvRTYS9fbfBk9p7Cd3hmEeWHPUl/0Tv0CPlmWWw1a6Uexun/H3EcYqAcvIcQr b3Vuk5zhT1GoS0zo46yHS3hEdh6dQWpqfntczTOerOzNyKj6bMdudlNXWR1/t0jRi X-Gm-Gg: AR+sD11H2I9Eyu4NtrPE84i1Srjm1rUkK/0rdvpOPTGLSTa4VloGhzJuTeBdQqpJCtc El3zqPsw6zrosdBw1aVgpD8yf6vNKrKsl/IIp5O5DRQYVearh0M1nnRuRdUXUzUqKveNeUk2cBp VoCiXLhC5qOMPXcCmSPUYrlOErFGtuawva0ni024fdsI753anZWdhqC+lE3XGhU2VdvChi5evWV g3uzZh8xdQjrG9v6GV5gL6IjgdJC5UOR4TeKyb2chNQmgc9Fg+H6Y5ODxQ91JM1bQy3c/XJZkUp YO/+IDwq8eRyJOUc6amvfZW5xVnuYOohMySY5rK+UikLE1MZejn32ojf1PCveva21SU0a7P4wF6 KtWelM29sBlyuo80OLqjmFzZ5LsWiVnr+om8= X-Received: by 2002:a05:6a21:9983:b0:3a3:adea:83bc with SMTP id adf61e73a8af0-3cbd39aad61mr7173146637.15.1786204139240; Sat, 08 Aug 2026 08:48:59 -0700 (PDT) X-Received: by 2002:a05:6a21:9983:b0:3a3:adea:83bc with SMTP id adf61e73a8af0-3cbd39aad61mr7173066637.15.1786204138737; Sat, 08 Aug 2026 08:48:58 -0700 (PDT) Received: from [192.168.0.172] ([183.83.139.112]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-315bebdf796sm19528407eec.22.2026.08.08.08.48.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Aug 2026 08:48:58 -0700 (PDT) Message-ID: <73b26356-8ccb-4a81-b626-a96de5b13173@oss.qualcomm.com> Date: Sat, 8 Aug 2026 21:18:42 +0530 Precedence: bulk X-Mailing-List: devicetree@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: Bryan O'Donoghue , Dmitry Baryshkov Cc: Dikshita Agarwal , Mauro Carvalho Chehab , Rob Herring , 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> <27f0b033-e940-4369-aaa0-f08426aac73f@oss.qualcomm.com> <429d5d1d-92d5-4949-9991-b092cc7e9937@oss.qualcomm.com> <181b02e3-831e-4461-9327-ab5646380a10@kernel.org> Content-Language: en-US From: Vikash Garodia In-Reply-To: <181b02e3-831e-4461-9327-ab5646380a10@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: D82RMOSUB7XxlFK-7UfCY-8ekq4SBQrI X-Authority-Analysis: v=2.4 cv=M8p97Sws c=1 sm=1 tr=0 ts=6a774fec cx=c_pps a=Qgeoaf8Lrialg5Z894R3/Q==:117 a=vZaankvBGbqXg3MvYcFdyQ==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=GtVQ2Xx2KDLxgnwpovAA:9 a=QEXdDO2ut3YA:10 a=x9snwWr2DeNwDh03kgHS:22 X-Proofpoint-ORIG-GUID: D82RMOSUB7XxlFK-7UfCY-8ekq4SBQrI X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA4MDEzNSBTYWx0ZWRfXw8Ge4yDpZoZh oGV+pEA6o/DVtmUuuhEU8Ttq2bCBKxcllKuaCWjSqXkg38ScBYGJ4xYkSDGLY4LDw5KTApa9GJT BPtK/2OGzmj8flJWozgeF55Jhrpdt3uzyK83V5jrFg7W/SJMqZJKXCYNW6ihIIJprDoVOZmtUMM BIU9uy6gtnssS5pyFdVkGurKOXzbWQtHcsETKFvMt2esii9ZSFXsu3DhmPwJEArsblljR5y6TCM vdDB8+5kiP33hEMBsswtthnmBjyICmZ33yXKMOFzHyepUnuXOiH81/pNI6+aEsa9CASQO78Aj6j 3Zf60YRvIfqWHJHUHP4g03D0yZOn5Zpw8p/FpRql08V7IPgOFMUVrGviQamWgsHTzw0gVru+GVH LfTFpf7UModQXaTnGPYRQsiuhXrW5tcCDYV7coGuLPe298DXV26zzPhNbpS2SkfQHrCgauE7abm lS8NVoiU4j3TJ2lR6+Q== X-Proofpoint-Spam-Info: AW1haW4tMjYwODA4MDEzNSBTYWx0ZWRfX6ia/Ip2uA+0s AiS2cdFCcAiwLDktEyrUPh8dZ7xbo/gFv5HWs3wNjsjXWx5274dO34Qng0iiXb0NK+f16T+IyQb GmazCk5s2kGxmIv/RErklT7d6s2VreU= 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-08_05,2026-08-07_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 malwarescore=0 impostorscore=0 adultscore=0 bulkscore=0 suspectscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608080135 On 8/7/2026 6:48 PM, Bryan O'Donoghue wrote: > On 07/08/2026 11:22, Vikash Garodia wrote: >>>>> I don't like the idea of this series, because it_again_ doesn't >>>>> tell us >>>>> the truth about the hardware. This typicall ends up with bigger >>>>> problems >>>> honestly...thats all the info i have about the vpu hardware that it >>>> restricts non pixel to DMA from the 0-600MB range. The same i have been >>>> trying for a year now >>> You are not honest here. You also know that there are secure streams, >>> which have to use their own IOMMU SIDs. And some of them, as far as I >>> remember, also have memory range restrictions. >> please read the commit description again, the answer is there. > > So I don't necessarily get all of the detail out of the commit log myself. > > Could you give some detail to address Dmitry's point. > > The question as I read it is - are all of the other potential SIDs > covered by this change ? > I get the query as "secure streams also have their dedicated reserve regions, so how does this approach helps" - This patch does not reserve any IOVA for secure streams, only the forward looking subnode can assign specific reserve for specific streams. The patch enforces a common IOVA across all streams, and is good enough to fix the problem we have w.r.t device reset. >>> So, if we land these patches, how do extend it later to account for all >>> of that? >>> >> forward looking design would be subnode, which we can land ontop of this >> series. > > Yes it should be possible to branch to make subnodes work on-top of this > - accepting that once this lands it becomes ABI and support for this > method must be sustained, even after sub-nodes land. > Thats the plan. This goes as ABI with subnode to land on top of it. > --- > bod