diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2008-11-17 09:07:17 -0500 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2008-11-18 09:43:23 -0500 |
commit | e5e1f606ecbf67e52ebe2df5d14f8b94ec6544d0 (patch) | |
tree | 07ca4cda790e3937f0893b41b3777ce6492ef9f4 /arch | |
parent | 4e14e833ac3b97a4aa8803eea49f899adc5bb5f4 (diff) |
AMD IOMMU: add parameter to disable device isolation
Impact: add a new AMD IOMMU kernel command line parameter
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 0cdcda35a05f..838a2e1d5bb2 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -1213,6 +1213,8 @@ static int __init parse_amd_iommu_options(char *str) | |||
1213 | for (; *str; ++str) { | 1213 | for (; *str; ++str) { |
1214 | if (strncmp(str, "isolate", 7) == 0) | 1214 | if (strncmp(str, "isolate", 7) == 0) |
1215 | amd_iommu_isolate = 1; | 1215 | amd_iommu_isolate = 1; |
1216 | if (strncmp(str, "share", 5) == 0) | ||
1217 | amd_iommu_isolate = 0; | ||
1216 | if (strncmp(str, "fullflush", 11) == 0) | 1218 | if (strncmp(str, "fullflush", 11) == 0) |
1217 | amd_iommu_unmap_flush = true; | 1219 | amd_iommu_unmap_flush = true; |
1218 | } | 1220 | } |