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 719F1DF6C 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 (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 678DbIWv4095468 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-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fwush17w4-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-f200.google.com with SMTP id 41be03b00d2f7-c9c26587e67so509988a12.0 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=Fcrzl/TrMDxLtseZnZcibEjfbWUldHcGh6DZViv1VcYW4uM2H0GJI7fo1bIPHztvk3 TTHd0qVs6gh0CIElLsr5Jq3oTBpg7jRDS9+J5NDZyts+vzBOWzX9iDyUbhUy4uV75keo w628u2B2hud9GP1O5WN6ReAITF9P0ity6p0fVE1f8+rfrOP/2BThnWy04kfmdHf0Y5ZM /l3EzKOZrR1MvQUPV8XkquZdqFadptnCWUYx/UgorP2pB20GUu/ZSv0+1Mvo+De87XK4 DtRq60QZpyMAxrvju7t95f7UKPdDlXgGiOMBh2QCXv0Evaq2LkErwc8p72HM9d7doxbQ 92ZQ== X-Forwarded-Encrypted: i=1; AHgh+RqA1li+24NH2T9s1namng5aH5p6gWF9+yQx8OY8/oSZc4EyXy2GTxHL90QgNzyLtaxoHWzmGiuORO0YirI=@vger.kernel.org X-Gm-Message-State: AOJu0YwP3tRp1oV/53MD7QNNYgyJXlTD7lZeqesuGSxqK0zuH5JxeguH MOOms2W8Ziqm2pwnlX26P5Ji7GjTJY51kLr/RLTwxT/Rj35x/gJGMGyAb4/eMGA5DXps/OSsj7p hhI7rPLLK8oQeDyJ2z9/MYnUQoGN6/ydQp2Z5xlYNu9n50Bzkf8wqfcxCjRn2Kj9jQSE= X-Gm-Gg: AR+sD11QZ2mryd0l/2ux6rsxy8OauN5QMgb3nUbF7EKzhs9/g/n/cEORj5ZFJXN86DN A6Ai43cW/4nqTyLiQKD2BKHCkVHbxrbEAa44pOqqDyH7OGRRCBmgL3oO0K7G+GzufTCvCCb4Hnm U2Lh0ZPZiBdCcESDn/4mLT6NQQ7P/42p8RUn+gfQuxXRrjCzSKVShZZrspEXNvaqaaIfEpp6i/x n2GvKTZ7aNkloxk9F0nroS4j+SkUap4SeDqXfalDX20pFQYxC3sVlIYfyiXtiMeKaqLuAtzG31E f5v6ahokypeRPQTsEzdzRdPXCzyNIF5DJ/ZRECco5x+cLWMkczbjQdH2kJw5AWbr24K2jn958kN MO6KJ5yVM6X+t6HUZE2BwRCj+fNtiCwwQk8s= X-Received: by 2002:a05:6a21:9983:b0:3a3:adea:83bc with SMTP id adf61e73a8af0-3cbd39aad61mr7173144637.15.1786204139239; 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: 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: 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: SiFNyGxXr5Yg-PKu2TlFc0sOcR7qkr8c X-Authority-Analysis: v=2.4 cv=GvpyPE1C c=1 sm=1 tr=0 ts=6a774fec cx=c_pps a=oF/VQ+ItUULfLr/lQ2/icg==:117 a=vZaankvBGbqXg3MvYcFdyQ==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22 a=GtVQ2Xx2KDLxgnwpovAA:9 a=QEXdDO2ut3YA:10 a=3WC7DwWrALyhR5TkjVHa:22 X-Proofpoint-ORIG-GUID: SiFNyGxXr5Yg-PKu2TlFc0sOcR7qkr8c X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA4MDEzNSBTYWx0ZWRfX8JFNSBAgEuHq G/m197piY3ZMz2fVyO3Y3YiQ0NHdU+5OvhG907pnJQRiYSuK1s9llZdjVHQfNgX9qUveW2vl5ne Gvjq4vj0xNkngCyYgrliQCBn7rbULwQWQsa1xi8/Gt3ZY2Y9w8eNhAQ9glORdXUpYsfVFD2idgO YFxZKqxCbUvrlkzePOovrWGkjBZDvZhD1MJ2mF2vqrn6aa5/PNbaHV6FzkDMbGej5dOHj1/xY9L Fg+OLVKGuR58h3dwVWNu5QOkHufTcpoebreBhu3xszEZ7rzNOP+UJIXgzolKVjkxYAjI+8tDVAw Fu9pB+iyHemOLVqfNIvr33ptTK6nJZdCdapweljSM2hhrK3LXSSBHSBaJrXQ3OlxBEFAR0Yf7ur MKA7J5mzmihozw0Pz+IgaZltmBAjkLFg6z6pMnfdmmS91O45kZpUVxvIs/lwMENQWGDt/UahXth /04XO3RnEch7zCw3Eug== X-Proofpoint-Spam-Info: AW1haW4tMjYwODA4MDEzNSBTYWx0ZWRfXwK94EPZ40Rai hMIm2j8wjoHBhg05G+bUs3wlnRWL8xSbFMxMeg1+AwQy4ldmNDzi6BQjqzeSBU9Eg47a1BARyIF jD28Q1pkGl3SHpT/+DPzrTaQNOFNRa0= 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 impostorscore=0 priorityscore=1501 phishscore=0 malwarescore=0 adultscore=0 suspectscore=0 clxscore=1015 bulkscore=0 lowpriorityscore=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