From: Vaibhav Jain <vaibhav@linux.ibm.com>
To: Eric Biggers <ebiggers@kernel.org>,
linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org
Subject: Re: ppc64le kunit test failure: guest_state_buffer_test
Date: Wed, 03 Jun 2026 13:03:09 +0530 [thread overview]
Message-ID: <87ecioyt6y.fsf@vajain21.in.ibm.com> (raw)
In-Reply-To: <20260603064225.GC18149@sol>
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/
Eric Biggers <ebiggers@kernel.org> 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
next prev parent reply other threads:[~2026-06-03 7:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 6:42 ppc64le kunit test failure: guest_state_buffer_test Eric Biggers
2026-06-03 7:33 ` Vaibhav Jain [this message]
2026-06-03 7:40 ` Eric Biggers
2026-06-03 11:25 ` Vaibhav Jain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ecioyt6y.fsf@vajain21.in.ibm.com \
--to=vaibhav@linux.ibm.com \
--cc=ebiggers@kernel.org \
--cc=kvm@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox