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

bugzilla-daemon
2021-03-18T08:43:02Z

Felice Tufo (info@felicetufo.com) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |info@felicetufo.com

--- Comment #27 from Felice Tufo (info@felicetufo.com) ---
Good morning,
I'm using the latest 5.11.7 kernel on an Aura15 Tuxedo notebook (based on Amd
Ryzen 4700U). As far as I can tell, the patch was merged on 5.11.7, but at
startup (cold boot) I read:

[ 1.888186] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf
counter.
[ 1.888454] pci 0000:00:00.2: can't derive routing for PCI INT A
[ 1.888457] pci 0000:00:00.2: PCI INT A: not connected
[ 1.888510] pci 0000:00:01.0: Adding to iommu group 0
[ 1.888537] pci 0000:00:01.3: Adding to iommu group 1
[ 1.888565] pci 0000:00:02.0: Adding to iommu group 2
[ 1.888583] pci 0000:00:02.1: Adding to iommu group 3
[ 1.888600] pci 0000:00:02.2: Adding to iommu group 4
[ 1.888616] pci 0000:00:02.4: Adding to iommu group 5
[ 1.888644] pci 0000:00:08.0: Adding to iommu group 6
[ 1.888663] pci 0000:00:08.1: Adding to iommu group 6
[ 1.888689] pci 0000:00:14.0: Adding to iommu group 7
[ 1.888707] pci 0000:00:14.3: Adding to iommu group 7
[ 1.888764] pci 0000:00:18.0: Adding to iommu group 8
[ 1.888779] pci 0000:00:18.1: Adding to iommu group 8
[ 1.888795] pci 0000:00:18.2: Adding to iommu group 8
[ 1.888810] pci 0000:00:18.3: Adding to iommu group 8
[ 1.888825] pci 0000:00:18.4: Adding to iommu group 8
[ 1.888840] pci 0000:00:18.5: Adding to iommu group 8
[ 1.888855] pci 0000:00:18.6: Adding to iommu group 8
[ 1.888869] pci 0000:00:18.7: Adding to iommu group 8
[ 1.888886] pci 0000:01:00.0: Adding to iommu group 9
[ 1.888906] pci 0000:02:00.0: Adding to iommu group 10
[ 1.888923] pci 0000:03:00.0: Adding to iommu group 11
[ 1.888940] pci 0000:04:00.0: Adding to iommu group 12
[ 1.888959] pci 0000:05:00.0: Adding to iommu group 6
[ 1.888968] pci 0000:05:00.1: Adding to iommu group 6
[ 1.888977] pci 0000:05:00.2: Adding to iommu group 6
[ 1.888985] pci 0000:05:00.3: Adding to iommu group 6
[ 1.888993] pci 0000:05:00.4: Adding to iommu group 6
[ 1.889000] pci 0000:05:00.5: Adding to iommu group 6
[ 1.889008] pci 0000:05:00.6: Adding to iommu group 6
[ 1.891539] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 1.891545] pci 0000:00:00.2: AMD-Vi: Extended features
(0x206d73ef22254ade):
[ 1.891547] PPR X2APIC NX GT IA GA PC GA_vAPIC
[ 1.891552] AMD-Vi: Interrupt remapping enabled
[ 1.891552] AMD-Vi: Virtual APIC enabled
[ 1.891553] AMD-Vi: X2APIC enabled
[ 1.891781] AMD-Vi: Lazy IO/TLB flushing enabled