qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH RFC 1/8] iommu: s390: enable iommu api for s390 ccw


From: Dong Jia Shi
Subject: [Qemu-devel] [PATCH RFC 1/8] iommu: s390: enable iommu api for s390 ccw devices
Date: Fri, 29 Apr 2016 14:11:48 +0200

This enables IOMMU API if CONFIG_CCW is configured.

Signed-off-by: Dong Jia Shi <address@hidden>
Reviewed-by: Pierre Morel <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]