On Tue, 7 Dec 2021 06:10:05 +0000, Christophe Leroy wrote:
Allthough kernel text is always mapped with BATs, we still have inittext mapped with pages, so TLB miss handling is required when CONFIG_DEBUG_PAGEALLOC or CONFIG_KFENCE is set.
The final solution should be to set a BAT that also maps inittext but that BAT then needs to be cleared at end of init, and it will require more changes to be able to do it properly.
[...]
Applied to powerpc/fixes.
[1/1] powerpc/603: Fix boot failure with DEBUG_PAGEALLOC and KFENCE https://git.kernel.org/powerpc/c/9bb162fa26ed76031ed0e7dbc77ccea0bf977758
cheers