aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2024-12-10 12:35:34 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2024-12-15 23:35:09 +0100
commit282da38b465395c930687974627c24f47ddce5ff (patch)
tree6364fb8f98e65a9aeade18a8b57605eb211eb47e /drivers/platform/x86/intel/pmt/class.c
parent5fa49dd8e521a42379e5e41fcf2c92edaaec0a8b (diff)
downloadlinux-282da38b465395c930687974627c24f47ddce5ff.tar.gz
linux-282da38b465395c930687974627c24f47ddce5ff.tar.bz2
linux-282da38b465395c930687974627c24f47ddce5ff.zip
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: 65ca73f9fb36 ("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>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions