From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67574348C42 for ; Fri, 29 May 2026 20:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780085494; cv=none; b=lKn6o9XAvXW7SJUV4yKT9X3u4vJpP0NYygXx12ojiP4nl5kLXzwsQlCtl26aQl7GcNMIhj1pWQTcAyf5PvYpNh4xguU65iqL6uOauRLmGGmgQJjovPbG9wHCWdmgt1YX6vVrNzuA9qf572x9L7lWFqYEIMNmg4AkjG4rd5daRTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780085494; c=relaxed/simple; bh=yIjjEsSzcNVlj5Jerb5VL9COIWs3RWb5zUy94AhWr9c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pS/TxtNSB3wdShL4/oV5OHQDYsSY4alSgZt7TFJHTWzy5W0n4Z0StymmTr9LQi3YaW2RQhJl79BFjuvTCGoU8k6wH+eRaH1nNsVCfyT8fgAN7AbmfOXYA04rWF/BdjPullgueZxt+bSs2BJqC4aQNb6NHeeJd5tvEVb8kMzNfSg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=W6mucJMI; arc=none smtp.client-ip=209.85.222.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="W6mucJMI" Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-914bd98faafso600212085a.0 for ; Fri, 29 May 2026 13:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1780085492; x=1780690292; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=x50nMfXuC2+erTFJFRG2pVEkXmZORi5k9T8WBzn0C8s=; b=W6mucJMILm76P1OvgIkeoQrHk1o7XL8eEki7XJZS1XS2OjCf+Mt31OyMtZjR2qaphh JYplHQ+jawZn32wdHnTUZ7/BfzMzKsTBm8Fig6rF907+pur3pR03NcbXI3r1E4jPnjWi Pj4l7r9Cd2P7VD6P6PcOKOr4ri/urmF4R+FIVF9YA78pTdvWQQSYvF7Z7feosxpyprw7 +tFE69MQ32W/Mxl0Hefoqfx48geK4OASrV2q31UfG3eYxFQEg3WoFwURPR8t8K7LU6Z6 3WzIrlfGGwk+6WgLZUiy5+fga84k7c35MG0crSnEaA2c5absa3at7TeFsmJ2pdiwI3bK qt4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780085492; x=1780690292; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x50nMfXuC2+erTFJFRG2pVEkXmZORi5k9T8WBzn0C8s=; b=tRHA2MtDE/gcYqf9Lv7TEED40EPRnkEVdlglwltlGwANJ3xbEowy+psnFsE/cAkMzp G0X8BVSw6FUtSynh1Zy1ldVcsfN8TMbC/vAltuhTdmnPHRTz33VQRgpA0UEaYY6GHBSI gdYqN7SW9BsVQm8a3nSgrX7y8/8CO9KGMNIzpKILZUZ7L2dzAn3EL6zHUBRKAGYi+08w WR1ZM4MBBl9x7rlti+jQL1lVUJRMVS8ZiEmdlrEGAdNXQzIKDt8imYLjrHwWnX0jZwMl hVqrelNFWg/X3Vu4LfRLP675OU3FLHuAFkKpi0jAQAQzf4hWKi0LEJ3WVbqMBF4cyGRm skRQ== X-Forwarded-Encrypted: i=1; AFNElJ+JbVkLFVpGRbF6WpIeG8w3OS8a+eatWNPKnUZWPSAQsviVt0+iScsnrZiO9rfjdOEwue3d7ZI=@vger.kernel.org X-Gm-Message-State: AOJu0YyN2oEnwRWeF9j7c/OB63TQXDCGvQzXGPd1wBaWhzJhhJYeddA2 rxNZRkPg9plCPERj5isso0O0jaLNqVUzcjYjZeQ+QR0F4lJ51v0sTGPX0ufxpsXON0g= X-Gm-Gg: Acq92OG9zhcywEcTE8LTFZRuumdOt+zGsP1y7PFi1P+DNtTjvux3vgKSA+jqMKtWJrp iVicE6fXKeNghJe02I9QF5VaDgcUlDXgI9u6N743tmnOfKuzEl5ftPPmwFBpU7vQPl2DBBn+xap HoZxLD8BG+iSA3hoCta/67dXgoBPFJVr7DTia37W//jxzlQIEGlBfF/n6aSQBzYqRGokTbgBLAj jR0aeJjZz7Vcn5xKM35m5qfTlE5KVynPklTxmoGIDs3x38cSDXo+UYbMqBBLWJ10ZulgNfAA3B7 Q4sJ6LK/nDaXGr7KZA8SAV4xh8JcMM+zOuQveURgFc078IdVN2I/e/V6d1i4NwyT4Cxksjwof82 ShINkc36zXTvIwIlIJSUa+CLgOEaJrdAbvW70htnMw8j32T+KTOK+bfXIrYtiHhHMQQkbUxISaH PXSz6/ZPxEVdl0KCgu43qwjHCaSxn77vZ3oDqW931OWVspAoAOZjrICkZJuL00eUQdRZBaKKVh2 FFneuLGVBANNEHc X-Received: by 2002:a05:620a:649c:b0:912:671b:d090 with SMTP id af79cd13be357-9153d999728mr194543785a.24.1780085492316; Fri, 29 May 2026 13:11:32 -0700 (PDT) Received: from ziepe.ca (crbknf0213w-47-54-130-67.pppoe-dynamic.high-speed.nl.bellaliant.net. [47.54.130.67]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9153244de53sm312617585a.8.2026.05.29.13.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2026 13:11:31 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wT3YI-00000000q8h-45Mx; Fri, 29 May 2026 17:11:30 -0300 Date: Fri, 29 May 2026 17:11:30 -0300 From: Jason Gunthorpe To: Christian =?utf-8?B?S8O2bmln?= Cc: Zhiping Zhang , Alex Williamson , Leon Romanovsky , Sumit Semwal , Bjorn Helgaas , kvm@vger.kernel.org, linux-rdma@vger.kernel.org, linux-pci@vger.kernel.org, netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Keith Busch , Yochai Cohen , Yishai Hadas , Linus Torvalds Subject: Re: [PATCH v5 0/4] vfio/dma-buf: add TPH support for peer-to-peer access Message-ID: <20260529201130.GU2487554@ziepe.ca> References: <20260526144401.1485788-1-zhipingz@meta.com> <20260527121438.GJ2487554@ziepe.ca> <20260527123634.GK2487554@ziepe.ca> <71302a7a-6b9f-40da-af81-b1862dbd637a@amd.com> <8d9bb0b7-182d-4930-b683-d5d24da6b2ab@amd.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8d9bb0b7-182d-4930-b683-d5d24da6b2ab@amd.com> On Fri, May 29, 2026 at 09:36:00AM +0200, Christian König wrote: > On 5/29/26 08:34, Zhiping Zhang wrote: > ... > > There's no in-tree vendor PF driver > > Well I have to admit it's a bit on the edge but this sentence is a > show stopper. I think he means the device is not SRIOV. vfio-pci is the in-kernel PF driver. > DMA-buf is an in kernel interface for buffer sharing between drivers > and any change to it needs an in kernel driver as justification for > the added complexity. vfio is the in-kernel driver, this series fully shows the in-kernel API using vfio as the exporter and mlx5 as the importer. It certainly meets the standard required to show in-tree users. > When you have a complete open source driver stack which utilizes > VFIO passthrough as the interface to communicate with the kernel > drivers then we can eventually talk about that. That decision is not up to dmabuf - what VFIO subsystem requires to accept a new UAPI is up to the VFIO maintainers. DRM and VFIO have very different views on what is required to merge a new uAPI. Jason