linux-stable/arch/s390
Vasily Gorbik 282da38b46 s390/mm: Consider KMSAN modules metadata for paging levels
The calculation determining whether to use three- or four-level paging
didn't account for KMSAN modules metadata. Include this metadata in the
virtual memory size calculation to ensure correct paging mode selection
and avoiding potentially unnecessary physical memory size limitations.

Fixes: 65ca73f9fb ("s390/mm: define KMSAN metadata for vmalloc and modules")
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2024-12-15 23:35:09 +01:00
..
appldata sysctl: treewide: constify the ctl_table argument of proc_handlers 2024-07-24 20:59:29 +02:00
boot s390/mm: Consider KMSAN modules metadata for paging levels 2024-12-15 23:35:09 +01:00
configs s390 updates for 6.13 merge window 2024-11-18 17:45:41 -08:00
crypto module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
hypfs [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
include more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
kernel s390/ipl: Fix never less than zero warning 2024-12-11 18:05:49 +01:00
kvm more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
lib more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
mm more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
net s390/bpf: Implement exceptions 2024-07-08 16:39:35 +02:00
pci more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
purgatory s390: Fix various typos 2024-10-25 16:03:23 +02:00
tools KVM: s390: add gen17 facilities to CPU model 2024-11-11 12:07:51 +00:00
Kbuild - An extensive rework of kexec and crash Kconfig from Eric DeVolder 2023-08-29 14:53:51 -07:00
Kconfig more s390 updates for 6.13 merge window 2024-11-29 10:40:52 -08:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile s390: use a larger stack for KMSAN 2024-07-03 19:30:24 -07:00
Makefile.postlink s390/build: Avoid relocation information in final vmlinux 2024-08-27 20:16:48 +02:00