Created attachment 303415 [details] xapic failure log Environment: CPU Architecture: x86_64 Host OS: Red Hat Enterprise Linux 9 (Ootpa) Host kernel: Linux 6.1 release gcc: gcc (GCC) 11.2.1 20220127 (Red Hat 11.2.1-9) Host kernel source: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Branch: master Commit: 830b3c68 Qemu source: https://git.qemu.org/git/qemu.git Branch: master Commit: 5204b499 kvm-unit-tests source: https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git Branch: master Commit: 7cefda524604fe1138333315ce06224d4d864dab Bug Detailed Description: kvm-unit-test xapic fails on the linux 6.1 release kernel. FAIL: Want 2 IPI(s) using physical mode, dest = 5d, got 1 IPI(s) qemu-system-x86_64: terminating on signal 15 from pid 208676 (timeout) FAIL xapic (timeout; duration=60) Reproducing Steps: git clone https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git cd kvm-unit-tests ./configure make standalone cd tests ./xapic Actual Result: ... starting broadcast (xapic) PASS: APIC physical broadcast address PASS: APIC physical broadcast shorthand PASS: IPI to single target using logical flat mode PASS: IPI to single target using logical cluster mode FAIL: Want 2 IPI(s) using logical flat mode, dest = 3, got 1 IPI(s) FAIL: IPI to multiple targets using logical flat mode FAIL: Want 2 IPI(s) using logical cluster mode, dest = 3, got 1 IPI(s) FAIL: IPI to multiple targets using logical cluster mode ... FAIL: Want 2 IPI(s) using physical mode, dest = 5b, got 1 IPI(s) FAIL: Want 2 IPI(s) using physical mode, dest = 5c, got 1 IPI(s) FAIL: Want 2 IPI(s) using physical mode, dest = 5d, got 1 IPI(s) qemu-system-x86_64: terminating on signal 15 from pid 208676 (timeout) FAIL xapic (timeout; duration=60) Expected Result: ... PASS xapic
KVM-unit-tests got ahead of KVM proper. The test will fail until the KVM fixes[*] land. That should happen sooner than later. [*] https://lore.kernel.org/all/20221001005915.2041642-1-seanjc@google.com
(In reply to Sean Christopherson from comment #1) > KVM-unit-tests got ahead of KVM proper. The test will fail until the KVM > fixes[*] land. That should happen sooner than later. > > [*] https://lore.kernel.org/all/20221001005915.2041642-1-seanjc@google.com Thanks! We'll test this again when the fix patch gets merged.