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 EF9E0EE57E7 for ; Fri, 8 Sep 2023 08:50:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237599AbjIHIuv (ORCPT ); Fri, 8 Sep 2023 04:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232519AbjIHIut (ORCPT ); Fri, 8 Sep 2023 04:50:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA0ED1BDA; Fri, 8 Sep 2023 01:50:44 -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=yjPdL2NtSdMXje+btfQrS7+p0IAzr/Enm0/cWKKLJV8=; b=oZwHHccOhlx2fQ/n+cBHuiabTn FIZW/eCCL3QJ9/4Y3Ry0z/FnD3IkQFbuG0VSwc7lxIUK41pVRmtw8AjpBpO01qeI/KZ9wPadHXt5E Rxl5inN3vruODg0KpbxYFQFn7KVYTr0vrWUAFPLvLg3Z2vj/9URlIlP+nwGkz9xmlPqqn4XFmo1CK J1aEgG9OHnWTgSA5uAXYMOR2Ktl0KYGjMQQvlaHLZppwBDAc7OCTAtjixXS3f89t7aIk8uCchW2Bm vUKdXVgayqJtiNlCXfJYhcII9wnBrs00bpAw4hmzDxY6Pbj9DsylSUmAQdsxdFbYtYjJ9OVAF5rbS zduoDilQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qeXCG-00DLss-37; Fri, 08 Sep 2023 08:50:36 +0000 Date: Fri, 8 Sep 2023 01:50:36 -0700 From: Christoph Hellwig To: Alex Williamson Cc: Jason Gunthorpe , ankita@nvidia.com, yishaih@nvidia.com, shameerali.kolothum.thodi@huawei.com, kevin.tian@intel.com, aniketa@nvidia.com, cjia@nvidia.com, kwankhede@nvidia.com, targupta@nvidia.com, vsethi@nvidia.com, acurrid@nvidia.com, apopple@nvidia.com, jhubbard@nvidia.com, danw@nvidia.com, anuaggarwal@nvidia.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v8 1/1] vfio/nvgpu: Add vfio pci variant module for grace hopper Message-ID: References: <20230825124138.9088-1-ankita@nvidia.com> <20230907135546.70239f1b.alex.williamson@redhat.com> <20230907220410.31c6c2ab.alex.williamson@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230907220410.31c6c2ab.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: linux-kernel@vger.kernel.org On Thu, Sep 07, 2023 at 10:04:10PM -0600, Alex Williamson wrote: > > I think it really depends on what the qemu side wants to do.. > > Ok, I thought you had been one of the proponents of the fake BAR > approach as more resembling CXL. Do we need to reevaluate that the > tinkering with the VM machine topology and firmware tables would better > align to a device specific region that QEMU inserts into the VM address > space so that bare metal and virtual machine versions of this device > look more similar? Thanks, Yes, providing something to a VM that doesn't look anything like the underlying hardware feels pretty strange.