Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2655d7a2 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

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: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 31342b58
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;