[PATCH v8 0/3] KVM: selftests: arm64: Improve diagnostics from set_id_regs

Mark Brown broonie at kernel.org
Wed Oct 14 03:32:13 PDT 2026


On Wed, Oct 14, 2026 at 04:40:15PM +0900, Itaru Kitayama wrote:

> I’ve reproduced the set_id_regs failure under QEMU with kvm-arm.mode=nested on 
> a host that supports AArch32. KVM advertises the NV-capable L1 vCPU as AArch64-only, 
> but aa32_id_visibility() still permits the inner KVM to expose ID_DFR0_EL1.CopDbg = 0xa 
> to the selftest vCPU. The test expects zero because it skips setting expected 
> values for AArch32 ID registers.

> In v6 you mentioned preferring an in-kernel solution. What did you have in mind, 
> given that changing the value returned by GET_ONE_REG may affect the userspace ABI?

I think the idea would be to force the 32 bit ID registers to 0 like we
already do for aarch64 only hosts.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261014/b9b25510/attachment.sig>


More information about the linux-arm-kernel mailing list