From patchwork Wed Jul 22 21:39:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: wdavis@nvidia.com X-Patchwork-Id: 498838 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 11F1214090B for ; Thu, 23 Jul 2015 07:54:06 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753327AbbGVVyC (ORCPT ); Wed, 22 Jul 2015 17:54:02 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:13550 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753300AbbGVVyB (ORCPT ); Wed, 22 Jul 2015 17:54:01 -0400 Received: from hqnvupgp07.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com id ; Wed, 22 Jul 2015 14:53:51 -0700 Received: from HQMAIL107.nvidia.com ([172.20.12.94]) by hqnvupgp07.nvidia.com (PGP Universal service); Wed, 22 Jul 2015 14:52:24 -0700 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 22 Jul 2015 14:52:24 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1044.25; Wed, 22 Jul 2015 21:54:00 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server id 15.0.1044.25 via Frontend Transport; Wed, 22 Jul 2015 14:54:00 -0700 Received: from wdavis-lt.nvidia.com (Not Verified[10.20.168.59]) by hqnvemgw01.nvidia.com with MailMarshal (v7, 1, 2, 5326) id ; Wed, 22 Jul 2015 14:53:59 -0700 From: Will Davis To: Bjorn Helgaas , Alex Williamson , Joerg Roedel CC: , , Konrad Wilk , Mark Hounschell , "David S. Miller" , Jonathan Corbet , Terence Ripperda , John Hubbard , Jerome Glisse 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> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1437601197-6481-1-git-send-email-wdavis@nvidia.com> References: <1437601197-6481-1-git-send-email-wdavis@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.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