From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE322606A32D for ; Fri, 4 Dec 2026 09:15:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jX0tj2Uu DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=m5HN83YvKdm/4vns5YYVJrxvzUJXsXwwA8VZTRoiufY=; b=jX0tj2UuoJSVafz3QujbrVSWX/ sADm4iKexjkLGbs17/qoYt6nqnrFsvN2qNopTG/1R54u7Yr5vOxgoAwE2/14XWn5oAWaZD/AfhpsT hTLyRjj6tvUJBKkO48+AZkaqVEuaoF66HZTjSTwABvloTac7xyLM5sI+8cF5x5aDLfhWAsIz0XgC4 b+jwJ+K7co1oatV+JQTnoSx6Fk+o7nFyPc5V1Yvazktioc2MTVpkNa25rKSZ+RmWdLSRSMIHdGPad hQD5wakDWK4A2GZgYumRbMTH+ocVQSCvlM6+ueol4tK3lfuHB16LvQOIvHSyH4MSO0NMLOd16q5D3 CpIVzlSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZPNs-0000000HJzg-1KPE; Fri, 04 Dec 2026 09:15:17 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZPN5-0000000HJnM-1iDW for linux-nvme@lists.infradead.org; Fri, 04 Dec 2026 09:14:29 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 1DE2B68C7B; Fri, 4 Dec 2026 10:14:20 +0100 (CET) Date: Fri, 4 Dec 2026 10:14:19 +0100 From: Christoph Hellwig To: Matthew Brost Cc: Christian =?iso-8859-1?Q?K=F6nig?= , Jason Gunthorpe , Alistair Popple , Dave Airlie , Sumit Semwal , Thomas =?iso-8859-1?Q?Hellstr=F6m?= , Simona Vetter , Vivek Kasireddy , Dongwon Kim , Kevin Tian , Xu Yilun , Karl Mehltretter , Baolu Lu , Felix Kuehling , Alex Deucher , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Mina Almasry , netdev@vger.kernel.org, Alexey Kardashevskiy , zhipingz@meta.com, treding@nvidia.com, jhubbard@nvidia.com, chaitanyak@nvidia.com, Leon Romanovsky Subject: Re: [PATCH v3 03/24] dma-buf: Add the SGT DMA mapping type Message-ID: <20261204091419.GA21065@lst.de> References: <20f5fb10-b71a-40f9-bbb2-f99b4002bf08@amd.com> <53a32383-4cf6-42ac-bbd5-476e69a3be5f@amd.com> <20261202013043.GC351887@ziepe.ca> <20261202132810.GE351887@ziepe.ca> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_011427_978918_88C31BE2 X-CRM114-Status: GOOD ( 20.05 ) X-Spam-Score: -1.9 (-) X-Mailman-Approved-At: Fri, 04 Dec 2026 01:14:55 -0800 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Fri, Dec 04, 2026 at 01:09:58AM -0800, Matthew Brost wrote: > Yes, but that isn't how it works when exporting hands off a physical > address. For example, this is how scale-up fabrics operate unless you > want translation on fabric ingress, a TLB miss, and network > backpressure, none of which is desirable. > > In the case of a physical address, the exporter literally cannot revoke > it unless the importer behaves according to our cross-driver contract. > > Given that, I'm really unsure what this entire thread has devolved > into - I don't have solution but I will say: > > The repeated "I'll nack this" responses, are beyond disappointing and, > in my opinion, not how a reasonable maintainer should behave. FYI, the way we solved that for pNFS scsi/block layouts is that the exporter-equivalent gets a big hammer to fence the importer-equivalent. In the PCIe P2P case this would be using PCIe FLRs or similar reset mechanisms to cut the importer off. I've kinda been out of these, by the whole idea of trying to export anything but physical addresses seems pretty bonkers to me. That is literally the only universally understood description of memory ranges. Everything else depends on the access method and can vary wildly.