linux/arch/powerpc/platforms/8xx
Christophe Leroy fcdafd10a3 powerpc/8xx: Allow large TLBs with DEBUG_PAGEALLOC
DEBUG_PAGEALLOC only manages RW data.

Text and RO data can still be mapped with hugepages and pinned TLB.

In order to map with hugepages, also enforce a 512kB data alignment
minimum. That's a trade-off between size of speed, taking into
account that DEBUG_PAGEALLOC is a debug option. Anyway the alignment
is still tunable.

We also allow tuning of alignment for book3s to limit the complexity
of the test in Kconfig that will anyway disappear in the following
patches once DEBUG_PAGEALLOC is handled together with BATs.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c13256f2d356a316715da61fe089b3623ef217a5.1589866984.git.christophe.leroy@csgroup.eu
2020-05-26 22:22:23 +10:00
..
adder875.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cpm1.c powerpc: Replace setup_irq() by request_irq() 2020-03-25 12:07:57 +11:00
ep88xc.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
Kconfig powerpc/8xx: Allow large TLBs with DEBUG_PAGEALLOC 2020-05-26 22:22:23 +10:00
m8xx_setup.c powerpc: Replace setup_irq() by request_irq() 2020-03-25 12:07:57 +11:00
machine_check.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Makefile powerpc/8xx: move CPM1 related files from sysdev/ to platforms/8xx 2019-07-05 02:06:37 +10:00
micropatch.c powerpc/8xx: Add microcode patch to move SMC parameter RAM. 2019-07-05 02:06:38 +10:00
mpc8xx.h powerpc: Make ppc_md.{halt, restart} __noreturn 2016-07-14 21:12:06 +10:00
mpc86xads_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00
mpc86xads.h
mpc885ads_setup.c powerpc/8xx: Remove RTC clock on 88x 2018-06-04 00:39:18 +10:00
mpc885ads.h
pic.c powerpc/8xx: add __init to cpm1 init functions 2019-11-19 19:38:35 +11:00
pic.h powerpc/8xx: Move mpc8xx_pic.c from sysdev to platform/8xx 2017-08-10 23:32:07 +10:00
tqm8xx_setup.c powerpc: Move 32-bit probe() machine to later in the boot process 2016-07-21 19:06:42 +10:00