[PATCH] KVM: arm64: Finalize ID registers only once per VM

Mark Brown broonie at kernel.org
Tue Nov 11 04:04:56 PST 2025


On Mon, Nov 10, 2025 at 05:30:10PM +0000, Marc Zyngier wrote:
> Owing to the ID registers being global to the VM, there is no point
> in computing them more than once.  However, recent changes making
> use of kvm_set_vm_id_reg() outlined that we repeatedly hammer
> the ID registers when we shouldn't.
> 
> Gate the ID reg update on the VM having never run.

This resolves all the test issues I was seeing:

Tested-by: Mark Brown <broonie at kernel.org>
-------------- 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/20251111/56ace5e9/attachment.sig>


More information about the linux-arm-kernel mailing list