diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-06-12 16:42:43 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-17 12:17:07 +0200 |
commit | 62410eeb40ef355fa47f63886542f4dacef13ba9 (patch) | |
tree | f1910faf68afdb3f0d5c621d8f8ebe5f2d69b320 /drivers/iommu/amd_iommu.c | |
parent | 11ee5ac47b78d7e117c84147596a124ce6421a3a (diff) | |
download | linux-62410eeb40ef355fa47f63886542f4dacef13ba9.tar.bz2 |
iommu/amd: Move unmap_flush message to amd_iommu_init_dma_ops()
The message belongs there anyway, so move it to that
function.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 0d0dc8598c72..584ea85ab2f0 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -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: |