[PATCH v2] KVM: arm64: selftests: Skip unwritable ID fields in the failed-run test
Fuad Tabba
fuad.tabba at linux.dev
Mon Oct 26 01:09:33 PDT 2026
Hi Sasha,
On Mon, 26 Oct 2026 01:21:28 +0000, 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 field of every register in test_regs.
[...]
I tested v2 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