Re: pKVM breakage in mainline on n1sdp
From: Mark Brown <broonie@kernel.org>
Date: 2026-02-21 13:16:31
Also in:
kvmarm
On Sat, Feb 21, 2026 at 10:33:47AM +0000, Marc Zyngier wrote:
On Fri, 20 Feb 2026 19:08:59 +0000, Mark Brown [off-list ref] wrote:
quoted
At some point since the 30th of January we have started seeing issues in mainline when running kvm-unit-tests on N1SDP in pKVM mode:
The absence of any versioning information is really unhelpful. What kernel version is that? Upstream? Next? A date really doesn't help much, specially given how vague it is. Same thing for KUT.
As mentioned above this is with mainline, that is to say with Linus'
tree.
kvm-unit-tests should be at commit 0ed2cdf3c8 ("arm64: Fix sve_vl() for
build errors"), though it doesn't announce a version at runtime (and we
should really update from there, especially once the next release
happens which will hopefully be soon).
quoted
The same tests running on N1SDP in VHE mode seem happy, and I've not seen any other platforms showing issues. Unfortunately due to various infrastructure issues I don't have more detail on when this started happening or anything, I'll update if I get more.
I've ran that test on an Altra (Neoverse-N1, same as N1SDP), with both v6.19 and linux/master as of d79526b89571 together with KUT as of 86e53277 and nothing caught fire in protected mode, including a 32-parallel VM test.
Indeed, one of the other machines that wasn't showing these issues for me was an Altra.
Most of KUT's PMU tests fail in protected mode though, probably due some issue with the routing of PMU exceptions (see below), but that doesn't seem new. Fuad, could you please have a look and see if something catches your eye?
Yes, there are a bunch of other long standing failures in protected mode, like can be seen with this run on i.MX8MP for Linus' tip of tree: https://lava.sirena.org.uk/scheduler/job/2478171#L1365 which is a lot less happy than the non-pKVM run for the same commit on the same board: https://lava.sirena.org.uk/scheduler/job/2478178#L1360 (those runs will have a more recent kvm-unit-tests version, it's separate infrastructure). I don't recall those tests ever working with pKVM.
Attachments
- signature.asc [application/pgp-signature] 488 bytes