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 E85183D5227 for ; Fri, 7 Aug 2026 09:05:51 +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=1786093553; cv=none; b=MPGxBj3qP1Y92HNOXfXZBW+pBsn0d0YtkslzJAqQU78OCHgx+8MPQ5fLShcRMlXoRjuLo690sffGU6K816H+8sLWrU6xTPey0FdQI+dtjr/D9F4scfcqe92T2ss9m4Di04LpAOh+PAweo7M4PbuKBX6u6dH9YQX9Oj5YpGF1trw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786093553; c=relaxed/simple; bh=mGv92fPDKTDgi/M1tLT70EngJtlD2QV5OTlgO3iQp98=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=FKWganIP1RA3Z+b6G4LqceJ2JDYiLGHvtCnzAHQWT2lNw/FdkMPWsJbgqlZa/HS8FFHYuSlX07KhfQkirRcFbj0PcNbWlnaf92iDTgp8rFK1E9NQXkbUiOwQvOr4ScVaWSB+kMqXzl0jJQ5gnvVT4CE1MuvTAuIrRd2ASjRr30Y= 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=D5hsLqOk; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=TXV3Z1yu; 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="D5hsLqOk"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="TXV3Z1yu" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6777oDwV3822026 for ; Fri, 7 Aug 2026 09:05:51 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= 4sMy9lKdqb+KnOmevtsdmhiZovlqPN/jquIBmM3Sjng=; b=D5hsLqOkLmOcfch+ /R+z92Z9TjUz7IuofH55zEL12WUu4g+vdyZH7e9s6PvUzdREE2mW4FLedJk6t4DH 9j4ZWWnSL+7a/JFH5jjOjTZdzQSwJr8GVIrRf8FREJBiLdRW1U+Cr5UlJyS+L52I 0dL0lDNijmvoIX7Cp17SzUIpVf/BA6LqTpU41hW0UyjS2SRIhEoT8XoL2Fz9bnPX xWpIV7Tdh1lA3FYqOSQpXQMxGsBgTWP2mdUK18Uz/VmC9RQlBootvHuctIAjmjbO u2Jip0xCAx5x4PJVL5c88t+1qcadZ4QtJTPld5EV4KMDNaIfzQLF6jbdPhCFadF+ fbwLiA== Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4fvy6gu6t3-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 07 Aug 2026 09:05:50 +0000 (GMT) Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-cab3e9cd922so2068123a12.0 for ; Fri, 07 Aug 2026 02:05:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1786093546; x=1786698346; 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=4sMy9lKdqb+KnOmevtsdmhiZovlqPN/jquIBmM3Sjng=; b=TXV3Z1yurrScqn7ZYxWpZ6LkWaFaoKjRljL8qDl0FiTG2Vb2qD4AyN+GhGF6CHlSKE KSCu9Ep313NifakyfBfp0WYx1ux7+0V0s9rdVayjLqOjhtssjcyBw5+pkScSb9eujQFC 3psE6NUhPUMyO8qy7PgsHcCIxS/mTESu0IprFdy9udGyPtmtPuSbGurPoXPxKDUiWOzZ 2nTBduXGSpP5bSauGsXSwUNmqCCXWMjVvyW2LGKeo083NR2AC8DcfRMN7i9MHeK1xF6i 52VuA0YeB/DxXft0ccOMeFmNWaA6U2n8jTSUlumhHjyPdYqk255i2NbDDjYV5zd29oUw J8yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786093546; x=1786698346; 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=4sMy9lKdqb+KnOmevtsdmhiZovlqPN/jquIBmM3Sjng=; b=NC/6yrq1rXH78xJmD0qIkZgwK44vzmK23y+3hY97la5iwL40ipq8GypHCriSaYPdPI c/Nsh+YbcUT23nEVjeBdTZoGDhwJcIwy2DBvqPLDcqcaseF5uwSL6A5YnShRZAmVGdKS 3mPfbE/fT9efojb2XleiyWMdpKbqSSmMeky8Okx/UgWFvTPqfNM9p9/NlBowJQnqKfA7 ActW7POOJG0AddSZbJnMWpdTbSJzzjyU7HH6nD6SLzj3riM6VX/8LI3xbn/xZ412nx1l juIQZb/LUNeBQdfWoKGPyv/b1UBzvcSbIpBspTU2y0uE0qqUfesVL+S7Io4RK5V7USBJ cPmA== X-Forwarded-Encrypted: i=1; AHgh+RprF1Oab8mu3GN/ZbEI38FF59Vjqr2PS1LLvMrYtvqiVqkZdohA0WcrgnFAqhalfcuqMTKn9W1sJlil7Qs=@vger.kernel.org X-Gm-Message-State: AOJu0YzP6HT21T5Rn4UW3aOJPga7q6BeLkRsjAd7yrh0M4JNuOeJr5Kp XpUBr3liMnIxIHzZDP6Qjj6sxgnSUdfXjzn9edZDz8w3f0wDnQpAX1Kxjtca+ApXIJ+Zb9W5Csu SlGBXZu/UF08jkLWnp/KJWB0M4/7EA3ZAvcJUlzYEoeF7oJ2zxe8iM5ESaJ+9T0IIJq4= X-Gm-Gg: AR+sD13SuX3Gqs1NPH8mnYPA6E/AtACkoa88qlkqSD0Q9WsipcJ4AJRdMBDBJqEsxes XbYXupc5/BqzViWc4VMbR3QJPTeOp4oKWLrvL2fx3CGdQlzH8bZIXOSxmV724oipEw2kQv91LF9 sGUVhryqo8EcZELcYdNq9ouOusroow9NrT2EOX7OJput4WTsZ+eu3LppdPYkjnhmtMLj0goXaqv eY/dnnkapEtw/hGznh1rnT3xappPSlBJdTSKrZq6aYNtXXGyx0R8uT1gbkS960NVTm5uqGuUS9k ShTF+H1AVAqMp9HduaKkm868/iFDUHrAJc5bjwfXLOFSPejq9+m3bnvMUoMeIVi3BitzQTrpz+w GpRGmUGn/ppzlGAkmnRrNK5R48gx/iLNJcbU= X-Received: by 2002:a05:6a21:4c0f:b0:3bf:6d96:ac40 with SMTP id adf61e73a8af0-3cb85ded9cbmr27306320637.12.1786093545883; Fri, 07 Aug 2026 02:05:45 -0700 (PDT) X-Received: by 2002:a05:6a21:4c0f:b0:3bf:6d96:ac40 with SMTP id adf61e73a8af0-3cb85ded9cbmr27306225637.12.1786093545435; Fri, 07 Aug 2026 02:05:45 -0700 (PDT) Received: from [192.168.0.173] ([183.83.142.146]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-315beb88413sm7785014eec.18.2026.08.07.02.05.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Aug 2026 02:05:44 -0700 (PDT) Message-ID: Date: Fri, 7 Aug 2026 14:35:29 +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 00/22] media: iris: Restrict lower IOVA range for Venus and Iris VPUs To: Dmitry Baryshkov Cc: Bryan O'Donoghue , 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 , stable@vger.kernel.org, Daniel J Blueman References: <20260807-iris_iova_600mb_fix-v1-0-3996f67e33f9@oss.qualcomm.com> <5pnnu5nc6tpptw2wriq7r7mxcjvn3kvi5auz4vqffdent5bxiu@k5pbypgpgexl> Content-Language: en-US From: Vikash Garodia In-Reply-To: <5pnnu5nc6tpptw2wriq7r7mxcjvn3kvi5auz4vqffdent5bxiu@k5pbypgpgexl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=EYH4hvmC c=1 sm=1 tr=0 ts=6a759fee cx=c_pps a=rz3CxIlbcmazkYymdCej/Q==:117 a=eVbXwf39F0J6/s7D6zfB/A==:17 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=LEUcfjZBBKQ5YW9IAxkA:9 a=QEXdDO2ut3YA:10 a=bFCP_H2QrGi7Okbo017w:22 X-Proofpoint-ORIG-GUID: ytx5GbcqWcRx9JUZ_Z1BOgkGKeZSkOfp X-Proofpoint-GUID: ytx5GbcqWcRx9JUZ_Z1BOgkGKeZSkOfp X-Proofpoint-Spam-Info: AW1haW4tMjYwODA3MDA2NyBTYWx0ZWRfX28TMgzDaDKEW S4BBNWlAF6FGopyFDaFcUJN/kJyt5AOaa8FaTs1ILSk/w2O3QMA0OYbptFjS6iUbz2toGP5Jg6j 5m6K75UY7M9Bfy0nRIvLpcpsoX3tswg= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODA3MDA2NyBTYWx0ZWRfX1hMW4afAWAW1 5ohqfyPWuQpWia29+EMuAvqBFqDk/v8v3Kp760hjaqYnl9P4SAF94KwGRyMbe7vioMOoEQZQnfG cGO4EAcaoNKy8wNezzL2U1THIUNo0tnjvlJkPzWUopfIz9V7GJp2x5E/QuBQgew3qUm85miKWrZ 7ngR+ECSHB58z1inqzKOgCgiN3hTIGhmPw0VmKNmfiwzoZKXVR5YhjzWhP87q1ylFBrqEttIEfn lJE0OXatBMEis4y4kxF0FllXfvU58DoArKmbUTTwRuagyyBbExNp534y8d6dsclok5NbyAmicVU Ajz9+f8itOUcSmb954tWcohx8/U2Vpn+L1D/PLJdKGE2P2iw4abJmmuonrn/KdifNNWR9moRy7Q kikYh4rvaMmSW7VWakAkvgkQoOQv44Q/Z0C8Yu4FfWiKrFdCJK5kex0sGfsnv6GTi3VMCaMw8U8 ERzqL1442JtWo4sL2bg== 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-07_01,2026-08-06_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608070067 On 8/7/2026 2:29 PM, Dmitry Baryshkov wrote: > On Fri, Aug 07, 2026 at 01:54:44PM +0530, Vikash Garodia wrote: >> Qualcomm venus and iris VPUs reserve IOVA addresses below 0x25800000 >> (600MB) for non-pixel stream ID in secure mode. When the kernel >> allocates DMA mappings from this restricted range, the VPU generate >> unhandled SMMU page faults, leading to video failures and, in some >> cases, spontaneous system reboots. >> >> The issue is readily reproducible on affected platforms by running >> multiple concurrent video decode workloads, such as opening several >> browser tabs containing video streams. >> >> To prevent allocations in the restricted region, this series introduces >> support for an IOMMU IOVA reserve memory-region in the Venus and Iris >> bindings and updates all affected device trees to reserve the low IOVA >> range [0, 0x25800000]. The memory-region is referenced by the video codec >> node, allowing the IOMMU layer to keep DMA allocations above the reserved >> boundary. >> >> The series consists of: >> >> * Binding updates for Venus and Iris schemas to permit an additional >> memory-region phandle describing the IOVA reservation. >> * DTS updates for all affected Venus platforms. >> * DTS updates for all affected Iris platforms. >> >> This ensures that DMA allocations do not overlap restricted IOVA >> mappings for non-pixel stream IDs and prevents the resulting SMMU >> faults. > Some of these patches have been sent already. Why is it again at v1? By some, i assume you are referring to the 2 patches from Daniel. Kept it as part of this series to maintain the continuity with patches across other socs, other option would be to bring them as dependency and drop them from here. > >> Signed-off-by: Vikash Garodia >> --- >> Daniel J Blueman (2): >> dt-bindings: media: qcom,sm8550-iris: Allow IOVA reservation memory-region >> arm64: dts: qcom: hamoa: Reserve low IOVA range for Iris >> >> Vikash Garodia (20): >> dt-bindings: media: qcom,venus-common: Allow IOVA reservation memory-region