From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796375668; b=CIZkhHqkqk6pIE01ZnQy06EXjwdTMeFFWv076qA1DYGrwMl9/dSMv/rxhpPacg42d2ID vLURHoARXI+w4Oernwj2tbyrht4vKBuPJeH6KPmY63PQZOvYZMAsurJGboJuXXDNANGoL +Efo94pdk2++OVHyY9xqJr28fidFH7BFuxnF+DzSYcrwMiu2TVtHAOAx0WEp06qUcPL3O wycjfIi76i4jLS0qm8m+8Sjk6y3xOhdvqWvYMDFryOk5IbfSb5P9d4gp3kn418BVNKJCV w8So4AAyiw+6cOAIxBY4QNqXzy4z31GKbW11gXuaTRXLelwYdgNHHlBZ7ROAhtuYnzg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796375668; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=m5HN83YvKdm/4vns5YYVJrxvzUJXsXwwA8VZTRoiufY=; b=3XlkyoGUpeWyOwNxv5mPEyyia5cp6TrtlCHmVWaqwPdnKTYls98+yr3F0kLB6Byr2+oR iL/9HCkN8lfQFnYKLKCPCUCfqkHI72p3KsvGlNfFvhc23dm2/qa3a2PjvNXi0+lfv8ZZl DyChmwv0r2d4w+5/nA/Qr8bvu6FaUPRO1czLOZAxaHQ7TtnUi7yHQs5WF3ERgO4maufhC MvOTvKDKBfCvDjdtIgQ+iWf6ksVEG86rtv4mio0oLsD2w1fudAhB0B+S6LXVh29158k3u W+QrrmjoVXTkgS14TkSsHBQVT3bCmjfpqlfBGGrO98lZ74SMzHO+aEdyGWZtiIrB4Hg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76A4E606A32D; Fri, 4 Dec 2026 09:14:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 76A4E606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de 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-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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) 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.