projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f59a3ee
)
x86/purgatory: disable KMSAN instrumentation
author
Alexander Potapenko
<glider@google.com>
Mon, 24 Oct 2022 21:21:41 +0000
(23:21 +0200)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 28 Oct 2022 20:37:23 +0000
(13:37 -0700)
The stand-alone purgatory.ro does not contain the KMSAN runtime, therefore
it can't be built with KMSAN compiler instrumentation.
Link:
https://lkml.kernel.org/r/20221024212144.2852069-2-glider@google.com
Link:
https://github.com/google/kmsan/issues/89
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/purgatory/Makefile
patch
|
blob
|
history
diff --git
a/arch/x86/purgatory/Makefile
b/arch/x86/purgatory/Makefile
index 58a200dc762d6da78808d9974aa3914186bc7def..17f09dc263811ab18f949af7303189263763a0e5 100644
(file)
--- a/
arch/x86/purgatory/Makefile
+++ b/
arch/x86/purgatory/Makefile
@@
-26,6
+26,7
@@
GCOV_PROFILE := n
KASAN_SANITIZE := n
UBSAN_SANITIZE := n
KCSAN_SANITIZE := n
+KMSAN_SANITIZE := n
KCOV_INSTRUMENT := n
# These are adjustments to the compiler flags used for objects that