Skip to content

Commit 7827a26

Browse files
hegdevasantjoergroedel
authored andcommitted
iommu/amd: Disable PPR log/interrupt in iommu_disable()
Similar to other logs, disable PPR log/interrupt in iommu_disable() path. Reviewed-by: Suravee Suthikulpanit <[email protected]> Signed-off-by: Vasant Hegde <[email protected]> Reviewed-by: Jerry Snitselaar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent e5ebd90 commit 7827a26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/iommu/amd/init.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,10 @@ static void iommu_disable(struct amd_iommu *iommu)
483483
iommu_feature_disable(iommu, CONTROL_GALOG_EN);
484484
iommu_feature_disable(iommu, CONTROL_GAINT_EN);
485485

486+
/* Disable IOMMU PPR logging */
487+
iommu_feature_disable(iommu, CONTROL_PPRLOG_EN);
488+
iommu_feature_disable(iommu, CONTROL_PPRINT_EN);
489+
486490
/* Disable IOMMU hardware itself */
487491
iommu_feature_disable(iommu, CONTROL_IOMMU_EN);
488492

0 commit comments

Comments
 (0)