[PATCH v2] KVM: arm64: Ensure TLBs and I-cache are private to each vCPU in pKVM

Marc Zyngier maz at kernel.org
Tue Nov 3 05:05:35 PST 2026


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.





More information about the linux-arm-kernel mailing list