diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-12-22 12:35:38 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2011-12-22 14:56:56 +0100 |
commit | 2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c (patch) | |
tree | 34b98c50eb910a4e1bdf1bb9faec83c5b7043bfb /drivers/iommu | |
parent | 31342b58b72b2b8480f12ffee648c8ba3297dee1 (diff) | |
download | linux-2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c.tar.gz linux-2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c.tar.bz2 linux-2655d7a29703f29d4b6b8e4ee1f4d682b3b28f9c.zip |
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 03944e76b700..edd291070b0b 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; |