Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1312092pxb; Sat, 15 Jan 2022 08:32:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzE7zmH8Ckxv/ztdGo021+RcXOVmMV0nyfCtVjP1aZCJpd1zawW+TV+UUqGO+FSakuNkedi X-Received: by 2002:a63:2c4f:: with SMTP id s76mr12338455pgs.436.1642264323249; Sat, 15 Jan 2022 08:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642264323; cv=none; d=google.com; s=arc-20160816; b=RvEdSrmzdATgKN839XP4b+46tM+LR3Zd8AwGRYQTcAAfy2+DgBywnYBkZ8fmWao2CT OO7j0s3d5L9ZCHxs5bxo8pqXRH81jDlK/fD/7bxobshUp0nCO5qY1RzzLm0b4rEbzDis UtzQQbak1H5Nt4IFK3W5ZPsmTid43kPrICQTZiLmAJ/9sWOOFy43rbQhGY6qusJNArRp FUQkNhACA7yJ0FmhvkH8Ks5lToXCpi7pMQ+XAIsMocm6GhkKuS1VgWuCtzXRdMjp+uJa mPk/BBETxk942p2ffvXx6HjF8hvjCpF6pxZ1qMkHH1sBDgPdpeLFE6wwHP/JHigxRUzO 3GLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=Vfy21Sal+oJpXNlzjKEFjoKc+BDoy2jczgNx/+aa3jw=; b=JYRXS4qjYNx3DN3eUI7fI/WZix5M9V5JOPNePzSEC6KF78aDB29MX/pbG6gIk6j1a8 ZBI1GWKe9iAXqPQiLBOCPssHm+t8sCdEBkdBS9OtY1BH0NjxECmWfVynw3BOP9d9pCsr PiVTbQwU24Sv1y2DUQTi5l2YAivnS1SM9FaQ0C1vxQjSJPXqV+vMDPUA9nWqXNGC1BE1 nIbDkJI4GrCcCkNSSTsE5+JqugagotZiKwPilZrseyjGGVb51apXSw6Gy1PTmP0Q/O1t HfNR5Pxa7qPbFzzBGhAVgduaFsAMOaTqPdceS/ajdnO8jdtFDDB3HRT4CptzveAm+WPr 2gHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="XDILwQh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u65si8748167pfb.57.2022.01.15.08.31.50; Sat, 15 Jan 2022 08:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b="XDILwQh/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230169AbiAOCQF (ORCPT + 99 others); Fri, 14 Jan 2022 21:16:05 -0500 Received: from linux.microsoft.com ([13.77.154.182]:41216 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbiAOCQD (ORCPT ); Fri, 14 Jan 2022 21:16:03 -0500 Received: from [192.168.1.17] (unknown [192.182.150.27]) by linux.microsoft.com (Postfix) with ESMTPSA id 8807820B8028; Fri, 14 Jan 2022 18:16:03 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 8807820B8028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1642212963; bh=Vfy21Sal+oJpXNlzjKEFjoKc+BDoy2jczgNx/+aa3jw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XDILwQh/RUzgsYdiuxzegJoDivO6Ox8iWbayOvWlB0gwGDzLJ0nDVBSrZzwhd2GwB LjcRuzX3FG/dK1uQBQr5D1I4gBWNDeyt6szWa1Zyf/MAqnB4Mm7zeCAV6/HDiWHjW2 fQuo3p2WAErAMGH8COSZkYWqJRSmBfiwACVt0vD8= Message-ID: <01c98da0-749c-7293-a783-2048772a81df@linux.microsoft.com> Date: Fri, 14 Jan 2022 18:16:03 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v1 8/9] drivers: hv: dxgkrnl: Implement various WDDM ioctls Content-Language: en-US To: Greg KH Cc: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, spronovo@microsoft.com References: <0c9f1d07-c9ee-5e23-e494-7198a0d0a54c@linux.microsoft.com> From: Iouri Tarassov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/13/2022 9:38 PM, Greg KH wrote: > On Thu, Jan 13, 2022 at 04:19:41PM -0800, Iouri Tarassov wrote: > > > > On 1/12/2022 11:47 PM, Greg KH wrote: > > > On Wed, Jan 12, 2022 at 11:55:13AM -0800, Iouri Tarassov wrote: > > > > Implement various WDDM IOCTLs. > > > > Again, break this up into smaller pieces. Would you want to review > > > all > > > of these at the same time? > > > > > > Remember, you write code for people to review and understand first, and > > > the compiler second. With large changes like this, you are making it > > > difficult for people to review, which is your target audience. > > > > > > I'll stop here, please fix up this patch series into something that is > > > reviewable. > > > > Hi Greg, > > > > https://www.kernel.org/doc/html/latest/process/submitting-patches.html > > states that "only post say 15 [patches] or so at a time and wait for review > > and integration". > > The IOCTLs here are simple and I tried to keep the number of patches smaller > > than 15. Is it ok to have more than 15 patches in a submission, or I need to > > submit the driver is several chunks (some of which would be not fully > > functional)? > > We get patch series that are much longer all the time, that's fine. How > many do you feel would be needed to properly break this out? Hi Greg, I think there could be 20-25 patches. Implementation of many IOCTLs follow the same pattern: - add the IOCTL definition to the ioctl table - implement a function to send the corresponding VM bus message to the host - implement a function to handle the IOCTL input data, call the function to send message to the host and copy results back to the caller. I tried to combine several such implementations to a single patch. I think the patch is logically simple and it would be easy to review. What is your opinion? Thanks Iouri