Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5498822pxb; Mon, 7 Feb 2022 03:30:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhLy1/rzHBsGUVurs5OCsevMdSyEbHrFvmSiigeYR935ONFrtsMqkZB2YudjFlUJ2N/x1G X-Received: by 2002:a05:6402:2920:: with SMTP id ee32mr8062274edb.310.1644233428870; Mon, 07 Feb 2022 03:30:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644233428; cv=none; d=google.com; s=arc-20160816; b=A0pGbgj2FW0GwZt9UpQ56h2CXU2Bbqc2UK1b9WXP3MJ9JBR0bMIFDzNla3ZkfUgh6l H4V9pzOkHhf/h/AA458j4LZY9qHCvgU1AdV0dZeS9l8QNL1oU75CY+N35ws42/T7DcGl tdrLC77YpsZHYaeg7ZRo9vfvJe6n53T4PAi+zf4et7cagGMbt8+axTYjPo6RcT07w4uj dYAJC1iUAvYnLlwYhk3+AqOyoK30HJX2Ir992C4wMLc5Opcakvb41Ka1/S8CShTpLxzK 9RuwhOSlZsehdh1robFBTUcnDcTblHw3i74OslzWn6PdILzg9RqPNeLrV9SPtMzLXY8I qv1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tb8phuzSNzGrFuBXkoc7Eedhfk63biC2PNGXarW2kL0=; b=eIg5R0dGeNHz0tGwM97MqhVu0Zp/PjnHuJiqfcp+qu6Uk3VQTGSwkryOCdbiCyVSyv 9Jt440qbbMr1y+gzv8lFa60N69kld7meQNHb4++bku+CzDdoQ9AGbppdoVWQIwu/rbVa I/RHvsRMZVNhMP396f0A2jdtY7wldcwTT6gdT+YcxxBa0o9H++V4xkP2yL7hy+CSv+3R HhYI37hzodX5ejnWXsvcW+uo4QdyX4FE0BZ94pWVskS7xWCFbhN7OFBFrQE0STYbqlFF ddL9nBoTb/qavKlT/KXWf+r0EsdodH1uiErBwcXXzL6tJG+yCaxM1AYHZ6qpZIVzITtZ cVFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YbQ6C0JT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24si7491849edv.621.2022.02.07.03.30.03; Mon, 07 Feb 2022 03:30:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YbQ6C0JT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358953AbiBEIa1 (ORCPT + 99 others); Sat, 5 Feb 2022 03:30:27 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:46234 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379678AbiBEIaZ (ORCPT ); Sat, 5 Feb 2022 03:30:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 0C887B8385B; Sat, 5 Feb 2022 08:30:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF439C340E8; Sat, 5 Feb 2022 08:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1644049822; bh=njfNMQX7oG2Q5aX30H5rXM9VkPs10BGoY5vL9vum3l0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YbQ6C0JT/Sez1OVlLhsU0WGBcRQFM+WtjNEFRvViQabKBFXLC5R9id+yvqee2Tc5O wix9LZb1ih+GRWJX+zomMiwADgW1B2E2qkCaAWUC+9kcOX1C1+p6iwrz0iALxml600 sopbdG5JCGJmlx+l9flewmbQi0LqXl0q+X5Hl51Q= Date: Sat, 5 Feb 2022 09:30:13 +0100 From: Greg KH To: Iouri Tarassov 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 Subject: Re: [PATCH v2 19/24] drivers: hv: dxgkrnl: Simple IOCTLs LX_DXESCAPE, LX_DXMARKDEVICEASERROR, LX_DXQUERYSTATISTICS, LX_DXQUERYCLOCKCALIBRATION Message-ID: References: <07c352a82707304cc5836313b97dfd97be8c7354.1644025661.git.iourit@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07c352a82707304cc5836313b97dfd97be8c7354.1644025661.git.iourit@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 04, 2022 at 06:34:17PM -0800, Iouri Tarassov wrote: The subject line does not make sense, it is not a sentence. > These IOCTLs are logically simple: What is "these"? > - input data is read > - a message is sent to the host > - the result is returned to the caller > > - LX_DXESCAPE (D3DKMTEscape) > This IOCTL is used to send/receive private data between user mode > driver and kernel mode driver. This is an extension of the WDDM APIs. > > - LX_DXMARKDEVICEASERROR (D3DKMTMarkDeviceAsError) > The IOCTL is used to bring the dxgdevice object to the error state. > Subsequent calls to use the device object will fail. > > - LX_DXQUERYSTATISTICS (D3DKMTQuerystatistics) > The IOCTL is used to query various statistics from the compute device > on the host. > > - LX_DXQUERYCLOCKCALIBRATION > The IOCTL queries clock from the compute device. Why is this not broken up into one-patch-per-ioctl like I asked? {sigh} I'm not reviewing this anymore, please rework it. thanks, greg k-h