summaryrefslogtreecommitdiff
path: root/drivers/vfio/Kconfig
diff options
context:
space:
mode:
authorVarun Sethi <Varun.Sethi@freescale.com>2013-05-09 20:47:58 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-05-10 19:41:24 (GMT)
commitd109d303d7ee036bacb7f9d0d1559b3bbd31c601 (patch)
tree81022174b9fba7a2413de507cca54b55a77acb0e /drivers/vfio/Kconfig
parent0f480b86856e5840bab9b96b36346ca0a145404c (diff)
downloadlinux-fsl-qoriq-d109d303d7ee036bacb7f9d0d1559b3bbd31c601.tar.xz
Subject: [PATCH v5] Support for dummy vfio iommu driver.
This is primarily required for supporting vfio direct device assignment on platforms that don't have a hardware IOMMU. Signed-off-by: Varun Sethi <Varun.Sethi@freescale.com> Change-Id: Id3e968a7c4110fe392354b053112e2dc083adebd Reviewed-on: http://git.am.freescale.net:8181/2401 Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com> Reviewed-by: Yoder Stuart-B08248 <stuart.yoder@freescale.com> Reviewed-by: Bhushan Bharat-R65777 <Bharat.Bhushan@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/vfio/Kconfig')
-rw-r--r--drivers/vfio/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/vfio/Kconfig b/drivers/vfio/Kconfig
index 716536d..aba1d96 100644
--- a/drivers/vfio/Kconfig
+++ b/drivers/vfio/Kconfig
@@ -8,12 +8,17 @@ config VFIO_IOMMU_FSL_PAMU
depends on VFIO
default n
+config VFIO_IOMMU_DUMMY
+ tristate
+ depends on VFIO
+ default n
menuconfig VFIO
tristate "VFIO Non-Privileged userspace driver framework"
depends on IOMMU_API
select VFIO_IOMMU_TYPE1 if X86
select VFIO_IOMMU_FSL_PAMU if FSL_PAMU
+ select VFIO_IOMMU_DUMMY if DUMMY_IOMMU
help
VFIO provides a framework for secure userspace device drivers.
See Documentation/vfio.txt for more details.