Re: [PATCH v2] KVM: arm64: Ensure TLBs and I-cache are private to each vCPU in pKVM
From: Marc Zyngier
Date: Tue Nov 03 2026 - 08:11:55 EST
On Tue, 20 Oct 2026 08:43:11 +0100, Fuad Tabba wrote:
> All vCPUs of a VM share its VMID, so KVM flushes a physical CPU's TLBs
> and I-cache for the VM whenever a different vCPU of that VM is loaded
> there. pKVM guests, protected or not, run on the hypervisor's stage-2
> and VMID, and the host doesn't flush for them. Nothing at EL2 flushes
> instead, so a vCPU can hit TLB and I-cache entries that another vCPU of
> the same VM left on that CPU.
>
> [...]
Applied to fixes, thanks!
[1/1] KVM: arm64: Ensure TLBs and I-cache are private to each vCPU in pKVM
commit: cadcd8d70f331044d12aa6a9644f8253cd2bf29a
Cheers,
M.
--
Without deviation from the norm, progress is not possible.