RE: [PATCH v3 1/4] KVM: arm64: Introduce a new VMID allocator for KVM

2021-08-03 Thread Shameerali Kolothum Thodi
rm.com; > james.mo...@arm.com; julien.thierry.k...@gmail.com; > suzuki.poul...@arm.com; jean-phili...@linaro.org; > alexandru.eli...@arm.com; qper...@google.com; Linuxarm > > Subject: Re: [PATCH v3 1/4] KVM: arm64: Introduce a new VMID allocator for > KVM > > On Thu,

Re: [PATCH v3 1/4] KVM: arm64: Introduce a new VMID allocator for KVM

2021-08-03 Thread Will Deacon
On Thu, Jul 29, 2021 at 11:40:06AM +0100, Shameer Kolothum wrote: > A new VMID allocator for arm64 KVM use. This is based on > arm64 ASID allocator algorithm. > > One major deviation from the ASID allocator is the way we > flush the context. Unlike ASID allocator, we expect less > frequent rollove

[PATCH v3 1/4] KVM: arm64: Introduce a new VMID allocator for KVM

2021-07-29 Thread Shameer Kolothum
A new VMID allocator for arm64 KVM use. This is based on arm64 ASID allocator algorithm. One major deviation from the ASID allocator is the way we flush the context. Unlike ASID allocator, we expect less frequent rollover in the case of VMIDs. Hence, instead of marking the CPU as flush_pending and