Re: powerpc/mm: Use tlbiel only if we ever ran on the current cpu
From: Michael Ellerman <hidden>
Date: 2016-10-27 11:38:55
From: Michael Ellerman <hidden>
Date: 2016-10-27 11:38:55
On Mon, 2016-24-10 at 03:20:43 UTC, "Aneesh Kumar K.V" wrote:
Before this patch, we used tlbiel, if we ever ran only on this core. That was mostly derived from the nohash usage of the same. But the ISA 3.0 clarifies tlbiel such that "All TLB entries that have all of the following properties are made invalid on the thread executing the tlbiel instruction" Hence use tlbiel, if we only ever ran on just the current cpu. Signed-off-by: Aneesh Kumar K.V <redacted>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/bd77c4498616e27d5725b5959d880c cheers