diff options
Diffstat (limited to 'arch/x86/kernel/amd_iommu_init.c')
-rw-r--r-- | arch/x86/kernel/amd_iommu_init.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/amd_iommu_init.c b/arch/x86/kernel/amd_iommu_init.c index a69cc0f52042..f2fa8dc81beb 100644 --- a/arch/x86/kernel/amd_iommu_init.c +++ b/arch/x86/kernel/amd_iommu_init.c | |||
@@ -995,6 +995,11 @@ int __init amd_iommu_init(void) | |||
995 | else | 995 | else |
996 | printk("disabled\n"); | 996 | printk("disabled\n"); |
997 | 997 | ||
998 | if (iommu_fullflush) | ||
999 | printk(KERN_INFO "AMD IOMMU: IO/TLB flush on unmap enabled\n"); | ||
1000 | else | ||
1001 | printk(KERN_INFO "AMD IOMMU: Lazy IO/TLB flushing enabled\n"); | ||
1002 | |||
998 | out: | 1003 | out: |
999 | return ret; | 1004 | return ret; |
1000 | 1005 | ||
@@ -1057,7 +1062,7 @@ void __init amd_iommu_detect(void) | |||
1057 | static int __init parse_amd_iommu_options(char *str) | 1062 | static int __init parse_amd_iommu_options(char *str) |
1058 | { | 1063 | { |
1059 | for (; *str; ++str) { | 1064 | for (; *str; ++str) { |
1060 | if (strcmp(str, "isolate") == 0) | 1065 | if (strncmp(str, "isolate", 7) == 0) |
1061 | amd_iommu_isolate = 1; | 1066 | amd_iommu_isolate = 1; |
1062 | } | 1067 | } |
1063 | 1068 | ||