[PATCH] KVM: arm64: selftests: Skip ignored AArch32 ID regs in the failed-run test
Fuad Tabba
fuad.tabba at linux.dev
Sun Oct 25 01:34:31 PDT 2026
Hi Sasha,
On Sat, 24 Oct 2026 17:11:18 +0100, Sasha Levin <sashal at kernel.org> 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 at linux.dev>
Tested-by: Fuad Tabba <fuad.tabba at linux.dev>
Cheers,
/fuad
More information about the linux-arm-kernel
mailing list