Skip to content

x86/entry: KCSAN/KASAN/UBSAN vs noinstr

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8x86, kcsan: Remove __no_kcsan_or_inline usagearch/x86/include/asm/bitops.h+1 -50 replies
2/8kcsan: Remove __no_kcsan_or_inlineDocumentation/dev-tools/kcsan.rst include/linux/compiler_types.h+1 -100 replies
3/8x86, kcsan: Add __no_kcsan to noinstrinclude/linux/compiler_types.h+4 -40 replies
4/8kasan: Bump required compiler versionlib/Kconfig.kasan+4 -00 replies
5/8compiler_types.h: Add __no_sanitize_{address,undefined} to noinstrinclude/linux/compiler-clang.h include/linux/compiler-gcc.h include/linux/compiler_types.h+16 -10 replies
6/8x86/entry, cpumask: Provide non-instrumented variant of cpu_is_offline()arch/x86/include/asm/cpumask.h arch/x86/kernel/cpu/mce/core.c arch/x86/kernel/nmi.c+20 -20 replies
7/8x86/entry, ubsan, objtool: Whitelist __ubsan_handle_*()include/linux/compiler_types.h tools/objtool/check.c+28 -20 replies
8/8x86/entry, bug: Comment the instrumentation_begin() usage for WARN()arch/x86/include/asm/bug.h+6 -00 replies

Reviews trailers per patch

3 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNick DesaulniersAndrey KonovalovMarco ElverMiguel Ojeda
SeriesA-b
1/8
2/8
3/8
4/8R-b A-b
5/8A-b
6/8
7/8A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] x86/entry: KCSAN/KASAN/UBSAN vs noinstr

Hai,

Here's the remaining few patches to make KCSAN/KASAN and UBSAN work with noinstr.