projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31342b5
)
iommu/amd: Init stats for iommu=pt
author
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 22 Dec 2011 11:35:38 +0000
(12:35 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 22 Dec 2011 13:56:56 +0000
(14:56 +0100)
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>
drivers/iommu/amd_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu.c
b/drivers/iommu/amd_iommu.c
index 03944e76b7005051118b1b3efa12d8549a94f025..edd291070b0b926357b868858ec5023504228977 100644
(file)
--- 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;