From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Davis Subject: [PATCH v4 01/12] lib/Kconfig: add HAS_DMA_P2P for peer-to-peer support Date: Wed, 22 Jul 2015 16:39:46 -0500 Message-ID: <1437601197-6481-2-git-send-email-wdavis@nvidia.com> References: <1437601197-6481-1-git-send-email-wdavis@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1437601197-6481-1-git-send-email-wdavis-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Bjorn Helgaas , Alex Williamson , Joerg Roedel Cc: Jonathan Corbet , linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jerome Glisse , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, John Hubbard , Terence Ripperda , "David S. Miller" 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.4.6