From: Marco Elver Date: Fri, 24 Jul 2020 07:00:02 +0000 (+0200) Subject: objtool, kcsan: Add __tsan_read_write to uaccess whitelist X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a81b37590ff2e2507940ec278910b1d315dc73b3;p=linux.git objtool, kcsan: Add __tsan_read_write to uaccess whitelist Adds the new __tsan_read_write compound instrumentation to objtool's uaccess whitelist. Acked-by: Peter Zijlstra (Intel) Cc: Josh Poimboeuf Signed-off-by: Marco Elver Signed-off-by: Paul E. McKenney --- diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 7546a9d4e3cf3..5eee156f6f903 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -528,6 +528,11 @@ static const char *uaccess_safe_builtin[] = { "__tsan_write4", "__tsan_write8", "__tsan_write16", + "__tsan_read_write1", + "__tsan_read_write2", + "__tsan_read_write4", + "__tsan_read_write8", + "__tsan_read_write16", "__tsan_atomic8_load", "__tsan_atomic16_load", "__tsan_atomic32_load",