Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. config VFIO_IOMMU_TYPE1
  2. tristate
  3. depends on VFIO
  4. default n
  5. config VFIO_IOMMU_SPAPR_TCE
  6. tristate
  7. depends on VFIO && SPAPR_TCE_IOMMU
  8. default VFIO
  9. config VFIO_SPAPR_EEH
  10. tristate
  11. depends on EEH && VFIO_IOMMU_SPAPR_TCE
  12. default VFIO
  13. config VFIO_VIRQFD
  14. tristate
  15. depends on VFIO && EVENTFD
  16. default n
  17. menuconfig VFIO
  18. tristate "VFIO Non-Privileged userspace driver framework"
  19. depends on IOMMU_API
  20. select VFIO_IOMMU_TYPE1 if (X86 || S390 || ARM || ARM64)
  21. select ANON_INODES
  22. help
  23. VFIO provides a framework for secure userspace device drivers.
  24. See Documentation/vfio.txt for more details.
  25. If you don't know what to do here, say N.
  26. menuconfig VFIO_NOIOMMU
  27. bool "VFIO No-IOMMU support"
  28. depends on VFIO
  29. help
  30. VFIO is built on the ability to isolate devices using the IOMMU.
  31. Only with an IOMMU can userspace access to DMA capable devices be
  32. considered secure. VFIO No-IOMMU mode enables IOMMU groups for
  33. devices without IOMMU backing for the purpose of re-using the VFIO
  34. infrastructure in a non-secure mode. Use of this mode will result
  35. in an unsupportable kernel and will therefore taint the kernel.
  36. Device assignment to virtual machines is also not possible with
  37. this mode since there is no IOMMU to provide DMA translation.
  38. If you don't know what to do here, say N.
  39. source "drivers/vfio/pci/Kconfig"
  40. source "drivers/vfio/platform/Kconfig"
  41. source "drivers/vfio/mdev/Kconfig"
  42. source "virt/lib/Kconfig"