I also tried to increase the msleep, (retry = 5) - msleep(20); + msleep(40);
The same result on #7. I am not sure whether this applies to my AMD Ryzen 5 2500U. Update: If the system is powered off for long time (i.e. 5+ mins), the patch will work. In any case, it seems there are still room for improvement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1917203 Title: AMD-Vi: Unable to read/write to IOMMU perf counter To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1917203/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs