<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>e75a6988 - kmsan: disable ftrace in kmsan core code</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/mm/kmsan/Makefile#e75a6988</link>
        <description>kmsan: disable ftrace in kmsan core codeobjtool warns about some suspicous code inside of kmsan:vmlinux.o: warning: objtool: __msan_metadata_ptr_for_load_n+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_store_n+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_load_1+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_store_1+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_load_2+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_store_2+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_load_4+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_store_4+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_load_8+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_metadata_ptr_for_store_8+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_instrument_asm_store+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_chain_origin+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_poison_alloca+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_warning+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: __msan_get_context_state+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: kmsan_copy_to_user+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: kmsan_unpoison_memory+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: kmsan_unpoison_entry_regs+0x4: call to __fentry__() with UACCESS enabledvmlinux.o: warning: objtool: kmsan_report+0x4: call to __fentry__() with UACCESS enabledThe Makefile contained a line to turn off ftrace for the entire directory,but this does not work. Replace it with individual lines, matching theapproach in kasan.Link: https://lkml.kernel.org/r/20230215130058.3836177-3-arnd@kernel.orgSigned-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;Fixes: f80be4571b19 (&quot;kmsan: add KMSAN runtime core&quot;)Acked-by: Alexander Potapenko &lt;glider@google.com&gt;Cc: Andrey Konovalov &lt;andreyknvl@gmail.com&gt;Cc: Andrey Ryabinin &lt;ryabinin.a.a@gmail.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Josh Poimboeuf &lt;jpoimboe@kernel.org&gt;Cc: Kuan-Ying Lee &lt;Kuan-Ying.Lee@mediatek.com&gt;Cc: Marco Elver &lt;elver@google.com&gt;Cc: Peter Zijlstra (Intel) &lt;peterz@infradead.org&gt;Cc: Vincenzo Frascino &lt;vincenzo.frascino@arm.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/mm/kmsan/Makefile</description>
        <pubDate>Wed, 15 Feb 2023 13:00:57 +0000</pubDate>
        <dc:creator>Arnd Bergmann &lt;arnd@arndb.de&gt;</dc:creator>
    </item>
<item>
        <title>8ed691b0 - kmsan: add tests for KMSAN</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/mm/kmsan/Makefile#8ed691b0</link>
        <description>kmsan: add tests for KMSANThe testing module triggers KMSAN warnings in different cases and checksthat the errors are properly reported, using console probes to capture thetool&apos;s output.Link: https://lkml.kernel.org/r/20220915150417.722975-25-glider@google.comSigned-off-by: Alexander Potapenko &lt;glider@google.com&gt;Cc: Alexander Viro &lt;viro@zeniv.linux.org.uk&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Andrey Konovalov &lt;andreyknvl@gmail.com&gt;Cc: Andrey Konovalov &lt;andreyknvl@google.com&gt;Cc: Andy Lutomirski &lt;luto@kernel.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Christoph Hellwig &lt;hch@lst.de&gt;Cc: Christoph Lameter &lt;cl@linux.com&gt;Cc: David Rientjes &lt;rientjes@google.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Eric Biggers &lt;ebiggers@google.com&gt;Cc: Eric Biggers &lt;ebiggers@kernel.org&gt;Cc: Eric Dumazet &lt;edumazet@google.com&gt;Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;Cc: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jens Axboe &lt;axboe@kernel.dk&gt;Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.com&gt;Cc: Kees Cook &lt;keescook@chromium.org&gt;Cc: Marco Elver &lt;elver@google.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Matthew Wilcox &lt;willy@infradead.org&gt;Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;Cc: Pekka Enberg &lt;penberg@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Cc: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/mm/kmsan/Makefile</description>
        <pubDate>Thu, 15 Sep 2022 15:03:58 +0000</pubDate>
        <dc:creator>Alexander Potapenko &lt;glider@google.com&gt;</dc:creator>
    </item>
<item>
        <title>3c206509 - init: kmsan: call KMSAN initialization routines</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/mm/kmsan/Makefile#3c206509</link>
        <description>init: kmsan: call KMSAN initialization routineskmsan_init_shadow() scans the mappings created at boot time and createsmetadata pages for those mappings.When the memblock allocator returns pages to pagealloc, we reserve 2/3 ofthose pages and use them as metadata for the remaining 1/3.  Once KMSANstarts, every page allocated by pagealloc has its associated shadow andorigin pages.kmsan_initialize() initializes the bookkeeping for init_task and enablesKMSAN.Link: https://lkml.kernel.org/r/20220915150417.722975-18-glider@google.comSigned-off-by: Alexander Potapenko &lt;glider@google.com&gt;Cc: Alexander Viro &lt;viro@zeniv.linux.org.uk&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Andrey Konovalov &lt;andreyknvl@gmail.com&gt;Cc: Andrey Konovalov &lt;andreyknvl@google.com&gt;Cc: Andy Lutomirski &lt;luto@kernel.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Christoph Hellwig &lt;hch@lst.de&gt;Cc: Christoph Lameter &lt;cl@linux.com&gt;Cc: David Rientjes &lt;rientjes@google.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Eric Biggers &lt;ebiggers@google.com&gt;Cc: Eric Biggers &lt;ebiggers@kernel.org&gt;Cc: Eric Dumazet &lt;edumazet@google.com&gt;Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;Cc: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jens Axboe &lt;axboe@kernel.dk&gt;Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.com&gt;Cc: Kees Cook &lt;keescook@chromium.org&gt;Cc: Marco Elver &lt;elver@google.com&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Matthew Wilcox &lt;willy@infradead.org&gt;Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;Cc: Pekka Enberg &lt;penberg@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Cc: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/mm/kmsan/Makefile</description>
        <pubDate>Thu, 15 Sep 2022 15:03:51 +0000</pubDate>
        <dc:creator>Alexander Potapenko &lt;glider@google.com&gt;</dc:creator>
    </item>
<item>
        <title>f80be457 - kmsan: add KMSAN runtime core</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/mm/kmsan/Makefile#f80be457</link>
        <description>kmsan: add KMSAN runtime coreFor each memory location KernelMemorySanitizer maintains two types ofmetadata:1. The so-called shadow of that location - &#1072; byte:byte mapping describing   whether or not individual bits of memory are initialized (shadow is 0)   or not (shadow is 1).2. The origins of that location - &#1072; 4-byte:4-byte mapping containing   4-byte IDs of the stack traces where uninitialized values were   created.Each struct page now contains pointers to two struct pages holding KMSANmetadata (shadow and origins) for the original struct page.  Utilityroutines in mm/kmsan/core.c and mm/kmsan/shadow.c handle the metadatacreation, addressing, copying and checking.  mm/kmsan/report.c performserror reporting in the cases an uninitialized value is used in a way thatleads to undefined behavior.KMSAN compiler instrumentation is responsible for tracking the metadataalong with the kernel memory.  mm/kmsan/instrumentation.c provides theimplementation for instrumentation hooks that are called from filescompiled with -fsanitize=kernel-memory.To aid parameter passing (also done at instrumentation level), eachtask_struct now contains a struct kmsan_task_state used to track themetadata of function parameters and return values for that task.Finally, this patch provides CONFIG_KMSAN that enables KMSAN, and declaresCFLAGS_KMSAN, which are applied to files compiled with KMSAN.  TheKMSAN_SANITIZE:=n Makefile directive can be used to completely disableKMSAN instrumentation for certain files.Similarly, KMSAN_ENABLE_CHECKS:=n disables KMSAN checks and makes newlycreated stack memory initialized.Users can also use functions from include/linux/kmsan-checks.h to markcertain memory regions as uninitialized or initialized (this is called&quot;poisoning&quot; and &quot;unpoisoning&quot;) or check that a particular region isinitialized.Link: https://lkml.kernel.org/r/20220915150417.722975-12-glider@google.comSigned-off-by: Alexander Potapenko &lt;glider@google.com&gt;Acked-by: Marco Elver &lt;elver@google.com&gt;Cc: Alexander Viro &lt;viro@zeniv.linux.org.uk&gt;Cc: Alexei Starovoitov &lt;ast@kernel.org&gt;Cc: Andrey Konovalov &lt;andreyknvl@gmail.com&gt;Cc: Andrey Konovalov &lt;andreyknvl@google.com&gt;Cc: Andy Lutomirski &lt;luto@kernel.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Christoph Hellwig &lt;hch@lst.de&gt;Cc: Christoph Lameter &lt;cl@linux.com&gt;Cc: David Rientjes &lt;rientjes@google.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Eric Biggers &lt;ebiggers@google.com&gt;Cc: Eric Biggers &lt;ebiggers@kernel.org&gt;Cc: Eric Dumazet &lt;edumazet@google.com&gt;Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Cc: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;Cc: Ilya Leoshkevich &lt;iii@linux.ibm.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Jens Axboe &lt;axboe@kernel.dk&gt;Cc: Joonsoo Kim &lt;iamjoonsoo.kim@lge.com&gt;Cc: Kees Cook &lt;keescook@chromium.org&gt;Cc: Mark Rutland &lt;mark.rutland@arm.com&gt;Cc: Matthew Wilcox &lt;willy@infradead.org&gt;Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;Cc: Pekka Enberg &lt;penberg@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Vasily Gorbik &lt;gor@linux.ibm.com&gt;Cc: Vegard Nossum &lt;vegard.nossum@oracle.com&gt;Cc: Vlastimil Babka &lt;vbabka@suse.cz&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;

            List of files:
            /linux-6.15/mm/kmsan/Makefile</description>
        <pubDate>Thu, 15 Sep 2022 15:03:45 +0000</pubDate>
        <dc:creator>Alexander Potapenko &lt;glider@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
