diff options
author | 2017-03-17 04:17:31 +0100 | |
---|---|---|
committer | 2017-03-31 12:55:04 +0200 | |
commit | 63f1934d562de7cf3124de0ef617dcd3be98b279 (patch) | |
tree | d3613dee9a8c23ab9db3770aa192b3fbe6a8a458 /drivers/iommu | |
parent | vfio: ccw: define device_api strings (diff) | |
download | linux-63f1934d562de7cf3124de0ef617dcd3be98b279.tar.gz linux-63f1934d562de7cf3124de0ef617dcd3be98b279.tar.bz2 linux-63f1934d562de7cf3124de0ef617dcd3be98b279.zip |
vfio: ccw: basic implementation for vfio_ccw driver
To make vfio support subchannel devices, we need a css driver for
the vfio subchannels. This patch adds a basic vfio-ccw subchannel
driver for this purpose.
To enable VFIO for vfio-ccw, enable S390_CCW_IOMMU config option
and configure VFIO as required.
Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170317031743.40128-5-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index 37e204f3d9be..6ee3a25ae731 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -327,6 +327,14 @@ config S390_IOMMU help Support for the IOMMU API for s390 PCI devices. +config S390_CCW_IOMMU + bool "S390 CCW IOMMU Support" + depends on S390 && CCW + select IOMMU_API + help + Enables bits of IOMMU API required by VFIO. The iommu_ops + is not implemented as it is not necessary for VFIO. + config MTK_IOMMU bool "MTK IOMMU Support" depends on ARM || ARM64 |