From: Joerg Roedel Date: Thu, 22 Dec 2011 11:35:38 +0000 (+0100) Subject: iommu/amd: Init stats for iommu=pt X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c;p=linux-edison.git 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 --- diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 03944e76b70..edd291070b0 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -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;