powerpc/book3e: Fix TLBCAM preset at boot
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 15 Nov 2021 09:05:32 +0000 (10:05 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 16 Nov 2021 10:20:59 +0000 (21:20 +1100)
commit5b54860943dc4681be5de2fc287408c7ce274dfc
treee8be8c40e00cc45f0cdf583ac34275daf96242d6
parentad3976025b311cdeb822ad3e7a7554018cb0f83f
powerpc/book3e: Fix TLBCAM preset at boot

Commit 52bda69ae8b5 ("powerpc/fsl_booke: Tell map_mem_in_cams() if
init is done") was supposed to just add an additional parameter to
map_mem_in_cams() and always set it to 'true' at that time.

But a few call sites were messed up. Fix them.

Fixes: 52bda69ae8b5 ("powerpc/fsl_booke: Tell map_mem_in_cams() if init is done")
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/d319f2a9367d4d08fd2154e506101bd5f100feeb.1636967119.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/nohash/kaslr_booke.c
arch/powerpc/mm/nohash/tlb.c