From: Marc Zyngier <maz@kernel.org>
To: Justin He <Justin.He@arm.com>
Cc: "sashiko-reviews@lists.linux.dev"
<sashiko-reviews@lists.linux.dev>,
"kvmarm@lists.linux.dev" <kvmarm@lists.linux.dev>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Oliver Upton <oupton@kernel.org>
Subject: Re: [PATCH v4 3/4] KVM: arm64: selftests: Add a test for VNCR_EL2 translation faults
Date: Fri, 04 Dec 2026 09:12:59 +0000 [thread overview]
Message-ID: <861p7xxvc4.wl-maz@kernel.org> (raw)
In-Reply-To: <AS2PR08MB9786DCE4869ADC9C8A88AAADF74A2@AS2PR08MB9786.eurprd08.prod.outlook.com>
On Fri, 04 Dec 2026 01:46:35 +0000,
Justin He <Justin.He@arm.com> wrote:
>
>
>
> > -----Original Message-----
> > From: sashiko-bot@kernel.org <sashiko-bot@kernel.org>
> > Sent: Thursday, December 3, 2026 7:17 PM
> > To: Justin He <Justin.He@arm.com>
> > Cc: kvmarm@lists.linux.dev; kvm@vger.kernel.org; Oliver Upton
> > <oupton@kernel.org>; Marc Zyngier <maz@kernel.org>
> > Subject: Re: [PATCH v4 3/4] KVM: arm64: selftests: Add a test for VNCR_EL2
> > translation faults
> >
> > Thank you for your contribution! Sashiko AI review found 4 potential
> > issues to consider:
> > - [Medium] KVM: arm64: selftests: missing vGICv3 and NV=0 check via
> > test_supports_el2()
> > - [Low] KVM: arm64: selftests: vcpu_get_stat() in TEST_ASSERT() can
> > clobber errno
> > - [Low] KVM: arm64: selftests: nv_vncr_abort omits kselftest TAP
> > reporting wrappers
> > - [Low] KVM: arm64: selftests: empty sigalrm_handler() mishandles EINTR
> > and timeout
> > --
>
> All four points make sense to me. I will address them
> in v5 by switching to test_supports_el2(), saving errno before reading
> vcpu_get_stat(), tracking SIGALRM with a flag and setitimer() while
> retrying on unrelated EINTR, and reporting results with the kselftest
> TAP helpers.
Whilst you're revisiting this, please move tests at the end of the
series.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2026-12-04 9:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 10:58 [PATCH v4 0/4] KVM: arm64: nv: VNCR page mapping fixes Jia He
2026-12-03 10:58 ` [PATCH v4 1/4] KVM: arm64: nv: Locate the VNCR page in the host page from its PA Jia He
2026-12-03 10:58 ` [PATCH v4 2/4] KVM: arm64: nv: Inject an SEA when the VNCR walk cannot set the AF Jia He
2026-12-03 10:58 ` [PATCH v4 3/4] KVM: arm64: selftests: Add a test for VNCR_EL2 translation faults Jia He
2026-12-03 11:16 ` sashiko-bot
2026-12-04 1:46 ` Justin He
2026-12-04 9:12 ` Marc Zyngier [this message]
2026-12-04 9:51 ` Justin He
2026-12-03 10:58 ` [PATCH v4 4/4] KVM: arm64: nv: Allow the L1 VNCR page in cacheable PFNMAP memory Jia He
2026-12-03 11:16 ` sashiko-bot
2026-12-04 2:59 ` Justin He
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=861p7xxvc4.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=Justin.He@arm.com \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=oupton@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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