From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752786AbbI3Anz (ORCPT ); Tue, 29 Sep 2015 20:43:55 -0400 Received: from mga14.intel.com ([192.55.52.115]:49277 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751443AbbI3Anx (ORCPT ); Tue, 29 Sep 2015 20:43:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,610,1437462000"; d="scan'208";a="800075297" From: Ashutosh Dixit To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: Sakari Ailus , David Woodhouse , Joerg Roedel , iommu@lists.linux-foundation.org, Ashutosh Dixit , Sudeep Dutt , Nikhil Rao Subject: [PATCH char-misc-next v2 04/22] iommu: Allow iova to be used without requiring IOMMU_SUPPORT Date: Tue, 29 Sep 2015 18:09:05 -0700 Message-Id: X-Mailer: git-send-email 2.0.0.rc3.2.g998f840 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sudeep Dutt iova is a library which can be built without IOMMU_SUPPORT Signed-off-by: Sudeep Dutt --- drivers/iommu/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index d9da766..71d1c46 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -12,6 +12,9 @@ menuconfig IOMMU_SUPPORT remap DMA requests and/or remap interrupts from other devices on the system. +config IOMMU_IOVA + tristate + if IOMMU_SUPPORT menu "Generic IOMMU Pagetable Support" @@ -42,9 +45,6 @@ config IOMMU_IO_PGTABLE_LPAE_SELFTEST endmenu -config IOMMU_IOVA - tristate - config OF_IOMMU def_bool y depends on OF && IOMMU_API -- 2.0.0.rc3.2.g998f840