From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (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 0BEC04314B4 for ; Thu, 16 Jul 2026 14:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784213244; cv=none; b=g36uEoifoxJ8WO3rVlXVg6UklXgaGc82v3gOc4ka5CrwQ6lAzQYiLrUd+fSuuFGNbsWK6teMkNDqgpV0ZLnjcquXqISqk5OmPR/Ip0YWmNtIW9ek9eI19CLFezpTO+VolER1+WgLf5Eza8MwWheHm4rEsINawRgf9rSXp+yY+Zk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784213244; c=relaxed/simple; bh=qeHYNuBQJ85xO4pHC/1GrXrbttQdCZhEoDnW/IVqBNU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rRWFUkq7yPeYwCVXWbj2zeCOfyc6f9LlR1RUFbU3heRFsk+RQjV2icopRMBVARqrTpi5AxKO5juJwPVLKxaaM1OVvFBwSoCrLa7ZwtMjScWjxYbYGdz5excgOhE7s4CDU0mPyQxiTlhKWQkRMfttL6mLDng6dgWODg3KWz7NUSE= 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=oDVxF7p3; arc=none smtp.client-ip=209.85.222.182 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="oDVxF7p3" Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-92e57a753f9so528151085a.2 for ; Thu, 16 Jul 2026 07:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1784213230; x=1784818030; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=qeHYNuBQJ85xO4pHC/1GrXrbttQdCZhEoDnW/IVqBNU=; b=oDVxF7p30emqLYl1Y/5PXRuiZ0gRznz7ZJa68Pzgax9eUTMYGaZE+24qyOFCvzy0LY wAsfOFXwomSYoSM/EfuR7jyMPzSn0Gcij0mhQ9rDCLBCKyiqOZUQzyqelLarSrmG6pUC OOu1/4SPuIHCI5Fz9azs+yN65kNOgPdvOotXUyZFwNk9MWBj1vwnP8Ede8laEQ8T8vgs kq89E/wthT28pRh/ph4hExErCjung7VxyXgrygjdH9iU1DwdcG3QPpXV3MKsybOQNJee zq2FXJxQJ7jC9OgPjo3v+uRuGyyc6WyZC/tXu+ptnmTPw3M/YkFUkKBilxGxtJrXXpZ/ a2Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784213230; x=1784818030; h=in-reply-to:content-disposition:content-type: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 :content-type; bh=qeHYNuBQJ85xO4pHC/1GrXrbttQdCZhEoDnW/IVqBNU=; b=sIGm5TzCbdBwYCf7+vxkaeDuN2kBDAw6fguFZDYgvQf7rq2r+Rnz7qxMzdiNspu2bp wD4X4DeABtiwJilr5V1kRvsG6KVa+UbYhKLIkLa1z8Nvk68G09bEzVlbKJ5FglK4vIlJ a6Qene7OUacg23BoHzMsIoHdlWBzb/d1ebftscm7FMRJ3USEQAXWZ5q0NJ6c0AqKgW/S yPAuTaK8Q4SC/+W8KeYNJo37aLeJGDpXnfrrtZFN7gfZyd1wWMP6mmVxLoJ/e2S/KBM6 /OJcUjte3/DYkDbCr+bJUTE7lWwGCIxH2esZPSdHhSJi8JgVAf4unQhI3cikTiz/5wgp zZXw== X-Forwarded-Encrypted: i=1; AHgh+RqqPb5MPKJjoLeYRug950Jmh3cccERmW9/wQVZA0kyJent2cyySkRGC5rkV6mR+Jdi+HEGKmF6G2rtI@vger.kernel.org X-Gm-Message-State: AOJu0YwpWEyYwdjlZXQheAmyQeEI5r/O2NIpWmBOvq7UW2MeqAxm09LS bj5OyYEmGtAPmgm3CPf+FZz6r4uhGgr5qXJ7Ac2Nzw4KohI4GPwsOh4SX2UOy3x/dpg= X-Gm-Gg: AfdE7cmJYZ1lAtIxu+t5+bpkoZKscCt5Vu96VCNdOQhKef++5jx2tbI+0X/A9cmwOiv i2uGXbh3PpAt46KSV1yoew3o6QXFTEU57Bl/HXNj53XqdFHNUVuUF3xdTz8v/xa7j3nfuKz3eVh W3TsUCC2m46CSXXE8B656Ove1hDvc4LWF905IyNi94ex/lSqsRVhse9P249RU8JPFQoWpuMfGMU Y9F5lihb8/miNfTUf0pXmFXI7catoNYZofF1ifjGewc9vwRNjH1Hbv8OVg1h78JoSgT77apVLsW Fp7IpAxZnmwXdedN55wG/ZEAbjR5kVamlpNoVI4NMep1K2W74FORorJE0+IQRS8ZQ2MAsox2edg XZrAOSmeg1JygWxmjikmU5LvMcip2F5kLeqAX8BFuBXKW78NRp+BnL5AQww2YwkbbOVvtFwA= X-Received: by 2002:a05:620a:3952:b0:92e:ee51:e9d5 with SMTP id af79cd13be357-9309627ac1bmr854483285a.43.1784213229539; Thu, 16 Jul 2026 07:47:09 -0700 (PDT) Received: from ziepe.ca ([159.2.72.92]) by smtp.gmail.com with ESMTPSA id af79cd13be357-930ada3a1c3sm36671085a.20.2026.07.16.07.47.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2026 07:47:08 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wkNMi-00000002Yhx-0bks; Thu, 16 Jul 2026 11:47:08 -0300 Date: Thu, 16 Jul 2026 11:47:08 -0300 From: Jason Gunthorpe To: fengchengwen Cc: Zhiping Zhang , Leon Romanovsky , Michael Guralnik , Sumit Semwal , Christian Konig , Alex Williamson , Bjorn Helgaas , kvm@vger.kernel.org, linux-rdma@vger.kernel.org, linux-pci@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v12 0/4] vfio/dma-buf: add TPH support for peer-to-peer access Message-ID: <20260716144708.GD210048@ziepe.ca> References: <20260715204008.3911275-1-zhipingz@meta.com> <7dd5c995-a23c-4d3a-9ba0-7fc77972339f@huawei.com> Precedence: bulk X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7dd5c995-a23c-4d3a-9ba0-7fc77972339f@huawei.com> On Thu, Jul 16, 2026 at 09:07:35AM +0800, fengchengwen wrote: > Because cross-Root-Port P2P traffic with ST does not affect the host, but > merely the completer may experience some performance degradation because > it lacks the TPH hint. In this case, I suggest adding restrictions in the > uAPI. I don't think this is complexity is worth doing for something that has no functional impact. There is no difference between supplying the TPH and not supplying it, so may as well supply it. Jason