mbox series

[0/3] powerpc/64s/radix: misc tidying

Message ID 20230203111718.1149852-1-npiggin@gmail.com (mailing list archive)
Headers show
Series powerpc/64s/radix: misc tidying | expand

Message

Nicholas Piggin Feb. 3, 2023, 11:17 a.m. UTC
Here's a few things I wanted to tidy before doing the lazy tlb mm
shootdown / exit TLB flush IPI optimisation. There is no hard
dependency just slight code rearrangement but since we're waiting
for the shootdown patches to go via the -mm tree we could do these
now.

It basically just removing a bunch of dead code, or replacing them
with WARN so we can remove them entirely in a release or two.

Thanks,
Nick

Nicholas Piggin (3):
  powerpc/64s/radix: Remove need_flush_all test from radix__tlb_flush
  powerpc/64s/radix: mm->context.id should always be valid
  powerpc/64s/radix: Remove TLB_FLUSH_ALL test from range flushes

 arch/powerpc/mm/book3s64/radix_tlb.c | 62 ++++++++++++++--------------
 1 file changed, 32 insertions(+), 30 deletions(-)

Comments

Michael Ellerman Feb. 15, 2023, 12:40 p.m. UTC | #1
On Fri, 3 Feb 2023 21:17:15 +1000, Nicholas Piggin wrote:
> Here's a few things I wanted to tidy before doing the lazy tlb mm
> shootdown / exit TLB flush IPI optimisation. There is no hard
> dependency just slight code rearrangement but since we're waiting
> for the shootdown patches to go via the -mm tree we could do these
> now.
> 
> It basically just removing a bunch of dead code, or replacing them
> with WARN so we can remove them entirely in a release or two.
> 
> [...]

Applied to powerpc/next.

[1/3] powerpc/64s/radix: Remove need_flush_all test from radix__tlb_flush
      https://git.kernel.org/powerpc/c/45abf5d94b9bd0eebca5c7272788e2d16c8b5b43
[2/3] powerpc/64s/radix: mm->context.id should always be valid
      https://git.kernel.org/powerpc/c/d01dc25e47af9d30185ca12bb9e221d6af915d9f
[3/3] powerpc/64s/radix: Remove TLB_FLUSH_ALL test from range flushes
      https://git.kernel.org/powerpc/c/dcfecb989afdf9101ee42e2adf04756a2ea4819d

cheers