Skip to content

Commit a81b375

Browse files
melverpaulmckrcu
authored andcommitted
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) <peterz@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent 14e2ac8 commit a81b375

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎tools/objtool/check.c‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,11 @@ static const char *uaccess_safe_builtin[] = {
528528
"__tsan_write4",
529529
"__tsan_write8",
530530
"__tsan_write16",
531+
"__tsan_read_write1",
532+
"__tsan_read_write2",
533+
"__tsan_read_write4",
534+
"__tsan_read_write8",
535+
"__tsan_read_write16",
531536
"__tsan_atomic8_load",
532537
"__tsan_atomic16_load",
533538
"__tsan_atomic32_load",

0 commit comments

Comments
 (0)