Re: [PATCH v2] KVM: arm64: selftests: Skip unwritable ID fields in the failed-run test
From: Marc Zyngier
Date: Mon Oct 26 2026 - 08:06:16 EST
On Sun, 25 Oct 2026 21:21:28 -0400, Sasha Levin 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.
>
> On a host without AArch32 support at EL0, KVM treats the AArch32 ID
> registers as RAZ/WI: aa32_id_visibility() returns REG_RAZ | REG_USER_WI,
> and kvm_sys_reg_set_user() ignores the write and returns 0 before
> set_id_reg() checks whether the ID registers are final. The test then
> fails on the first such register:
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: selftests: Skip unwritable ID fields in the failed-run test
commit: a4be8d69698b11d976c122be2d32bb72b8a52809
Cheers,
M.
--
Without deviation from the norm, progress is not possible.