From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Davis Subject: [PATCH 01/22] lib/Kconfig: add HAS_DMA_P2P for peer-to-peer support Date: Tue, 15 Sep 2015 12:10:46 -0500 Message-ID: <1442337067-22964-2-git-send-email-wdavis@nvidia.com> References: <1442337067-22964-1-git-send-email-wdavis@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1442337067-22964-1-git-send-email-wdavis@nvidia.com> Sender: linux-pci-owner@vger.kernel.org To: Bjorn Helgaas Cc: Alex Williamson , Joerg Roedel , iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org, Konrad Wilk , Mark Hounschell , "David S. Miller" , Jonathan Corbet , Terence Ripperda , John Hubbard , Jerome Glisse , Will Davis List-Id: iommu@lists.linux-foundation.org This option is dependent on HAS_DMA, and indicates whether or not the DMA API should include the peer resource (P2P) interfaces. Signed-off-by: Will Davis --- lib/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index 3a2ef67..0b670ab 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -392,6 +392,11 @@ config HAS_DMA depends on !NO_DMA default y +config HAS_DMA_P2P + bool + depends on HAS_DMA + default n + config CHECK_SIGNATURE bool -- 2.5.1