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 CA61E361DAB for ; Mon, 13 Jul 2026 06:03:06 +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=1783922588; cv=none; b=EUuYreO48WZ7pJntB2LLVnybDbYZNAk4z/pCf4H96NhC9A8weBcDuJNF3u/6um1nEzKuNO/zobffAC3NorC74q6kCPrCQpxZUfAo9QBVC30ExoLbax0WHz12RXs3WefFFkWCKDs2AFX1NfnK8KW1OW+QCy3Sa1Y+DX5ievk66qk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783922588; c=relaxed/simple; bh=o/cYIypQg/YyC59IxDV/wB+yUdR9cQMVsaZlE6Z40lY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ckGfnL6IpNbiEduMlWi5VJZbV9ZGVf2SA5HQiwOw/F6UUtR0KTcFZIFwRt7a5xFoB7gy7Cgt+qbtoXR7AGBACGJcmPQgU2M2ULslrPzin4qyxOTjKxq+riUQsdr7c0vPfY5R8L3sZOEJ3roso332v7HQPp7OA/7cIp8PghCP4eI= 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=lt/bEIRy; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=bt6gAOJ8; 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="lt/bEIRy"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="bt6gAOJ8" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66D3A7BO257754 for ; Mon, 13 Jul 2026 06:03:06 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= rx+o5Yj3X86o+vcScF6U5wIbLWITlQ1ZlQ2rgoymQk8=; b=lt/bEIRyA2d1Zlp/ 4UJB5iIrJ5ALQftNQDN3ZwE20relAwc+jBUsVDyBH6NrHklVYth5fnczXZEINWKk 4TuWjkEM64gryhA+wR7Cq2Pp29zkUwO0sK4kAZiN2Gu3FZ+fCAesygQqFbVdyYx9 1KpaORZM/XB+dFqtPdKIl1FI6Pc14IVTp1F3L++xIKToY15htVMApzVTZZmXXfHM aScsjiiWATuOz5/vf+vOs6aKizlUrU+MPRoY2fUGthjEa6LDMEyFSwwMH+Onc1vz nFwjh4Zsjw1IefgBkG2zVsBl9n3wjY88gjgAA3jNX3AKiEiePRBNCy7V45qdBJJ3 LmzFDA== Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fbe9hmk66-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 13 Jul 2026 06:03:05 +0000 (GMT) Received: by mail-pg1-f199.google.com with SMTP id 41be03b00d2f7-c88aab7c1d4so3887182a12.3 for ; Sun, 12 Jul 2026 23:03:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783922584; x=1784527384; 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=rx+o5Yj3X86o+vcScF6U5wIbLWITlQ1ZlQ2rgoymQk8=; b=bt6gAOJ8eij1P9xUcwQ8K/0cGILE+vHIbkecBefZgmpf/D/GcJCMEw/KplNKignTGl wOODY/oEe8O1oIqKsgCZ9E6N+E1gWlexK9J/4T4d1dkud2OqHo+EfwXxH7iRUy8NGpR/ IQcQl8+BBl0I76oqhsEXP+0g1fdL7W+mf/EYkgjmqgTrDOuG+8pmAhngTu+wGek3HYQZ tVhTvBWllp+XzKFBpeC1JxnLPhZgUVEviO9DcUfwGHvIKkN1ilLUhB7B5NweDbqfmj+X iIur0ThWc/sXdn0cSuttNWF7XFN20E8zWJrOlsaggIT35NcWk1uXggiW3JmtFpaXRzcW 46Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783922584; x=1784527384; 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=rx+o5Yj3X86o+vcScF6U5wIbLWITlQ1ZlQ2rgoymQk8=; b=WkEn7CawPJSORvj28E5tDEuBcNDne+1qA84wyry5ls8bASjw0PZFywfJrRinQGTPbR D9Wfg24UnRjfl1NOqK5nDwFelJFx/cfsBEQ/SekisyurDDtSURL9HN249PtmSPQsODyt S2w5sjNdtlOm5undL9uUOWxXS4P3cMAoqN9CKqTJEbnXEn1iTfpwqWMFJs+MJl1A41wf SpfGzqa4gySSjcD4tZn+4yS4azfCsQSUZobxhXVNEwbZ88W3GBAKI6MNteDhd1inbMgq S/BmfqeHoBmvFk2ECXGPkmLZTr0TGgaL2EHoIp8fGSi92U2fI9utPe3yMWk11wrxfuin NBFw== X-Forwarded-Encrypted: i=1; AHgh+RpM5yGn/D8moITW9xw8R94YnyGt8BhDibI4hV98iErUnXDTRUq3G4RCZuc1lHamzCXQLZcNT2KSK9Z4BQo=@vger.kernel.org X-Gm-Message-State: AOJu0YzDlLl2ZjUO9XYXV6VjX/YR/1yGtfFqGy0c6yjeZd4We8L2pner UUsucpkuJiJfTDFy77EFGP0uWymrGxgSXhyl/iWTjC3qsmDJlDlUDV9Csu15PrUdO+cxaVO8ani G6kvje0naJJBy63jvSyWqPEYb/tWQ/B96bS7Rh0tuCtYSMDWxqjEwwMuj8Be0LRsYWcM= X-Gm-Gg: AfdE7cm7UEsJZFNJu/m4XCBHdlJdCvjkrOOyNTboYN0Kz0AntAnWy/Dkq7ATr05kYTu h5rYiT6dEGhnV9sC1vqE3XpTrVVbPNpQ7AC6ZMQN8PL0ZXu5WcNYczjQGqpx4bpP1LJIjtfw6G3 tNN7hXU2qtGKJgaSv1JDTpJRrytTadPIZmYkJ58uu76EiqF1HhilrQNUAalF5p0Vt7yUBwfGDE2 9sRXuUk9zUTNFXKpt38JhyR7RnO0au+Fun0Npnvc9qgdkkaV9cOdIvd76oqZwGumHZJUPiKIGCM zViwbiYaRFyTtpVDZsFTfajcO19eIBqY5+IhDNRIlO/SO8rgX5TyqszLCPCDHkpbh7j2gz8joci oEkYUvtJ7wmxYulVN/019hgl7H7fVIthJC/b/W9FpUdpy X-Received: by 2002:a05:6a21:9e0f:b0:3bf:baed:c797 with SMTP id adf61e73a8af0-3c110b2d84dmr8341095637.49.1783922584555; Sun, 12 Jul 2026 23:03:04 -0700 (PDT) X-Received: by 2002:a05:6a21:9e0f:b0:3bf:baed:c797 with SMTP id adf61e73a8af0-3c110b2d84dmr8341067637.49.1783922584098; Sun, 12 Jul 2026 23:03:04 -0700 (PDT) Received: from [10.204.101.214] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-13b8a5992c9sm22568953c88.4.2026.07.12.23.02.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Jul 2026 23:03:03 -0700 (PDT) Message-ID: <00df448b-b492-4c85-bba9-84753825c265@oss.qualcomm.com> Date: Mon, 13 Jul 2026 11:32:56 +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: [RFC PATCH 07/11] arm64: dts: qcom: hamoa: Move Iris IOMMUs to sub nodes To: Dmitry Baryshkov , Bryan O'Donoghue Cc: Dikshita Agarwal , Abhinav Kumar , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vishnu Reddy References: <20260709-vpu_iommu_iova_handling-v1-0-72bb62cb2dfd@oss.qualcomm.com> <63t_fLehIKEom4-JPN9kAGFEjUG4_yFoHMhB2aEAppwPHb2oPbK666eGkGgXxEAHRJnfTRRUwuf2EqNRYe_gjA==@protonmail.internalid> <20260709-vpu_iommu_iova_handling-v1-7-72bb62cb2dfd@oss.qualcomm.com> <5c8af0d5-2477-48ca-bd7c-0f2475a9dd62@kernel.org> Content-Language: en-US From: Vikash Garodia In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: _mLRVUugKfGcfJce26R9pBp1qznck3nq X-Authority-Analysis: v=2.4 cv=SajHsPRu c=1 sm=1 tr=0 ts=6a547f99 cx=c_pps a=Oh5Dbbf/trHjhBongsHeRQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=e5mUnYsNAAAA:8 a=EUspDBNiAAAA:8 a=769wdsGJOBCleK3k260A:9 a=QEXdDO2ut3YA:10 a=_Vgx9l1VpLgwpw_dHYaR:22 a=Vxmtnl_E_bksehYqCbjh:22 X-Proofpoint-ORIG-GUID: _mLRVUugKfGcfJce26R9pBp1qznck3nq X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzEzMDA2MCBTYWx0ZWRfXyg8KuKwEa8TV lcFFloGLkTv8f2Va6k195j8uLRFpeT3fERvtwL2qj3YMATyf9abFSQInXBoyuJ5M4dF/efI7uxU 6dQXKE4i5ZOXfMpC6R6OmQMROMWvBX0CCzOj+sVRXW0yalgTiEtDT2fdApYpNdwuYlwuSXUyMQs 6175sVAS0X0pwJVUDkhUQoNoJw/GCTDpcf7GHR+rGqc2JnCSfkWT6HTNYq7jt+kAnYDIs6crdnf H307PhFJUfCkTwFl93LBZrOBKHx0eBpQ8zNjyw8AeWRC0fIia+cKotRgec9zABAz/zq6KPSNeBq aOXmTWOZwz1RpNEKMo0CEOgmhGhmgblYBDzVUolx0ekkWqwCTQ4Vvqysay+u3da5L/9BIR98+TV 13UcojYe7iddiLQ2BHHbp7qxFNzMimW60fHwAmK52Kj5kaCs7/egyiefWIs+8aMR2Cf6RAF5VpH 0kYI3QTYgfdjNUuQGug== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzEzMDA2MCBTYWx0ZWRfX/t4DSBmc06IC 17q0XogVdDUP6ezj0KSphH5BJE3Mf1w1omUo6v2pIfwwt1JWqkS4vJXZ2todUEe5GLAiBRv13q5 M3mYj3DWm4LLL05Pcm1yeq4qF52gvGc= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-13_01,2026-07-10_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 bulkscore=0 phishscore=0 clxscore=1015 suspectscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607130060 On 7/12/2026 5:49 PM, Dmitry Baryshkov wrote: > On Fri, Jul 10, 2026 at 11:46:58PM +0100, Bryan O'Donoghue wrote: >> On 09/07/2026 13:35, Vikash Garodia wrote: >>> The Iris VPU has separate streams with different IOVA constraints. The >>> non-pixel stream must be limited to the 0-600 MB IOVA range, while the >>> pixel stream can use the full IOVA space. >> >> >>> Using a single set of IOMMU entries for the Iris node does not describe >>> these per-stream limits and can allow accesses outside the supported >>> range, which may lead to device crashes. One such issue was reported at: >>> https://gitlab.freedesktop.org/drm/msm/-/work_items/100 >>> >>> Add non-pixel and pixel child nodes, move each stream ID to its >>> corresponding child node, and add a reserved IOVA range for the >>> non-pixel stream. >>> >>> Co-developed-by: Vishnu Reddy >>> Signed-off-by: Vishnu Reddy >>> Signed-off-by: Vikash Garodia >> The thing of it is, this _is_ a bugfix - perhaps its not one that can be >> backported, actually scratch that, this isn't possible to land in -stable >> realistically. >> >> So what is needed here is a strategy for fixing -stable. > > I think, we need to start with defining, which platforms are affected. > sm8150+? SM8250+? SDM845+? MSM8996+? All platforms, including venus. > >> >> That could be apply Daniel's patch and backport it with Fixes: - with >> mainline then say applying this change and reverting Daniel's patch >> >> or >> >> That could mean some other solution for -stable - up for debate - what's not >> up for debate is this series needs to _address_ what happens to stable for >> all of the target platforms - and then transition mainline to the new and >> shiny way. >> >> That could mean >> >> - Applying Daniel's fix with Fixes: and cc-stable >> - That patch needs to be extended to _each_ Iris platform containing >> this bug... all of them I think. >> - Updating bindings >> - Updating DT with new method simultaneously reverting Daniel's fix >> Ack. The proposal seems a good way to me addressing stable, i can work towards this. Will wait for couple of days if there are any alternate suggestion on this. >> And I do mean doing that in one progressive series - a fixup for mainline >> alone isn't enough. > Regards, Vikash