diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-12-22 12:35:38 +0100 |
---|---|---|
committer | Hiroshi DOYU <hdoyu@nvidia.com> | 2012-01-23 11:11:43 +0200 |
commit | c5f474e1c921c271aeb5d1dead969c2bff87bcbd (patch) | |
tree | f1f67a82a9b3c450ddb1ea7219781c5284ef8fa2 /drivers/iommu | |
parent | a701312d3cbe0a2f6e234872ff97a819d00c7964 (diff) |
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index 0307c8c1758f..cce1f03b8895 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c @@ -3259,6 +3259,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; |