Re: [PATCH] KVM: arm64: selftests: Skip ignored AArch32 ID regs in the failed-run test
From: Fuad Tabba
Date: Sun Oct 25 2026 - 04:35:38 EST
Hi Sasha,
On Sat, 24 Oct 2026 17:11:18 +0100, Sasha Levin <sashal@xxxxxxxxxx> wrote:
> test_idreg_frozen_after_failed_run() checks that changing a feature ID
> register after a failed first KVM_RUN is rejected with -EBUSY, and does
> so for every register in test_regs.
[...]
I reproduced this on the FVP AEM model configured with no AArch32 at
any EL and with PMUv3, under nVHE: set_id_regs fails on
ID_DFR0_EL1_PerfMon without this patch and passes with it. It also
passes on QEMU (which supports AArch32 at EL0) under VHE, nVHE and
pKVM.
Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Tested-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Cheers,
/fuad