[Bug 201753] AMD-Vi: Unable to write to IOMMU perf counter

bugzilla-daemon
2021-02-06T03:46:24Z

--- Comment #4 from Suravee Suthikulpanit (suravee.suthikulpanit@amd.com) ---
Created attachment 295089
--> https://bugzilla.kernel.org/attachment.cgi?id=295089&action=edit
(RFCv2) Proposed workaround for the IOMMU PMC issue

RFCv2 patch adds the logic to retry after 10msec wait for each retry loop. I
have founded that certain platform takes about 10msec for the power gating to
disable.

Please give this a try to see if this works better on your platform.

Thanks,
Suravee