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 44F592750F2; Wed, 2 Jul 2025 12:57:44 +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=1751461067; cv=none; b=E7gPiw+DW2V8K2Xx4ypKOFg7MCurQ6slCuhEx5nWGsuIggK/exbu6cZ6tbkUkMwvm9jgvynxoPIYVre8TWu2wNkQjKfjG6dljbdGqkEFf/xk8ef4XL57mLKluybPQg0xPwAhLVpz52YVAtJssFSHFRTuJSzsEUL0fTINCzc8g1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751461067; c=relaxed/simple; bh=2sXL3Fr7mgtWPBU9HDSR0mF+GnmVkfjHT1c9Cn/eVls=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=SaEjtXi/UBrt3GKqfTNcIUDrHvbFy5mNHS+xgFOilY7znigaN0ZfM4da6uLhDXcP/akz8KZ42Tcb+hTsY0SrReoynNmhOalJOgsvhLci4J/NAueFWmmM9aYYVGrdCdWnB6UWuG3ThAkwey/ub4rn+oHaixFPgQiS8E8tcMKS/rs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=DZiUEAXF; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="DZiUEAXF" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5629vgah020843; Wed, 2 Jul 2025 12:57:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 8fZgRJvlf4/PspseZQswN64GtZ10HW7Urt6Dg5tEraA=; b=DZiUEAXFcx6XQo1S 79S/LVhGa0PvBaX2sAGFW9RYx3xlf+EgVQmxhiHjHnK8q5PJdplZ9N+aLLz+knqh /AefO/nXrO9yhvFGgmqSAwzvyvIoXV6u3sfK/oBOEkPS+EUYA3WuT+srdw9ngydg qHnzYZJUwuBR9yMEiOG/tLKd6AKXQ7ufo0SXIQN32RhQut6VC1QpAJDyN0DeVDjj vEUdvmvFf+BzmAsucdEEWgkxvfxH//asOSlUQENYiBRdVrBvkFH8Pv4zOyMv4o/N QG5k5aeG9fOjCQfjT5hJnvxGN6MSz4VkKQPfMNujkiR9NJQ33QiD2O+wykcS7kA+ DPumGQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47mhxn3bmh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Jul 2025 12:57:38 +0000 (GMT) Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 562CvbYA006810 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Jul 2025 12:57:37 GMT Received: from [10.50.58.161] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Wed, 2 Jul 2025 05:57:33 -0700 Message-ID: <9f392938-8286-82b2-4f8b-28846e306b36@quicinc.com> Date: Wed, 2 Jul 2025 18:27:30 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v3 0/5] Introduce "non-pixel" sub node within iris video node Content-Language: en-US To: Krzysztof Kozlowski , Dikshita Agarwal , Abhinav Kumar , "Bryan O'Donoghue" , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , References: <20250627-video_cb-v3-0-51e18c0ffbce@quicinc.com> <5f90547d-945a-4e26-b36c-75f2d8a1af97@kernel.org> <5ad418d9-8199-43c9-a477-1e3b939c054c@kernel.org> <7b6db4fa-2f73-376d-4eb3-64c1c7e6cda3@quicinc.com> <729d83e1-f28c-4e95-bcba-52f7d7a166ee@kernel.org> From: Vikash Garodia In-Reply-To: <729d83e1-f28c-4e95-bcba-52f7d7a166ee@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzAyMDEwNSBTYWx0ZWRfXyZ999AalegmE GhAi5ViMwn0acXIVfoWFryA95dWdG/WeBycSX4nt7z2ij5kLeUDVyo3UaVkW40wnKkjypqd74iW AmEJc4+lLffYIkjL2myuM5MpWiGdjdXQ1IJbbj7ztld8tnbYUVoPBQNAisBgVeGJ8GY6pdJXqZc wzPDdwjvJZhEKyJ/yVSaZe2uvGL2zCGCmCQh9unfwwJC2kmSJne32cyPC9bGJXMlk+RUSMSk6tR 3orPNu8heIkHrP+MxGRkunjl4FlD8rVoiUtoE8kTkhDJrQfNuDJ+JGABPssf+GsgIrExjXhAOaJ 8qgLnzUf+nZ1sQEhvaZ/Hj86ojjKgGbSYXYaq5GX+gq49GxX9yNjR+m+14BttTjDiTRmhG6vkWo oFGFKRv4ANm+fTo52fOS6xSO36XWjmL5FEeMyBrhEInfOe1p7G8s1Lul+LLUB2qiYn53i4CB X-Authority-Analysis: v=2.4 cv=EbvIQOmC c=1 sm=1 tr=0 ts=68652cc2 cx=c_pps a=JYp8KDb2vCoCEuGobkYCKw==:117 a=JYp8KDb2vCoCEuGobkYCKw==:17 a=GEpy-HfZoHoA:10 a=IkcTkHD0fZMA:10 a=Wb1JkmetP80A:10 a=COk6AnOGAAAA:8 a=EOObAdwF5RE3ioHhAHAA:9 a=QEXdDO2ut3YA:10 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-ORIG-GUID: NGMNbPezw2sfUXE-5uOYYNj2GONZAbN6 X-Proofpoint-GUID: NGMNbPezw2sfUXE-5uOYYNj2GONZAbN6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-07-02_01,2025-07-02_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 malwarescore=0 adultscore=0 clxscore=1015 bulkscore=0 impostorscore=0 spamscore=0 suspectscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2507020105 On 7/2/2025 5:35 PM, Krzysztof Kozlowski wrote: > On 02/07/2025 14:01, Vikash Garodia wrote: >> >> >> On 7/2/2025 5:22 PM, Krzysztof Kozlowski wrote: >>> On 02/07/2025 13:37, Vikash Garodia wrote: >>>> >>>> On 7/2/2025 4:48 PM, Krzysztof Kozlowski wrote: >>>>> On 27/06/2025 17:48, Vikash Garodia wrote: >>>>>> This series introduces a sub node "non-pixel" within iris video node. >>>>>> Video driver registers this sub node as a platform device and configure >>>>>> it for DMA operations. All non pixel buffers, i.e bitstream, HFI queues >>>>>> and internal buffers related to bitstream processing, would be managed >>>>>> by this non_pixel device. >>>>>> >>>>>> Purpose to add this sub-node: >>>>>> Iris device limits the IOVA to an addressable range of 4GiB, and even >>>>>> within that range, some of the space is used by IO registers, thereby >>>>>> limiting the available IOVA to even lesser. For certain video usecase, >>>>>> this limited range in not sufficient enough, hence it brings the need to >>>>>> extend the possibility of higher IOVA range. >>>>>> >>>>>> Video hardware is designed to emit different stream-ID for pixel and >>>>>> non-pixel buffers, thereby introduce a non-pixel sub node to handle >>>>>> non-pixel stream-ID into a separate platform device. >>>>>> With this, both iris and non-pixel device can have IOVA range of >>>>>> approximately 0-4GiB individually for each device, thereby doubling the >>>>>> range of addressable IOVA. >>>>>> >>>>>> Tested on SM8550 and SA8775p hardwares. >>>>>> >>>>>> Signed-off-by: Vikash Garodia >>>>>> --- >>>>>> Changes in v3: >>>>>> - Add info about change in iommus binding (Thanks Krzysztof) >>>>> >>>>> Nothing improved in commit msg. You are changing existing device and the >>>>> reason for that change is not communicated at all. >>>>> >>>>> There was big feedback from qualcomm saying that some commit in the past >>>>> received review, so future commits can repeat the same stuff. If qcom >>>>> approaches that way, sorry, no you need to come with proper commit >>>>> description. >>>>> >>>>> Please align internally how to solve it, because my response that past >>>>> imperfect review is not justification for whatever future issues was not >>>>> enough. >>>> Sure, lets take this as an example and you can suggest to provide a better >>>> commit message for this case, it would help me to compare where is the gap. I >>>> have tried my best to capture and explain the limitations and how the changes >>>> address those limitations. If that is not sufficient, we might have the perfect >>>> message from you and compare to find the gaps and improve, I am sorry, but thats >>> >>> It is not question to me: I did not want imperfectness. Qualcomm >>> engineer used issues in existing commits or imperfect commit in >>> discussion, so that's my solution. I don't need that perfect commit, but >>> it seems if I agree to that, then I will have to defend it later. Well, >>> no, I don't want it. >>> >>>> how i feel at the moment. >>> Sure, I feel confused now as well. >>> >>> Anyway, in other messages I explained what is missing. You are changing >>> existing hardware and you clearly must explain how existing hardware is >>> affected, how can we reproduce it, how users are affected. >> Exactly all of these i have explained in the commit message. The limitation with > > Well, no. > > I did not see reproduce steps, users affected, which boards, nothing > like that. > > Your commit says "certain video usecases"... how is this specific? > > You are deflecting now questions. Point me then part of commit msg which > answers to: > > "explain how existing hardware is affected" > > "how can we reproduce it" > > "how users are affected." Ack, will add further specifics covering above aspects. > > > > Best regards, > Krzysztof