From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (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 467CE3DA7C0 for ; Mon, 1 Jun 2026 17:50:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780336207; cv=none; b=kBxhcQd2jid6ySLzynD00Aml49kCHhsiQ9rCcOd/67HB/X1Id07/W9rAssaMRJ4ka8rLhzPAcX+2Wx1FbD7p6eFJcl2LJRIGrj3ir1lSHGCVoErZaOEtCDmHXTzQZPCRenB1OV1AOXbRUwSigc0VjEusd/ZDrUIz+lFAIkjeD0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780336207; c=relaxed/simple; bh=F2YxxOkKlKZBIWFURMEVCr5gD32ZZSGaaonobu2u2vU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fn4sFxkN3Ro5anPcmGRqY2rNWpmevnrYQ6SmiAro+teVXIJcYBWvHFxjSvHDFZkOJfji5eLxXCvE+AkAJwOuhB6JKFt2qPFq6bhbSgHpfq8l+SAi2ZYvBRNRBR2iLjp9utSkp/OzREQ7yxdDAc2aTbRCCdtlqs5sVfRlEZ67Sfg= 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=E1NRdFXs; arc=none smtp.client-ip=209.85.160.179 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="E1NRdFXs" Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-5174a3a025aso17924371cf.3 for ; Mon, 01 Jun 2026 10:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1780336205; x=1780941005; 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=GKY9bYORGkGGjohi6puGGa+RVGmQ7HsclerYSswNqXE=; b=E1NRdFXsS+4pI/8us9aiFTiuOZ3sFgLkvWFF8gYQjhL9p10cYcKjMOBYXvv4sxqA7f ydRtf4GiDXCaBMupES4/hXlcFnSXwn8RQxh0I1mEjN0nGV14FOysSjd4SISi6gWIaxtN TPiNcOLVHcu6hSOjseVGwH42K7itWDC/CeqG2srydRM7E74Q3FspiyCsOsY/RzvtwJr4 crdmag48U2+0A5DGllHS29LIV/q7CJ6xbHawWxDVfCKDQWLVWaPQWep+8UPgcIqSBznG Nq+dy69bBB05kU1MaW3d7GeDAAZH4ZYYNg9aC+8L9UN9EcB2lhR8tQKFgR+mOIGE3nyV UQKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780336205; x=1780941005; 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=GKY9bYORGkGGjohi6puGGa+RVGmQ7HsclerYSswNqXE=; b=rR+/Md+q6X3u5FEr8rBY5il2XqrkapSJIECL7hQ493eMvOGlu7jdNf8eyZb2hrLI8J dgw6W+kLGnGBzFA07OvIxX8V6YnSfB5o9U6c5klW2CJUtoSm7lk5uiSIBXj6Uy8wlcuF h/bPRWpaPvZbfjEPYAeuw2tgF9VUZIC5Bwb6s58PtQg52NM4otZhAeZcBvqp1ZqQgCvK HabrzqDfHWvEZ1W8SGQ//HYjanFzS50+gcsx7uc5aPl2s3crPpWBLIW8h7C+ubfZ9mth 8ITy0vOnCBMHrB8/i6DJY4qAQymOh00hFwIgKIBJ5W2B5RtxvzF2w4QsLLiPvn9PxL25 atdQ== X-Forwarded-Encrypted: i=1; AFNElJ/NAbU1bEfBrcASY8OsJJ2N6kNdpGPD7D3pNicxTd+OCU45ILbAfSuGOh5dibDSkKaMtP5ahLc=@vger.kernel.org X-Gm-Message-State: AOJu0YzfsdOWuZWpHRNcG4EGmoF6bO6GDydCj6zd63SWnze4WujeaiT8 e8q4tuqiLkeS2t7lRRNB4u8tjWKJj1UKSBsi8GzAv+CLlnEwLBQbFJ2uHW+BhpvlI/k= X-Gm-Gg: Acq92OGsT5DvabrSjYwu/pUDQRPpTUCdiX6RisXOYiPkx8PiFKXqxJXuXxUE/Af0Ka7 gDdV2JcJ5r5F9qX/nMBMQZcL5Hv7W6gb9D1skDknDMobhV2VnlV4WBvd91yGqZYDSHBXlwFKIIT DjB3EG+psVRummIX880ZS96PyH3X3glIwuup3PaPKPzYKTWwen7o+awbrTgU6e9Y2Kb+3lfz0uW fUmTljVIjbCG2saJ2VHeEejG4AafMh/qv1PMkk0k0hEXJgCJ4ETRCyCntOvZ9i2YJq5aVr7pl5P 2qY3KthEymKLIOu5yXYt/5or0yb6HHoJVCtLGOShd8KH+5G+Shr6TjtkvGS8UsEe555eTMgmTT7 egouQBlw95MAANJqzbq3QamiyxtY+7BW+sLpeyn8ZdedCjQao/v+GnYJUTuIJ4MAIMnXWcuMvkt ff+rvH79c4+3CFcQ50hdpnMYwFGUSUjirZr5r2stiOmCJYGB/ElyKekwClPt2hC5NFKnIbYbEUM ynviqYLdWgyFKiN X-Received: by 2002:a05:622a:1148:b0:50d:d1ea:65dd with SMTP id d75a77b69052e-5173a722af3mr169052191cf.14.1780336205151; Mon, 01 Jun 2026 10:50:05 -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 d75a77b69052e-51741d6a240sm60989871cf.18.2026.06.01.10.50.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jun 2026 10:50:04 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wU6m4-000000027Uh-034u; Mon, 01 Jun 2026 14:50:04 -0300 Date: Mon, 1 Jun 2026 14:50:03 -0300 From: Jason Gunthorpe To: Keith Busch Cc: Christian =?utf-8?B?S8O2bmln?= , 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, 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: <20260601175003.GC2487554@ziepe.ca> References: <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: On Fri, May 29, 2026 at 02:31:30PM -0600, Keith Busch wrote: > 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. > > > > 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. > > > > > - the device is a Meta MTIA > > > accelerator managed entirely from userspace via VFIO passthrough. > > > > 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. > > > > But as far as I can see without upstreaming or at least open sourcing the full stack to utilize this functionality it's a clear NAK to upstreaming this. > > But the existing dmabuf for vfio-pci was accepted upstream without these > requirements. I see you had concerns about even that, but still Acked > under the same model that's propsed in this series: > > https://lore.kernel.org/linux-pci/57b8876f-1399-4e4d-a44b-1177787aa17d@amd.com/ To be fair that is quite different there isn't a proprietary userspace issue for that series, and there should be more users of the API when the GPU drivers migrate.. Jason