OSDN Git Service

powerpc/64s/radix: Remove TLB_FLUSH_ALL test from range flushes
authorNicholas Piggin <npiggin@gmail.com>
Fri, 3 Feb 2023 11:17:18 +0000 (21:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Feb 2023 10:42:12 +0000 (21:42 +1100)
commitdcfecb989afdf9101ee42e2adf04756a2ea4819d
treecf4f9cda4d815df8532e1380d275df6871025792
parentd01dc25e47af9d30185ca12bb9e221d6af915d9f
powerpc/64s/radix: Remove TLB_FLUSH_ALL test from range flushes

This looks like it came across from x86, but x86 uses TLB_FLUSH_ALL as
a parameter to internal functions. Powerpc never sets it anywhere.

Remove the associated logic and leave a warning for now.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230203111718.1149852-4-npiggin@gmail.com
arch/powerpc/mm/book3s64/radix_tlb.c