From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77FF1CA0FE1 for ; Fri, 1 Sep 2023 05:48:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244147AbjIAFsK (ORCPT ); Fri, 1 Sep 2023 01:48:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjIAFsJ (ORCPT ); Fri, 1 Sep 2023 01:48:09 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EB3E50; Thu, 31 Aug 2023 22:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pkd0pAbWgDU4JojB1jD/cDurZU5oiSztqR2SAYfaUzc=; b=W9nEYYvVkDvunhIiMI948M3Fy6 J5wL6Ppe/OWQ/mir51ZsDtZtIah5yjpBlFG1W29jocw7lIBrgR37bgSOp7ytjpscwmZD76NHxCbfB be7NgWx8my303rkC+boYNJPMQ6Iu6uY2zS4M6I8b3zGUHKvGqk+uXdpXdS1FiTkivn+n8RPP4XLWv mif2lh7+gzNmjkoGHlZXm2uWJTl9d4thu5QwF6btHkfHbRhnE2Ue0kJrKy5EQfmCWne6gvD+cQDHK 2O9nDqiKZZUeG/L2h7NeFtGW2WrcghUTFysJ7TC7+I1fs2GmZGHlxfmUYc0unR1MBUPEtgrmGZZMu MhMv1vkw==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qbx0b-00GVeJ-1r; Fri, 01 Sep 2023 05:47:53 +0000 Date: Thu, 31 Aug 2023 22:47:53 -0700 From: Christoph Hellwig To: Alex Williamson Cc: Christoph Hellwig , Ankit Agrawal , Jason Gunthorpe , Yishai Hadas , "shameerali.kolothum.thodi@huawei.com" , "kevin.tian@intel.com" , Aniket Agashe , Neo Jia , Kirti Wankhede , "Tarun Gupta (SW-GPU)" , Vikram Sethi , Andy Currid , Alistair Popple , John Hubbard , Dan Williams , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Greg Kroah-Hartman , David Airlie , "dri-devel@lists.freedesktop.org" , Daniel Vetter Subject: Re: [PATCH v7 1/1] vfio/nvgpu: Add vfio pci variant module for grace hopper Message-ID: References: <20230822202303.19661-1-ankita@nvidia.com> <20230831122150.2b97511b.alex.williamson@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230831122150.2b97511b.alex.williamson@redhat.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, Aug 31, 2023 at 12:21:50PM -0600, Alex Williamson wrote: > There's really never a guarantee that the thing we're exposing via the > vfio uAPI has mainline drivers, for example we don't consult the > nouveau device table before we expose an NVIDIA GPU to a Windows guest > running proprietary device drivers. As I said in my initial mail there's a huge different between a simple passthrough like vfio-pci that doesn't care about the actual device, and a driver like this one that is completely device specific.