iommu/amd: Init stats for iommu=pt

The IOMMUv2 driver added a few statistic counter which are
interesting in the iommu=pt mode too. So initialize the
statistic counter for that mode too.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
Joerg Roedel 2011-12-22 12:35:38 +01:00
parent 31342b58b7
commit 2655d7a297
1 changed files with 2 additions and 0 deletions

View File

@ -3238,6 +3238,8 @@ int __init amd_iommu_init_passthrough(void)
attach_device(&dev->dev, pt_domain);
}
amd_iommu_stats_init();
pr_info("AMD-Vi: Initialized for Passthrough Mode\n");
return 0;