Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "iommu/amd: Fix performance counter initialization"
This reverts commit 6778ff5. The original commit tries to address an issue, where PMC power-gating causing the IOMMU PMC pre-init test to fail on certain desktop/mobile platforms where the power-gating is normally enabled. There have been several reports that the workaround still does not guarantee to work, and can add up to 100 ms (on the worst case) to the boot process on certain platforms such as the MSI B350M MORTAR with AMD Ryzen 3 2200G. Therefore, revert this commit as a prelude to removing the pre-init test. Link: https://lore.kernel.org/linux-iommu/[email protected]/ Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=201753 Cc: Tj (Elloe Linux) <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Alexander Monakov <[email protected]> Cc: David Coe <[email protected]> Signed-off-by: Paul Menzel <[email protected]> Signed-off-by: Suravee Suthikulpanit <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
- Loading branch information