linux/arch/powerpc/mm/ptdump
Christophe Leroy fb7903771c powerpc/32s: Fix segments setup when TASK_SIZE is not a multiple of 256M
For book3s/32 it is assumed that TASK_SIZE is a multiple of 256 Mbytes,
but Kconfig allows any value for TASK_SIZE.

In all relevant calculations, align TASK_SIZE to the upper 256 Mbytes
boundary.

Also use ASM_CONST() in the definition of TASK_SIZE to ensure it is
seen as an unsigned constant.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/8928d906079e156c59794c41e826a684eaaaebb4.1766574657.git.chleroy@kernel.org
2026-01-07 09:31:04 +05:30
..
8xx.c powerpc/ptdump: Dump PXX level info for kernel_page_tables 2025-11-18 12:35:53 +05:30
bats.c powerpc/ptdump: Use DEFINE_SHOW_ATTRIBUTE() 2021-08-25 13:35:48 +10:00
book3s64.c powerpc/ptdump: Dump PXX level info for kernel_page_tables 2025-11-18 12:35:53 +05:30
hashpagetable.c powerpc/64s/ptdump: Fix kernel_hash_pagetable dump for ISA v3.00 HPTE format 2025-11-18 12:35:52 +05:30
Makefile powerpc: Replace CONFIG_4xx with CONFIG_44x 2024-06-28 22:28:48 +10:00
ptdump.c powerpc/ptdump: Dump PXX level info for kernel_page_tables 2025-11-18 12:35:53 +05:30
ptdump.h powerpc/ptdump: Dump PXX level info for kernel_page_tables 2025-11-18 12:35:53 +05:30
segment_regs.c powerpc/32s: Fix segments setup when TASK_SIZE is not a multiple of 256M 2026-01-07 09:31:04 +05:30
shared.c powerpc/ptdump: Dump PXX level info for kernel_page_tables 2025-11-18 12:35:53 +05:30