]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/64e: consolidate TLB miss handler patching
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jul 2024 13:51:17 +0000 (15:51 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Jul 2024 22:52:15 +0000 (15:52 -0700)
commit264488bf59864fa7a67983b9f1561c54ca71ddb3
tree015d70bb122b9c675d3be050a7ef3fa4e28eeb50
parentaca69900d717f62ef3d4df671129b707f651af5d
powerpc/64e: consolidate TLB miss handler patching

The 64e TLB miss handler patching is done in setup_mmu_htw(), and then
again immediately afterward in early_init_mmu_global().  Consolidate it
into a single location.

Link: https://lkml.kernel.org/r/7033b37493fb48a3e5245b59d0a42afb75dabfc1.1719928057.git.christophe.leroy@csgroup.eu
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Jason Gunthorpe <jgg@nvidia.com>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/mm/nohash/tlb_64e.c