Star64_linux/arch/powerpc/mm/book3s32
Michael Ellerman 4a190de2c1 powerpc/vmlinux.lds: Add an explicit symbol for the SRWX boundary
[ Upstream commit b150a4d12b ]

Currently __init_begin is used as the boundary for strict RWX between
executable/read-only text and data, and non-executable (after boot) code
and data.

But that's a little subtle, so add an explicit symbol to document that
the SRWX boundary lies there, and add a comment making it clear that
__init_begin must also begin there.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916131422.318752-2-mpe@ellerman.id.au
Stable-dep-of: 111bcb3738 ("powerpc/64s/radix: Fix RWX mapping with relocated kernel")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:59:32 +08:00
..
hash_low.S powerpc/32s: Rename PTE_SIZE to PTE_T_SIZE 2021-06-17 00:09:10 +10:00
kuap.c powerpc/32s: Fix setup_{kuap/kuep}() on SMP 2021-06-30 22:20:39 +10:00
kuep.c powerpc/32s: Fix setup_{kuap/kuep}() on SMP 2021-06-30 22:20:39 +10:00
Makefile powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c 2021-06-17 00:09:07 +10:00
mmu.c powerpc/vmlinux.lds: Add an explicit symbol for the SRWX boundary 2023-04-19 17:59:32 +08:00
mmu_context.c powerpc/32s: Convert switch_mmu_context() to C 2021-06-17 00:09:08 +10:00
nohash_low.S powerpc/32s: Move _tlbie() and _tlbia() in a new file 2020-12-09 16:46:55 +11:00
tlb.c powerpc/32s: Move early_mmu_init() into mmu.c 2020-12-09 16:46:56 +11:00