@david,
I cherry-picked 6778ff5b21bd8e78 and built a test kernel @ https://people.canonical.com/~alexhung/LP1917203/. I tested on an AMD Ryzen 5 2500U
Before [ 0.975812] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
After: [ 1.006639] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
It would be great if you can give it a try and update the results.
@david,
I cherry-picked 6778ff5b21bd8e78 and built a test kernel @ https:/ /people. canonical. com/~alexhung/ LP1917203/. I tested on an AMD Ryzen 5 2500U
Before
[ 0.975812] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
After:
[ 1.006639] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
It would be great if you can give it a try and update the results.