linux-stable/arch/powerpc/mm/book3s32
Christophe Leroy 2a0fb3c155 powerpc/32: Set an IBAT covering up to _einittext during init
Always set an IBAT covering up to _einittext during init because when
CONFIG_MODULES is not selected there is no reason to have an exception
handler for kernel instruction TLB misses.

It implies DBAT and IBAT are now totaly independent, IBATs are set
by setibat() and DBAT by setbat().

This allows to revert commit 9bb162fa26 ("powerpc/603: Fix
boot failure with DEBUG_PAGEALLOC and KFENCE")

Reported-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ce7f04a39593934d9b1ee68c69144ccd3d4da4a1.1655202804.git.christophe.leroy@csgroup.eu
2022-07-27 21:36:05 +10:00
..
hash_low.S powerpc/32s: Rename PTE_SIZE to PTE_T_SIZE 2021-06-17 00:09:10 +10:00
kuap.c powerpc/32s: Save content of sr0 to avoid 'mfsr' 2021-12-09 22:41:17 +11:00
Makefile powerpc/kuep: Remove 'nosmep' boot time parameter except for book3s/64 2021-12-09 22:41:18 +11:00
mmu.c powerpc/32: Set an IBAT covering up to _einittext during init 2022-07-27 21:36:05 +10:00
mmu_context.c powerpc/32s: Save content of sr0 to avoid 'mfsr' 2021-12-09 22:41:17 +11:00
nohash_low.S powerpc/32s: Move _tlbie() and _tlbia() in a new file 2020-12-09 16:46:55 +11:00
tlb.c powerpc/32s: Move early_mmu_init() into mmu.c 2020-12-09 16:46:56 +11:00