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 516D4472091 for ; Fri, 11 Sep 2026 17:53:32 +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=1789149214; cv=none; b=Q5Ph2C6DCEw3GWJ4HnxM1+u8kAyvpXvyHPeJVplANa+QpoGvEim7OU1WIXVvDJPHXwJ1qtFrtuAwPkbEJNX8YoPqYFC0IXi6lYGlcgcb3ZOu/O5UTYU12vFQeWhOBiJkFT50A8qMHCiLbn8/Ex9PcZhfe0+CJRT1l0ANmjpOwhE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789149214; c=relaxed/simple; bh=8eo278yP0UbiWY/1X6osihtpgSnzn78n6QOTLg1L1GY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rWWTxye78dUTCJ56X9bYE7MRTk8nnznSEuYUbmq9Bj5T6nXsulreZSQuE0svW/oVvFHe+QGQ19bmUT4Jc20Ufd483qgPb7fYzU6Su5YtCKbKorSUH0BmEWABWDSD/Z6SFufRxEahOYJNUyYT7/8/j5mDltbMHMsVnmcQHeroyyQ= 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=cCa5p4Jk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=Rla0F4yY; 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="cCa5p4Jk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Rla0F4yY" 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 68BHWrYU972467 for ; Fri, 11 Sep 2026 17:53:31 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= 4OoQhFEnhOfNhViKEsSDPMJo9+bfekumVfJ9cT1RTvU=; b=cCa5p4JkND7TYbm4 5hjEtneqcApAFC6sxeONvum747FQrypYk57CFtTWfgAU+wcYuA4/FoU9ynMfeGmy 51uUoQJSRxw63U50bCVSSuj60+IT7oqA+fxQxxeCZZuKaAs6FtwzQkHZoH3nzvCc a/LqDhy4gtAvJEw5riiYarlYrXwI0w7r21AD97o7dfz6NQ5Os+N2FrqGEuubKTCP yfPaBSFjpNLkBBZ569wJJzv9q9mLKj0q3pfLdCFetQGaI6U6wryHIrR3nlN+6RG2 XTwrf2CwUD8m/yo7CDxPdo9EjW88sQ4+RiL/60xlUoXw+JxnD3W/0okDiDur1/47 uD92nA== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4gmm22rmtw-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 11 Sep 2026 17:53:30 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3965ba1ba3eso1516667a91.2 for ; Fri, 11 Sep 2026 10:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1789149210; x=1789754010; 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=4OoQhFEnhOfNhViKEsSDPMJo9+bfekumVfJ9cT1RTvU=; b=Rla0F4yYCR5fRdm4whp1jOd4B0C7xaadFT46Mr8VgYhMXvKn9P4FttX1bJUWn+N/6L 0cTcDL9Hy+h5gsMzW85oY3oYh8akye42Gg1WktXEtBfdToqRzuWyk8ZN5MSp0OgkwApf NDt4660YzdITJukJgWu6awvyUz5NCL/y9+mLq8wgGldGeFbCqYpUSk1ZWTRvNMljY5K0 7u6BOKjRLJo9Pw6hiQ21Btp/w68tVpra8QfhUlmHMgjs45QlcKdS1rm3wRp1I/hactMc qDczT2v6sjBbf5lVIscC4lKLSydJPKbph1boxFsaZ9Nar0dAy3vg2dsZSMyX01PfrHHk zGvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789149210; x=1789754010; 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=4OoQhFEnhOfNhViKEsSDPMJo9+bfekumVfJ9cT1RTvU=; b=mj9SP/Fm9gzBGbG0bZENsi31QuZaqwEnUP+SCZONwvUuVItGUJ5keBq8u7cCRwADBe nWQyVYUhVIswYk0Qw/0DBua9IPKEe92+EDhHkgULd8t7yB5frIaLiViN8jjxWdZEbEnC a/phwaaqCTgO3U4E3fKbLUeAVvGFd/RgbvIfjawB+TaI/ok9R4mBG6Y4IoR0YZIH/VLZ 1vfDx04pWziLnnnpWEDyqNkKqDD+YLRFU8s3+ojY8HgEuON2IU63fkyikjQTzQ2X67Kn 1XLDy6DfObh6fDbugfxbwPRYJLRLWp4UzDDcY4MP+ASfKDe6XT3cDjUQmomC2UOh25CE JyXg== X-Forwarded-Encrypted: i=1; AKwUvByvUO3wS+apXfCAUswkD8Fu1Nl/QmvHMBlleMccQn6u7UuOhAgJ7FmVXldreQ+SuJi2ZGITmYLEaxL60+k=@vger.kernel.org X-Gm-Message-State: AFuF++nr6eA7BZZVUYmv1U4G1QnQcu4Kqz6pbIsL/YbGhW4KmYhFL4J1 tgFHxM+tshOMzubvSzwDJCs6SSOBXLePHEEqOamJIzZzV06OqCh2qxBg74QG+UVA3dIog5UPX4/ ORSycJmpOgx+PA/YrE/TYtsA9I87FJcXvh6H/bzWzvcJIAyrv/A1/pDEMk2cB0W8cl5Y= X-Gm-Gg: AYBFou34jOYWGQws+9Qmx50aNgKf77oJeNNCbvTepXI580pww9sr693fEK3SOX1p288 cCqE91WRsKmdSV3/XOwWv8K7KUCod1en2SLCUmdSfTfVay6N1umZ9DhpEBQuAMCyju1fJLaVCBg 1L0Y3CHN7LTUnftdgPAc11CJkhR04BxGaPJ7WUfm3V6RHJna5QAfza0TwJPP0aiRuqD0gc7qor6 AHXxbNZw/IWhmi/nMgjZUvQYSKCc7UMrpaCV3k+442NjCSidyoZIN3i1ZJwSvUpFb+5jdneBgjG ByMWQtHwQeXmRgEM8Ngrxvcc8VfRFOJAdWwW7bWAcJSaa5QKKhQ0NOYi2AzzMDmVcygdc/sxiKd 9q1+xFELZVDnz0eBNW6lBAVe14LiIyWVNzMg= X-Received: by 2002:a17:90b:1d45:b0:39d:6f12:fd47 with SMTP id 98e67ed59e1d1-39d9c215be0mr9518599a91.20.1789149209927; Fri, 11 Sep 2026 10:53:29 -0700 (PDT) X-Received: by 2002:a17:90b:1d45:b0:39d:6f12:fd47 with SMTP id 98e67ed59e1d1-39d9c215be0mr9518526a91.20.1789149209152; Fri, 11 Sep 2026 10:53:29 -0700 (PDT) Received: from [192.168.0.172] ([183.83.137.104]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-33ba4ed64fcsm9168666eec.16.2026.09.11.10.53.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2026 10:53:28 -0700 (PDT) Message-ID: Date: Fri, 11 Sep 2026 23:23:18 +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 v3 11/13] arm64: dts: qcom: monaco: Add Iris context bank subnodes To: Krzysztof Kozlowski Cc: Dikshita Agarwal , Abhinav Kumar , Bryan O'Donoghue , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Stanimir Varbanov , Neil Armstrong , Dmitry Baryshkov , Bryan O'Donoghue , Stephan Gerhold , "Joerg Roedel (AMD)" , Will Deacon , Robin Murphy , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , iommu@lists.linux.dev, Daniel J Blueman , Vishnu Reddy References: <20260909-vpu_iommu_iova_handling-v3-0-2fe43ae45495@oss.qualcomm.com> <20260909-vpu_iommu_iova_handling-v3-11-2fe43ae45495@oss.qualcomm.com> <20260910-mottled-tody-of-discussion-2ed66c@quoll> Content-Language: en-US From: Vikash Garodia In-Reply-To: <20260910-mottled-tody-of-discussion-2ed66c@quoll> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwOTExMDI1MCBTYWx0ZWRfX4dPBHtKEe/DX 4sLzSGb+Bi6CadZnBQ5dnETCHJkru1FFgITWXICcj7pxhn7gzelRURZE65m934TzUJ5H9wuFsDl 8GBLcpCrulqIyswlf+LQQrFNHKd3W6uP9JH72MkSsb86Ay7qvzhk5z78dN/nPxWBArqu2UNoKe7 ZtLRiDocxvxsvdwOFGnjvuIV6lBFQUH8/DKs1zyRJHEB0WBj41wV4SR3qGCN1O5TzncZtlmhwVp fElNb851+YA3MicIHvoZKND+4Zz5GwwFcPxLfRMXKa9hyOi/4wzZScdRO1w9KR6NyvA+wjfYkc6 +XxJ6b+N8995w3dbyNDSQDn481H8wKaGnb+0kDqpUZ0w/Z9BEX7rtme++TIQoKASg7GxnJRhcc3 eHz1OZY/dzuiDNDXNuHQj1E2jIj89TaX9eceCnCKAPnGO2i/krvv0Dn4YW9B7FewPpYn8mLghlH RA/eGnZhPXw89XoedSQ== X-Authority-Analysis: v=2.4 cv=LPDz05W9 c=1 sm=1 tr=0 ts=6aa4401a cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=TwCXObd+TJU0JWB7kQOUgw==:17 a=IkcTkHD0fZMA:10 a=VdqzKS8jKosA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=e5mUnYsNAAAA:8 a=VwQbUJbxAAAA:8 a=t9ty7G3lAAAA:8 a=K3eY9hOJoobCHU9vVZQA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 a=Vxmtnl_E_bksehYqCbjh:22 a=CsAS6f0m0zARWR-uHzm3:22 X-Proofpoint-ORIG-GUID: lVmPK2dGcUjLzQZtTMYUWFn7H57CtvCY X-Proofpoint-Spam-Info: AW1haW4tMjYwOTExMDI1MCBTYWx0ZWRfXyfS0T7FMZ5Fp P5GyCsA1y9yRSlntWOuBVbIgc6f1+f5sN/lqt9DLVLKCYs+NTqVmCaVo3Vs/SNCl8iQvFwU73GS 5DCHB3A0NpdJxt5+vP/+Y6/zDSlHKPk= X-Proofpoint-GUID: lVmPK2dGcUjLzQZtTMYUWFn7H57CtvCY 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-09-11_06,2026-09-11_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 adultscore=0 clxscore=1015 bulkscore=0 impostorscore=0 malwarescore=0 spamscore=0 suspectscore=0 priorityscore=1501 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2609040000 definitions=main-2609110250 On 9/10/2026 12:33 PM, Krzysztof Kozlowski wrote: > On Wed, Sep 09, 2026 at 08:27:18PM +0530, Vikash Garodia wrote: >> The VPU issues DMA through several SMMU streams, and the hardware does >> not give every stream the same addressable range. The non-pixel stream >> cannot address the low 600MB of IOVA space, while the pixel stream can >> address the full range: >> +-----------------------------------------------------------+ >> | non-pixel stream addressable range (600 MB - 3.5 GB) | >> | 0x25800000 - 0xe0000000 | >> +-----------------------------------------------------------+ >> | pixel stream addressable range (0 - 3.5 GB) | >> | 0x00000000 - 0xe0000000 | >> +-----------------------------------------------------------+ >> A single "iommus" property on the video-codec node puts every stream in >> one IOMMU domain sharing one IOVA allocator, so nothing restricts a >> non-pixel buffer to avoid 0 to 600MB. Once an allocation lands below >> that boundary the hardware faults, which shows up as unhandled SMMU page >> faults and spontaneous reboots: >> https://gitlab.freedesktop.org/drm/msm/-/work_items/100 >> >> Given that the address range restriction is for specific VPU stream, it >> should be ideally be moved to that stream. To achieve the same, a subset >> of streams is now represented as subnodes, so that each can be >> associated with its respective addressable range. The design was discussed >> and agreed by mainatiners here >> https://lore.kernel.org/all/c7b956a9-d3e8-4e18-b780-5d08f5cd2ca1@kernel.org >> >> In the past, this limitation was addressed with an iommu-map approach, >> with the iris driver dynamically creating the devices. That approach >> was later concluded to be a hack to avoid having subnodes, and was NAKed >> by the iommu maintainers. It was discussed in detail here: >> https://lore.kernel.org/all/c7b956a9-d3e8-4e18-b780-5d08f5cd2ca1@kernel.org/ >> >> The video-codec node includes address-cells, size-cells and dma-ranges >> to declare 1:1 mapping for DMA translation to the parent. >> >> Tested-by: Daniel J Blueman > > I do not believe the testing actually occured, except some case, so > please apply it ONLY to the commits where applicable. > > I already asked this at v2. > > If Daniel did not confirm where this was tested, then the tag DOES NOT > apply to any of the DTS patches. you are right, it was not clearly confirmed where it was tested. I would drop the tag. > > Best regards, > Krzysztof