From: sashiko-bot@kernel.org
To: "James Clark" <james.clark@linaro.org>
Cc: kvmarm@lists.linux.dev, kvm@vger.kernel.org,
"Oliver Upton" <oupton@kernel.org>,
"Marc Zyngier" <maz@kernel.org>
Subject: Re: [PATCH] KVM: arm64: selftests: Pin vpmu_counter_access to one CPU
Date: Wed, 25 Nov 2026 15:42:02 +0000 [thread overview]
Message-ID: <sashiko-outbox-233667@kernel.org> (raw)
In-Reply-To: <20261125-james-kvm-pin-pmu-test-v1-1-c3ce989233fb@linaro.org>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] KVM: arm64: selftests: missing Fixes trailer for
vpmu_counter_access
--
commit 743d06a69fdece62aa16db9a505ef5da1403cfd6
Author: James Clark <james.clark@linaro.org>
> KVM: arm64: selftests: Pin vpmu_counter_access to one CPU
>
> The vpmu_counter_access test reads the maximum PMCR_EL0.N from one VM
> and then creates new VMs for each number of counters up to that limit.
> If the test migrates between CPU types the limit may not be valid for
> the new VM which causes:
>
> ==== Test Assertion Failure ====
> arm64/vpmu_counter_access.c:483: !ret
> pid=9165 tid=9165 errno=22 - Invalid argument
> ...
> KVM_SET_DEVICE_ATTR failed, rc: -1 errno: 22 (Invalid argument)
>
> For example on a Radxa Orion O6 with 20 counters on the big cores and 6
> on the little cores, this happens on most runs.
>
> Fix it by pinning the test to the CPU that it starts on before any VMs
> are created.
>
> Signed-off-by: James Clark <james.clark@linaro.org>
[Severity: Low]
This fixes a bug present since the test was introduced. Should this
include:
Fixes: 8d0aebe1ca2b ("KVM: selftests: aarch64: Introduce vpmu_counter_access test")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125-james-kvm-pin-pmu-test-v1-1-c3ce989233fb@linaro.org?part=1
prev parent reply other threads:[~2026-11-25 15:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 15:36 [PATCH] KVM: arm64: selftests: Pin vpmu_counter_access to one CPU James Clark
2026-11-25 15:42 ` sashiko-bot [this message]
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=sashiko-outbox-233667@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=james.clark@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=kvmarm@lists.linux.dev \
--cc=maz@kernel.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.