linux/arch/powerpc
Christophe Leroy 34536d7806 powerpc/8xx: Add a function to early map kernel via huge pages
Add a function to early map kernel memory using huge pages.

For 512k pages, just use standard page table and map in using 512k
pages.

For 8M pages, create a hugepd table and populate the two PGD
entries with it.

This function can only be used to create page tables at startup. Once
the regular SLAB allocation functions replace memblock functions,
this function cannot allocate new pages anymore. However it can still
update existing mappings with new protections.

hugepd_none() macro is moved into asm/hugetlb.h to be usable outside
of mm/hugetlbpage.c

early_pte_alloc_kernel() is made visible.

_PAGE_HUGE flag is now displayed by ptdump.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
[mpe: Change ptdump display to use "huge"]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/68325bcd3b6f93127f7810418a2352c3519066d6.1589866984.git.christophe.leroy@csgroup.eu
2020-05-26 22:22:22 +10:00
..
boot powerpc/wrapper: Output linker map file 2020-05-19 00:10:35 +10:00
configs powerpc/8xx: Drop CONFIG_8xx_COPYBACK option 2020-05-26 22:22:20 +10:00
crypto
include powerpc/8xx: Add a function to early map kernel via huge pages 2020-05-26 22:22:22 +10:00
kernel powerpc/8xx: Refactor kernel address boundary comparison 2020-05-26 22:22:22 +10:00
kexec powerpc updates for 5.7 2020-04-05 11:12:59 -07:00
kvm powerpc/watchpoint: Rename current DAWR macros 2020-05-19 00:11:03 +10:00
lib powerpc sstep: Add support for prefixed fixed-point arithmetic 2020-05-19 00:11:03 +10:00
math-emu
mm powerpc/8xx: Add a function to early map kernel via huge pages 2020-05-26 22:22:22 +10:00
net
oprofile
perf powerpc/8xx: Remove now unused TLB miss functions 2020-05-26 22:22:22 +10:00
platforms powerpc/8xx: Add a function to early map kernel via huge pages 2020-05-26 22:22:22 +10:00
purgatory .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
sysdev powerpc/8xx: Don't set IMMR map anymore at boot 2020-05-26 22:22:21 +10:00
tools powerpc/head_check: Avoid broken pipe 2020-05-19 00:10:35 +10:00
xmon powerpc/watchpoint/xmon: Support 2nd DAWR 2020-05-19 00:14:45 +10:00
Kbuild
Kconfig powerpc/mm: Don't be too strict with _etext alignment on PPC32 2020-05-26 22:22:22 +10:00
Kconfig.debug
Makefile powerpc: Suppress .eh_frame generation 2020-04-01 14:30:51 +11:00
Makefile.postlink