summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorJoerg Roedel2011-11-24 16:21:52 +0100
committerJoerg Roedel2011-12-14 12:09:17 +0100
commit8736b2c331030733c5d619170dc6e9ef211a4039 (patch)
tree33a16976842200dc173a55d13c61e7f592ef485d /drivers/iommu/Kconfig
parentiommu/amd: Implement IO page-fault handler (diff)
downloadkernel-qcow2-linux-8736b2c331030733c5d619170dc6e9ef211a4039.tar.gz
kernel-qcow2-linux-8736b2c331030733c5d619170dc6e9ef211a4039.tar.xz
kernel-qcow2-linux-8736b2c331030733c5d619170dc6e9ef211a4039.zip
iommu/amd: Implement notifiers for IOMMUv2
Since pages are not pinned anymore we need notifications when the VMM changes the page-tables. Use mmu_notifiers for that. Also use the task_exit notifier from the profiling subsystem to shutdown all contexts related to this task. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index e608a36bb0b1..6bea6962f8ee 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -62,7 +62,8 @@ config AMD_IOMMU_STATS
config AMD_IOMMU_V2
tristate "AMD IOMMU Version 2 driver (EXPERIMENTAL)"
- depends on AMD_IOMMU && EXPERIMENTAL
+ depends on AMD_IOMMU && PROFILING && EXPERIMENTAL
+ select MMU_NOTIFIER
---help---
This option enables support for the AMD IOMMUv2 features of the IOMMU
hardware. Select this option if you want to use devices that support