From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4538722173D; Fri, 17 Oct 2025 06:33:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760682783; cv=none; b=L9JG/uFVDooZ/R2hz24lV0GKDEkMBF4bKDjxQ6SlSZbTfFmQmKeUjihNcXxB/KQHR03saSYADAMRn+NUysLdkClTxJYiIiAo7skTbPpjT+uZM9bAZnZGw73TrV05oxtXs+td/3Xw36uUcDxcHGPZx4pqrnNv+moOVrXqQ15dL9U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760682783; c=relaxed/simple; bh=m9g818LpB1ycczOIN8v5KCFvkd6rNq3BAdd09q0GhS0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HjilzKi4/55OpNmSEqorv+Wcw2V3U4ocpMpj4qRLNUEICVb+5xFE1He8p+BMBsso/xBFLi4iVtZ2BP4RRGYNjlGOiLr3w4m5mRe4h7EJv1PVvoLU72szZtwHmmN9wc1F05NPez5Rl1alRdHg69640hHVd+ZbqYlDlHNv5FXMZYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=y2DGVXXj; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="y2DGVXXj" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=O2HbwcCwjmYp1QGR0urHVDj2pfFgr7Dpd/IflvweDe8=; b=y2DGVXXj0gpAtl2JNiI0w2GeuJ D1MzfQ+neLIkx+kckzYv7LwBjazQ62k+27hf5aNq+BlsUF+U8aHjBXt6zOJGu16zjHVGqRTPkdEEu J7J3oxXPx7EUhsK032alUNCWg15Qwx/73jcXzZKg4A2vh3+b/+BmM8Y3/WaSGtClcHbbAxKZA9QVl N57R4yFKtN2xfak8y/VpsW4KtDleeQUBzzw46/Ow2fEHJvKvIJcgYTwSC2sdwQmrBfbBON84WYu8H FlJ6we5VWled1vCHgyMpFauWhKmZ5KagoBR1wg8YoN9Rniv8Wvqk6XIhefKXgcDZdNJQsjMes4+VQ 1s6pAB/Q==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1v9e1L-00000006nlK-0idR; Fri, 17 Oct 2025 06:32:59 +0000 Date: Thu, 16 Oct 2025 23:32:59 -0700 From: Christoph Hellwig To: Leon Romanovsky Cc: Alex Williamson , Leon Romanovsky , Jason Gunthorpe , Andrew Morton , Bjorn Helgaas , Christian =?iso-8859-1?Q?K=F6nig?= , dri-devel@lists.freedesktop.org, iommu@lists.linux.dev, Jens Axboe , Joerg Roedel , kvm@vger.kernel.org, linaro-mm-sig@lists.linaro.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mm@kvack.org, linux-pci@vger.kernel.org, Logan Gunthorpe , Marek Szyprowski , Robin Murphy , Sumit Semwal , Vivek Kasireddy , Will Deacon Subject: Re: [PATCH v5 8/9] vfio/pci: Enable peer-to-peer DMA transactions by default Message-ID: References: Precedence: bulk X-Mailing-List: linux-block@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: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Mon, Oct 13, 2025 at 06:26:10PM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > Make sure that all VFIO PCI devices have peer-to-peer capabilities > enables, so we would be able to export their MMIO memory through DMABUF, How do you know that they are safe to use with P2P?