From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 80FFF2D1907 for ; Thu, 16 Jul 2026 14:47:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784213244; cv=none; b=FpCAarlCY0s3h++QRdlvLxWGTwKN5YYUqp/r6msyecprlDrQ5Qq5NlWqMOLuv5umaZtbj5UcvGpm/Rl5I84JwTO8ZD8vdN/AW6OKtWlvUXwpySMID1lz/UFVCmxGryV/nZjevNEpyQoTth2LGMk3fuF0nz7zQoe0HrqSN8JbvUw= 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.171 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-f171.google.com with SMTP id af79cd13be357-9309d4ea213so133132685a.1 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=s9LDx+saJqjMV3wOg35KyN80As7DmxsHtdAHt2IgpyiOIbK0TpdNXD9UevoosUozXo BGEM+3FMOQ4cuUZjNbws0uF7CWibsNLv9olzTHf2X+/ZYzNp0YYTAjI+1YX0tQ0vTeuF ANPXvHuA2N7dNGH7TW1l9lI0XYGVA0xEiZkJP0AVQ0yi3Alu+8StAm2YUC7AhrhdyVgp 1YFkXmA1Qo+IhAKdNyimFKd53yGnoe0q3cn/MasnBbf6cZhG27w3b6wRy32sYLKhiO8m mAE9SXY8N4/7RqaiFzFCwlZDG34HPnUkcVv0GYWqfxdi+R+aPYIjE576G4qkKVKsuuLR r87w== X-Forwarded-Encrypted: i=1; AHgh+RoaPukHAanmzH8EWRBDeHgQEOOIb4a3f9zfVE2gpuCt0z7dVCBzsDMD4xUfvvez7b+lxSqMOZfkp+Y=@vger.kernel.org X-Gm-Message-State: AOJu0YyQ24Wc/MAH+cJ3clodUHQ3ruc+jIeY8F43jWF+Fm7kMT/XOkMM /ed8EGuxQpu/YRRvdBY1wF5cVsbpyHJ2+se1oSXRbkPzl0GlL9vbC4zps+aCu+gwR2Q= X-Gm-Gg: AfdE7cmTdo5ClmvcQYx+G3B+oVFy28mQLzXYhcVLYd6NihTjNLcmO0aUtygYZ9kizZ2 /CyPCG8M+L1SPW+drQ6C1JDnpADr6gwdWSngT5BztqbkkjJr5kLvOQdkQYLz52tC8aBdilbowIs pCwDIycVKpQFMHbR/BcsPK1wz/YfL+Z3uKsRc1BiHEqKVv2HlTs2Q8VItkUfGWrDFvkSUF5i4tA JtibYcb8LcV3CzTiBG+YhaFfjpzHaPpSyCOKQGFCGhxFUpP7i4i9E+nktOYmCY6eiWEFeC0EoA3 +hwmB6vnQe/BiHlbFQzbLvqLmrXPtEkt7BgV7qVBM7PLqZuqSub0iHLDGCX4nAff9hOYHaNN5HL OCUlzqnDVGpryREKFeWXSGkC9M+l5GLxoYe9nIHx3OAk/ABZS+bEGs8XhhT1t3oi6H+qr/+I= 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-pci@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