Messages in this thread | | | Date | Fri, 22 May 2020 13:35:47 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH -tip v3 00/11] Fix KCSAN for new ONCE (require Clang 11) |
| |
On Thu, May 21, 2020 at 04:20:36PM +0200, Marco Elver wrote: > Arnd Bergmann (1): > ubsan, kcsan: don't combine sanitizer with kcov on clang > > Marco Elver (10): > kcsan: Avoid inserting __tsan_func_entry/exit if possible > kcsan: Support distinguishing volatile accesses > kcsan: Pass option tsan-instrument-read-before-write to Clang > kcsan: Remove 'noinline' from __no_kcsan_or_inline > kcsan: Restrict supported compilers > kcsan: Update Documentation to change supported compilers > READ_ONCE, WRITE_ONCE: Remove data_race() and unnecessary checks > data_race: Avoid nested statement expression > compiler.h: Move function attributes to compiler_types.h > compiler_types.h, kasan: Use __SANITIZE_ADDRESS__ instead of > CONFIG_KASAN to decide inlining > > Documentation/dev-tools/kcsan.rst | 9 +----- > include/linux/compiler.h | 54 ++++--------------------------- > include/linux/compiler_types.h | 32 ++++++++++++++++++ > kernel/kcsan/core.c | 43 ++++++++++++++++++++++++ > lib/Kconfig.kcsan | 20 +++++++++++- > lib/Kconfig.ubsan | 11 +++++++ > scripts/Makefile.kcsan | 15 ++++++++- > 7 files changed, 127 insertions(+), 57 deletions(-)
LTGM
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
| |