[PATCH v2 4/4] KVM: arm64: pkvm: Avoid trapping on HVC_RESET_VECTORS

Fuad Tabba fuad.tabba at linux.dev
Thu Oct 22 10:38:06 PDT 2026


Hi Vincent,

On Thu, 22 Oct 2026 15:00:48 +0100, Vincent Donnefort <vdonnefort at google.com> wrote:
> pKVM prevents the reset of the hypervisor vector and as a consequence,
> kvm_hyp_initialized can never be reset. Add a fast-path for this case to
> skip unnecessary HVCs on the CPU hotplug and PM path.

Could you drop this patch? It brings back a pKVM check in the host code,
which Marc asked to avoid on v1 [1], to save one HVC that pKVM already
rejects.

Cheers,
/fuad

[1] https://lore.kernel.org/all/86jynbyshv.wl-maz@kernel.org/



More information about the linux-arm-kernel mailing list