diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-12-01 20:36:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-01 20:36:13 +0100 |
commit | f6d2e6f57bba66272b28dd20c949b14ce39cb804 (patch) | |
tree | 2bf153af4d5b4b33ad2c1e88347c7fd752fb6332 /arch/x86/kernel/amd_iommu_init.c | |
parent | 8caac56305cef98f9357b060a77939d17699937d (diff) | |
parent | 7b1dedca42ac0d0d0be01e39d8461bb53a2389b3 (diff) |
Merge branch 'x86/urgent' into x86/iommu
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index 7685f0774a8f..1188b98e27ea 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c @@ -122,7 +122,7 @@ u16 amd_iommu_last_bdf; /* largest PCI device id we have LIST_HEAD(amd_iommu_unity_map); /* a list of required unity mappings we find in ACPI */ unsigned amd_iommu_aperture_order = 26; /* size of aperture in power of 2 */ -int amd_iommu_isolate; /* if 1, device isolation is enabled */ +int amd_iommu_isolate = 1; /* if 1, device isolation is enabled */ bool amd_iommu_unmap_flush; /* if true, flush on every unmap */ LIST_HEAD(amd_iommu_list); /* list of all AMD IOMMUs in the @@ -1214,7 +1214,9 @@ static int __init parse_amd_iommu_options(char *str) for (; *str; ++str) { if (strncmp(str, "isolate", 7) == 0) amd_iommu_isolate = 1; - if (strncmp(str, "fullflush", 11) == 0) + if (strncmp(str, "share", 5) == 0) + amd_iommu_isolate = 0; + if (strncmp(str, "fullflush", 9) == 0) amd_iommu_unmap_flush = true; } |