Re: [PATCH 1/3] KVM: PPC: Book3S HV: Invalidate ERAT when flushing guest TLB entries

2019-06-23 Thread Michael Ellerman
On Thu, 2019-06-20 at 01:46:49 UTC, Suraj Jitindar Singh wrote: > When a guest vcpu moves from one physical thread to another it is > necessary for the host to perform a tlb flush on the previous core if > another vcpu from the same guest is going to run there. This is because the > guest may use t

[PATCH 1/3] KVM: PPC: Book3S HV: Invalidate ERAT when flushing guest TLB entries

2019-06-19 Thread Suraj Jitindar Singh
When a guest vcpu moves from one physical thread to another it is necessary for the host to perform a tlb flush on the previous core if another vcpu from the same guest is going to run there. This is because the guest may use the local form of the tlb invalidation instruction meaning stale tlb entr