summaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorArnd Bergmann2018-07-04 02:02:49 +0200
committerLinus Torvalds2018-07-04 02:32:19 +0200
commit5e4e290d3751607726a62f0b49e11261a0a9345e (patch)
tree593f481c81fef22506d9bc94586357f3bfd0e02d /mm/debug.c
parentkasan: fix shadow_size calculation error in kasan_module_alloc (diff)
downloadkernel-qcow2-linux-5e4e290d3751607726a62f0b49e11261a0a9345e.tar.gz
kernel-qcow2-linux-5e4e290d3751607726a62f0b49e11261a0a9345e.tar.xz
kernel-qcow2-linux-5e4e290d3751607726a62f0b49e11261a0a9345e.zip
ARM: disable KCOV for trusted foundations code
The ARM trusted foundations code is currently broken in linux-next when CONFIG_KCOV_INSTRUMENT_ALL is set: /tmp/ccHdQsCI.s: Assembler messages: /tmp/ccHdQsCI.s:37: Error: .err encountered /tmp/ccHdQsCI.s:38: Error: .err encountered /tmp/ccHdQsCI.s:39: Error: .err encountered scripts/Makefile.build:311: recipe for target 'arch/arm/firmware/trusted_foundations.o' failed I could not find a function attribute that lets me disable -fsanitize-coverage=trace-pc for just one function, so this turns it off for the entire file instead. Link: http://lkml.kernel.org/r/20180529103636.1535457-1-arnd@arndb.de Fixes: 758517202bd2e4 ("arm: port KCOV to arm") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Olof Johansson <olof@lixom.net> Tested-by: Olof Johansson <olof@lixom.net> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions