linux-stable/arch/s390/boot
Heiko Carstens c0f1d47812 s390/mm: simplify kernel mapping setup
The kernel mapping is setup in two stages: in the decompressor map all
pages with RWX permissions, and within the kernel change all mappings to
their final permissions, where most of the mappings are changed from RWX to
RWNX.

Change this and map all pages RWNX from the beginning, however without
enabling noexec via control register modification. This means that
effectively all pages are used with RWX permissions like before. When the
final permissions have been applied to the kernel mapping enable noexec via
control register modification.

This allows to remove quite a bit of non-obvious code.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-08-30 11:03:27 +02:00
..
.gitignore
als.c
boot.h s390/kaslr: generalize and improve random base distribution 2023-04-13 17:36:27 +02:00
clz_ctz.c
cmdline.c
ctype.c
decompressor.c
decompressor.h
ebcdic.c
head.S s390: fix various typos 2023-07-03 11:19:42 +02:00
head_kdump.S s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
install.sh s390/boot: improve install.sh script 2023-04-13 17:36:28 +02:00
ipl_data.c
ipl_parm.c s390: remove "noexec" option 2023-08-30 11:03:27 +02:00
ipl_report.c s390/boot: rework decompressor reserved tracking 2023-03-20 11:02:50 +01:00
ipl_vmparm.c
kaslr.c s390/kaslr: generalize and improve random base distribution 2023-04-13 17:36:27 +02:00
machine_kexec_reloc.c
Makefile s390/boot: rename mem_detect to physmem_info 2023-03-20 11:02:50 +01:00
mem.S
pgm_check_info.c s390/kaslr: provide kaslr_enabled() function 2023-04-13 17:36:25 +02:00
physmem_info.c s390/kaslr: generalize and improve random base distribution 2023-04-13 17:36:27 +02:00
sclp_early_core.c
startup.c s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
string.c
uv.c s390/uv: Update query for secret-UVCs 2023-06-16 11:08:09 +02:00
uv.h
version.c
vmem.c s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
vmlinux.lds.S s390/boot: rework decompressor reserved tracking 2023-03-20 11:02:50 +01:00