linux/arch/powerpc/platforms/8xx
Christophe Leroy 1a736d98c8 Revert "powerpc/8xx: Always pin kernel text TLB"
This reverts commit bccc58986a.

When STRICT_KERNEL_RWX is selected, EXEC memory must stop where
RW memory start. When pinning iTLBs it means an 8M alignment for
RW data start. That may be acceptable on boards with a lot of
memory but one of my supported boards only has 32 Mbytes and this
forced alignment leads to a waste of almost 4 Mbytes with is more
than 10% of the total memory.

So revert commit bccc58986a ("powerpc/8xx: Always pin kernel text
TLB") but don't restore previous behaviour in ITLB miss handler
as now kernel PGD entries are copied into each process PGDIR.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/01b6780b860c8043b51a1ba9d83acfc6f2dde910.1724173828.git.christophe.leroy@csgroup.eu
2024-08-30 21:29:52 +10:00
..
adder875.c powerpc updates for 6.6 2023-08-31 12:43:10 -07:00
cpm1-ic.c powerpc/8xx: Use kmalloced data structure instead of global static 2022-05-11 23:06:40 +10:00
cpm1.c powerpc: Untangle fixmap.h and pgtable.h and mmu.h 2023-10-19 17:12:44 +11:00
ep88xc.c powerpc/platforms: Use 'compatible' property for simple cases 2023-03-15 00:52:10 +11:00
Kconfig Revert "powerpc/8xx: Always pin kernel text TLB" 2024-08-30 21:29:52 +10:00
m8xx_setup.c powerpc/8xx: Remove init_internal_rtc() to fix no previous prototype error 2023-08-18 17:03:14 +10:00
machine_check.c powerpc: bad_page_fault get registers from regs 2021-02-09 00:02:09 +11:00
Makefile powerpc/8xx: Move CPM interrupt controller into a dedicated file 2022-05-11 23:06:39 +10:00
micropatch.c
mpc8xx.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
mpc86xads_setup.c powerpc/include: Declare mpc8xx_immr in 8xx_immap.h 2023-08-16 23:54:47 +10:00
mpc86xads.h
mpc885ads_setup.c TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00
mpc885ads.h
pic.c powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
pic.h powerpc/8xx: Remove mpc8xx_pics_init() 2022-05-11 23:06:40 +10:00
tqm8xx_setup.c TTY/Serial driver changes for 6.6-rc1 2023-09-01 09:38:00 -07:00