From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dong Jia Shi Subject: [PATCH RFC 1/8] iommu: s390: enable iommu api for s390 ccw devices Date: Fri, 29 Apr 2016 14:11:48 +0200 Message-ID: <1461931915-22397-2-git-send-email-bjsdjshi@linux.vnet.ibm.com> References: <1461931915-22397-1-git-send-email-bjsdjshi@linux.vnet.ibm.com> Return-path: In-Reply-To: <1461931915-22397-1-git-send-email-bjsdjshi@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: kvm@vger.kernel.org, linux-s390@vger.kernel.org, qemu-devel@nongnu.org Cc: bjsdjshi@linux.vnet.ibm.com, renxiaof@linux.vnet.ibm.com, cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, agraf@suse.com, alex.williamson@redhat.com List-ID: This enables IOMMU API if CONFIG_CCW is configured. Signed-off-by: Dong Jia Shi Reviewed-by: Pierre Morel --- drivers/iommu/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dd1dc39..63bbc3d 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -331,11 +331,11 @@ config ARM_SMMU_V3 the ARM SMMUv3 architecture. config S390_IOMMU - def_bool y if S390 && PCI - depends on S390 && PCI + def_bool y + depends on S390 && (PCI || CCW) select IOMMU_API help - Support for the IOMMU API for s390 PCI devices. + Support for the IOMMU API for s390 PCI and CCW devices. config MTK_IOMMU bool "MTK IOMMU Support" -- 2.6.6 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw7I8-0001lm-2X for qemu-devel@nongnu.org; Fri, 29 Apr 2016 08:13:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw7Hv-00033S-Le for qemu-devel@nongnu.org; Fri, 29 Apr 2016 08:12:58 -0400 Received: from e17.ny.us.ibm.com ([129.33.205.207]:36128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw7Hv-0002sx-4a for qemu-devel@nongnu.org; Fri, 29 Apr 2016 08:12:51 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 29 Apr 2016 08:12:13 -0400 From: Dong Jia Shi Date: Fri, 29 Apr 2016 14:11:48 +0200 Message-Id: <1461931915-22397-2-git-send-email-bjsdjshi@linux.vnet.ibm.com> In-Reply-To: <1461931915-22397-1-git-send-email-bjsdjshi@linux.vnet.ibm.com> References: <1461931915-22397-1-git-send-email-bjsdjshi@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH RFC 1/8] iommu: s390: enable iommu api for s390 ccw devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org, linux-s390@vger.kernel.org, qemu-devel@nongnu.org Cc: bjsdjshi@linux.vnet.ibm.com, renxiaof@linux.vnet.ibm.com, cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, agraf@suse.com, alex.williamson@redhat.com This enables IOMMU API if CONFIG_CCW is configured. Signed-off-by: Dong Jia Shi Reviewed-by: Pierre Morel --- drivers/iommu/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dd1dc39..63bbc3d 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -331,11 +331,11 @@ config ARM_SMMU_V3 the ARM SMMUv3 architecture. config S390_IOMMU - def_bool y if S390 && PCI - depends on S390 && PCI + def_bool y + depends on S390 && (PCI || CCW) select IOMMU_API help - Support for the IOMMU API for s390 PCI devices. + Support for the IOMMU API for s390 PCI and CCW devices. config MTK_IOMMU bool "MTK IOMMU Support" -- 2.6.6