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

bugzilla-daemon
2021-10-01T19:54:35Z

--- Comment #37 from Neil (ledufff@hotmail.com) ---
Whoops, I forgot to report as well that this is fixed for me.
Thinkpad E495 / Ryzen 3500u / debian 11 linux 5.10.46-5

[ 0.366749] iommu: Default domain type: Translated
[ 0.805580] pci 0000:00:01.0: Adding to iommu group 0
[ 0.805589] pci 0000:00:01.1: Adding to iommu group 1
[ 0.805600] pci 0000:00:01.2: Adding to iommu group 2
[ 0.805608] pci 0000:00:01.3: Adding to iommu group 3
[ 0.805616] pci 0000:00:01.6: Adding to iommu group 4
[ 0.805635] pci 0000:00:08.0: Adding to iommu group 5
[ 0.805644] pci 0000:00:08.1: Adding to iommu group 6
[ 0.805651] pci 0000:00:08.2: Adding to iommu group 5
[ 0.805663] pci 0000:00:14.0: Adding to iommu group 7
[ 0.805670] pci 0000:00:14.3: Adding to iommu group 7
[ 0.805701] pci 0000:00:18.0: Adding to iommu group 8
[ 0.805709] pci 0000:00:18.1: Adding to iommu group 8
[ 0.805716] pci 0000:00:18.2: Adding to iommu group 8
[ 0.805723] pci 0000:00:18.3: Adding to iommu group 8
[ 0.805730] pci 0000:00:18.4: Adding to iommu group 8
[ 0.805736] pci 0000:00:18.5: Adding to iommu group 8
[ 0.805743] pci 0000:00:18.6: Adding to iommu group 8
[ 0.805749] pci 0000:00:18.7: Adding to iommu group 8
[ 0.805758] pci 0000:01:00.0: Adding to iommu group 9
[ 0.805767] pci 0000:02:00.0: Adding to iommu group 10
[ 0.805775] pci 0000:03:00.0: Adding to iommu group 11
[ 0.805783] pci 0000:04:00.0: Adding to iommu group 12
[ 0.805809] pci 0000:05:00.0: Adding to iommu group 13
[ 0.805835] pci 0000:05:00.1: Adding to iommu group 14
[ 0.805846] pci 0000:05:00.2: Adding to iommu group 14
[ 0.805857] pci 0000:05:00.3: Adding to iommu group 14
[ 0.805868] pci 0000:05:00.4: Adding to iommu group 14
[ 0.805879] pci 0000:05:00.5: Adding to iommu group 14
[ 0.805890] pci 0000:05:00.6: Adding to iommu group 14
[ 0.805895] pci 0000:06:00.0: Adding to iommu group 5
[ 0.810116] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4
counters/bank).