Bug 216812 - kvm-unit-test xapic failed on linux 6.1 release kernel
Summary: kvm-unit-test xapic failed on linux 6.1 release kernel
Status: NEW
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-16 05:17 UTC by Yang Lixiao
Modified: 2022-12-17 07:00 UTC (History)
3 users (show)

See Also:
Kernel Version: 6.1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
xapic failure log (8.33 KB, text/plain)
2022-12-16 05:17 UTC, Yang Lixiao
Details

Description Yang Lixiao 2022-12-16 05:17:14 UTC
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
Comment 1 Sean Christopherson 2022-12-16 16:31:54 UTC
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
Comment 2 Yang Lixiao 2022-12-17 07:00:15 UTC
(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.

Note You need to log in before you can comment on or make changes to this bug.