Thread (4 messages) 4 messages, 2 authors, 21d ago

Re: ppc64le kunit test failure: guest_state_buffer_test

From: Vaibhav Jain <hidden>
Date: 2026-06-03 07:33:21
Also in: kvm

Hi Eric,

Thanks for trying and reporting this. This kunit test depends on
availablility of Qemu commit 5f7d861e("spapr: nested: Add support for
reporting Hostwide state counter ") [1] that was merged in v10.0.0.

Since you havent mentioned the qemu version used I assume its a version
< v10.0.0 . With the qemu patch available you should see this test
passing with results similar to as originally described in original
cover letter of the patch series at [2] that introduced this kunit test.

[1] https://gitlab.com/qemu-project/qemu/-/commit/5f7d861e65d90e0446b8f22a0bc859a5d8058ea6

[2] https://lore.kernel.org/all/20250416162740.93143-1-vaibhav@linux.ibm.com/ (local)

Eric Biggers [off-list ref] writes:

FYI, the KUnit test arch/powerpc/kvm/test-guest-state-buffer.c is
failing when run in QEMU PPC64LE:

[  146.554299][    T1]     KTAP version 1^M
[  146.554348][    T1]     # Subtest: guest_state_buffer_test^M
[  146.554543][    T1]     # module: test_guest_state_buffer^M
[  146.554927][    T1]     1..7^M
[  146.556873][    T1]     ok 1 test_creating_buffer^M
[  146.558221][    T1]     ok 2 test_adding_element^M
[  146.559532][    T1]     ok 3 test_gs_bitmap^M
[  146.560309][    T1]     ok 4 test_gs_parsing^M
[  146.561246][    T1]     ok 5 test_gs_msg^M
[  146.562116][    T1]     ok 6 test_gs_hostwide_msg^M
[  146.562911][  T428]     # test_gs_hostwide_counters: ASSERTION FAILED at arch/powerpc/kvm/test-guest-state-buffer.c:488^M
[  146.562911][  T428]     Expected rc == 0, but^M
[  146.562911][  T428]         rc == -2 (0xfffffffffffffffe)^M
[  146.563600][    T1]     not ok 7 test_gs_hostwide_counters^M
[  146.563653][    T1] # guest_state_buffer_test: pass:6 fail:1 skip:0 total:7^M

Tested on next-20260602.  I haven't bisected it.

Note that this test is in the defconfig.

- Eric
-- 
Cheers
~ Vaibhav
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help