https://bugzilla.kernel.org/show_bug.cgi?id=206579 --- Comment #59 from Anthony (anthonysanwo@xxxxxxxxxxxxxx) --- (In reply to muncrief from comment #57) > I just compiled and installed 5.7-rc1 and according to "perf kvm stat live" > AVIC is not working at all again. I wasn't able to apply the normal patches > because the code directory structure has changed, so this is just a raw > compile from git. > > My VM hasn't changed from Comment 51. So are there new patches I'm supposed > to apply, or changes that need to be made to my XML? Or is AVIC in an > interim dysfunctional state in 5.7-rc1? Have you tried using perf top? I have found this to be the most reliable way to know AVIC is working as it shows the kernel functions being used. perf stat live only shows vmexits by default which isn't always easy to know for sure AVIC is activate. sudo perf stat -e 'kvm:*' -a -- sleep 1 helps to check if it's working optimally as it gives you counter of all kvm related vmexits that happen after 1 second. You can do so with the below command - sudo perf kvm --host top --kallsyms=/proc/kallsyms -gp `pidof qemu-system-x86_64` It might not resolve the symbols the first time. Easy way to check is by searching for "svm" using "\". If you get no results exit with "Esc" or "Ctrl + C" and try again.The other reason might be your kernel doesn't have CONFIG_KALLSYMS enabled. You can use "h" to bring up the help menu for other commands. To see if SVM AVIC is working you want to search for it should return something like what I posted in comment 49/50. 0.61% [kvm_amd] [k] svm_deliver_avic_intr 0.05% [kvm_amd] [k] avic_vcpu_put.part.0 0.02% [kvm_amd] [k] avic_vcpu_load And for IOMMU AVIC - 2.83% [kernel] [k] iommu_completion_wait 0.87% [kernel] [k] __iommu_queue_command_sync 0.16% [kernel] [k] amd_iommu_update_ga 0.03% [kernel] [k] iommu_flush_irt As far as Linux 5.7-rc1 AVIC is working as described in comment 55 including when tested with the patch that fixes IOMMU AVIC on windows. -- You are receiving this mail because: You are watching the assignee of the bug.