Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316574
b: refs/heads/master
c: 62410ee
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel committed Jul 17, 2012
1 parent e8b0af3 commit a4cd34c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11ee5ac47b78d7e117c84147596a124ce6421a3a
refs/heads/master: 62410eeb40ef355fa47f63886542f4dacef13ba9
5 changes: 5 additions & 0 deletions trunk/drivers/iommu/amd_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2971,6 +2971,11 @@ int __init amd_iommu_init_dma_ops(void)

amd_iommu_stats_init();

if (amd_iommu_unmap_flush)
pr_info("AMD-Vi: IO/TLB flush on unmap enabled\n");
else
pr_info("AMD-Vi: Lazy IO/TLB flushing enabled\n");

return 0;

free_domains:
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/iommu/amd_iommu_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -1702,14 +1702,6 @@ static int __init amd_iommu_init(void)

x86_platform.iommu_shutdown = disable_iommus;

if (iommu_pass_through)
goto out;

if (amd_iommu_unmap_flush)
printk(KERN_INFO "AMD-Vi: IO/TLB flush on unmap enabled\n");
else
printk(KERN_INFO "AMD-Vi: Lazy IO/TLB flushing enabled\n");

out:
return ret;

Expand Down

0 comments on commit a4cd34c

Please sign in to comment.