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

bugzilla-daemon
2021-02-06T04:05:12Z

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

RFCv3 patch adds the logic to retry checking after 20msec wait for each retry
loop since 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