linux-stable/arch/s390
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
..
appldata s390: include linux/io.h instead of asm/io.h 2023-07-03 11:19:40 +02:00
boot s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
configs s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
crypto s390/paes: fix PKEY_TYPE_EP11_AES handling for secure keyblobs 2023-08-17 15:18:53 +02:00
hypfs s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
include s390: remove "noexec" option 2023-08-30 11:03:27 +02:00
kernel s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
kvm s390 updates for 6.6 merge window 2023-08-28 17:22:39 -07:00
lib s390: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-09 15:20:50 +02:00
mm s390/mm: simplify kernel mapping setup 2023-08-30 11:03:27 +02:00
net s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
pci s390/pci: use builtin_misc_device macro to simplify the code 2023-08-23 14:37:42 +02:00
purgatory s390 updates for 6.5 merge window part 2 2023-07-06 13:18:30 -07:00
tools KVM: s390: Add facility 197 to the allow list 2022-07-13 15:25:25 +02:00
Kbuild s390/hypfs: factor out filesystem code 2023-07-24 12:12:22 +02:00
Kconfig s390/cert_store: select CRYPTO_LIB_SHA256 2023-08-01 08:01:39 +02:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile s390: use obj-y to descend into drivers/s390/ 2023-07-24 12:12:25 +02:00