powerpc/8xx: Always pin kernel text TLB
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 24 Nov 2020 15:24:55 +0000 (15:24 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Dec 2020 12:47:45 +0000 (23:47 +1100)
commitbccc58986a2f98e3af349c85c5f49aac7fb19ef2
tree10f5e46c8f0d3298cb3fddd58300439b4f0135f3
parent613df979da6c032cbe6fa273fb8ca21af022157e
powerpc/8xx: Always pin kernel text TLB

There is no big poing in not pinning kernel text anymore, as now
we can keep pinned TLB even with things like DEBUG_PAGEALLOC.

Remove CONFIG_PIN_TLB_TEXT, making it always right.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Drop ifdef around mmu_pin_tlb() to fix build errors]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/203b89de491e1379f1677a2685211b7c32adfff0.1606231483.git.christophe.leroy@csgroup.eu
arch/powerpc/Kconfig
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/nohash/8xx.c
arch/powerpc/platforms/8xx/Kconfig