kmsan-accept-ranges-starting-with-0-on-s390.patch removed from -mm tree
The quilt patch titled
Subject: kmsan: accept ranges starting with 0 on s390
has been removed from the -mm tree. Its filename was
kmsan-accept-ranges-starting-with-0-on-s390.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Ilya Leoshkevich <[email protected]>
Subject: kmsan: accept ranges starting with 0 on s390
Date: Fri, 21 Jun 2024 13:35:05 +0200
On s390 the virtual address 0 is valid (current CPU's lowcore is mapped there), therefore KMSAN should not complain about it.
Disable the respective check on s390. There doesn't seem to be a Kconfig option to describe this situation, so explicitly check for s390.
---
mm/kmsan/init.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
mm/kmsan/init.c renamed from mm/kmsan/init.c~kmsan-accept-ranges-starting-with-0-on-s390 +4 -1
@@ -33,7 +33,10 @@ static void __init kmsan_record_future_sbool merged = false;KMSAN_WARN_ON (future_index ==NUM_FUTURE_RANGES ); -KMSAN_WARN_ON ((nstart >= nend) || !nstart || !nend); +KMSAN_WARN_ON ((nstart >= nend) || +/* Virtual address 0 is valid on s390. */ + (!IS_ENABLED (CONFIG_S390 ) && !nstart) || + !nend); nstart =ALIGN_DOWN (nstart,PAGE_SIZE ); nend =ALIGN (nend,PAGE_SIZE );
_
Patches currently in -mm which might be from [email protected] are