powerpc/mm: Allocate static page tables for fixmap
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 19 May 2020 05:48:58 +0000 (05:48 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 26 May 2020 12:22:19 +0000 (22:22 +1000)
commit925ac141d106b55acbe112a9272f970631a3c082
treedd8af6d39c2dc563a235af298b36cb964105f2f2
parent4b19f96a81bceaf0bcf44d79c0855c61158065ec
powerpc/mm: Allocate static page tables for fixmap

Allocate static page tables for the fixmap area. This allows
setting mappings through page tables before memblock is ready.
That's needed to use early_ioremap() early and to use standard
page mappings with fixmap.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/4f4b1412d34de6801b8e925cb88fc69d056ff536.1589866984.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/fixmap.h
arch/powerpc/kernel/setup_32.c
arch/powerpc/mm/pgtable_32.c