[PATCH 0/2] KVM: arm64: ID register finalisation fixes
Mark Brown <[email protected]> Fri, 31 Jul 2026 21:44:44 +0100
| Newsgroups | dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
While looking at some feature enablement I noticed that there are some scenarios where we can end up with an inconsistently configured vCPU due to finalizing configuration based on ID registers before we have blocked writes to the ID registers. This series aims to clean up these issues. Signed-off-by: Mark Brown <[email protected]> --- Mark Brown (2): KVM: arm64: Finalize guest-wide sysregs prior to per-vCPU sysregs KVM: arm64: Block ID register changes after we rely on the values arch/arm64/include/asm/kvm_host.h | 8 ++++++ arch/arm64/kvm/arm.c | 2 +- arch/arm64/kvm/sys_regs.c | 53 +++++++++++++++++++++++++-------------- arch/arm64/kvm/sys_regs.h | 2 +- arch/arm64/kvm/vgic/vgic-init.c | 6 ++--- 5 files changed, 46 insertions(+), 25 deletions(-) --- base-commit: f5098b6bae761e346ebcd9da7f95622c04733cff change-id: 20260729-kvm-arm64-idreg-final-77cbc46b558a Best regards, -- Mark Brown <[email protected]>