On 06/02/2021 04:02, Suravee Suthikulpanit wrote: > Tj, > > I have posted RFCv3 in the BZ > https://bugzilla.kernel.org/show_bug.cgi?id=201753. > > 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.
Added on top of commit 825b5991a46e. kernel: Linux version 5.11.0-rc6+ (tj@elloe000) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #18 SMP PREEMPT Sun Feb 7 15:58:14 GMT 2021 kernel: Command line: BOOT_IMAGE=/vmlinuz-5.11.0-rc6+ root=/dev/mapper/ELLOE000-rootfs ro acpi_osi=! "acpi_osi=Windows 2016" systemd.unified_cgroup_hierarchy=1 nosplash ... kernel: DMI: LENOVO 20NECTO1WW/20NECTO1WW, BIOS R11ET32W (1.12 ) 12/23/2019 ... kernel: AMD-Vi: ivrs, add hid:PNPD0040, uid:, rdevid:152 ... kernel: Freeing initrd memory: 37592K kernel: pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported kernel: pci 0000:00:00.2: can't derive routing for PCI INT A kernel: pci 0000:00:00.2: PCI INT A: not connected ... kernel: pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40 kernel: pci 0000:00:00.2: AMD-Vi: Extended features (0x4f77ef22294ada): kernel: PPR NX GT IA GA PC GA_vAPIC kernel: AMD-Vi: Interrupt remapping enabled kernel: AMD-Vi: Virtual APIC enabled kernel: AMD-Vi: Lazy IO/TLB flushing enabled ... Looks to have solved the: kernel: AMD-Vi: Unable to read/write to IOMMU perf counter. Would this be in any way related to the following from the same device: kernel: pci 0000:00:00.2: can't derive routing for PCI INT A kernel: pci 0000:00:00.2: PCI INT A: not connected _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu