Re: [PATCH v2] powerpc/32s: Don't flush all TLBs when flushing one page

2020-03-05 Thread Michael Ellerman
On Sat, 2020-02-01 at 08:04:31 UTC, Christophe Leroy wrote: > When flushing any memory range, the flushing function > flushes all TLBs. > > When (start) and (end - 1) are in the same memory page, > flush that page instead. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks.

Re: [PATCH v2] powerpc/32s: Don't flush all TLBs when flushing one page

2020-02-01 Thread Christophe Leroy
Le 01/02/2020 à 09:04, Christophe Leroy a écrit : When flushing any memory range, the flushing function flushes all TLBs. When (start) and (end - 1) are in the same memory page, flush that page instead. Signed-off-by: Christophe Leroy Reviewed-by: Segher Boessenkool --- v2: Reworked

[PATCH v2] powerpc/32s: Don't flush all TLBs when flushing one page

2020-02-01 Thread Christophe Leroy
When flushing any memory range, the flushing function flushes all TLBs. When (start) and (end - 1) are in the same memory page, flush that page instead. Signed-off-by: Christophe Leroy --- v2: Reworked the test as the previous one was always false (end - start was PAGE_SIZE - 1 for a single