[PATCH v1] KVM: arm64: Move pkvm_selftests() after all CPUs have initialized EL2
Marc Zyngier
maz at kernel.org
Mon Oct 26 05:01:09 PDT 2026
On Mon, 19 Oct 2026 10:42:58 +0100, Vincent Donnefort wrote:
> init_subsystems() installs the hyp vector on all CPUs. By running
> pkvm_selftests() in init_hyp_mode(), there's a risk for a migration to a
> CPU where the hyp stub is still in place which would fail to run one of
> the HVCs necessary for the selftest.
>
> While init_subsystems() is the earliest we can call pkvm_selftests(),
> move it to finalize_pkvm() to avoid having to export the selftest
> function out of pkvm.c.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Move pkvm_selftests() after all CPUs have initialized EL2
commit: 0fa4e506a054702d03d46aac9272a37f820fc2e5
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list