Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # IOMMU_API always gets selected by whoever wants it.
  2. config IOMMU_API
  3. bool
  4. # MSM IOMMU support
  5. config MSM_IOMMU
  6. bool "MSM IOMMU Support"
  7. depends on ARCH_MSM8X60 || ARCH_MSM8960
  8. select IOMMU_API
  9. help
  10. Support for the IOMMUs found on certain Qualcomm SOCs.
  11. These IOMMUs allow virtualization of the address space used by most
  12. cores within the multimedia subsystem.
  13. If unsure, say N here.
  14. config IOMMU_PGTABLES_L2
  15. def_bool y
  16. depends on MSM_IOMMU && MMU && SMP && CPU_DCACHE_DISABLE=n
  17. # AMD IOMMU support
  18. config AMD_IOMMU
  19. bool "AMD IOMMU support"
  20. select SWIOTLB
  21. select PCI_MSI
  22. select PCI_IOV
  23. select IOMMU_API
  24. depends on X86_64 && PCI && ACPI
  25. ---help---
  26. With this option you can enable support for AMD IOMMU hardware in
  27. your system. An IOMMU is a hardware component which provides
  28. remapping of DMA memory accesses from devices. With an AMD IOMMU you
  29. can isolate the the DMA memory of different devices and protect the
  30. system from misbehaving device drivers or hardware.
  31. You can find out if your system has an AMD IOMMU if you look into
  32. your BIOS for an option to enable it or if you have an IVRS ACPI
  33. table.
  34. config AMD_IOMMU_STATS
  35. bool "Export AMD IOMMU statistics to debugfs"
  36. depends on AMD_IOMMU
  37. select DEBUG_FS
  38. ---help---
  39. This option enables code in the AMD IOMMU driver to collect various
  40. statistics about whats happening in the driver and exports that
  41. information to userspace via debugfs.
  42. If unsure, say N.