linux-stable/tools/objtool
Marco Elver ef1c199023 objtool, kcsan: Add volatile read/write instrumentation to whitelist
[ Upstream commit 63646fcba5 ]

Adds KCSAN's volatile instrumentation to objtool's uaccess whitelist.

Recent kernel change have shown that this was missing from the uaccess
whitelist (since the first upstreamed version of KCSAN):

  mm/gup.o: warning: objtool: fault_in_readable+0x101: call to __tsan_volatile_write1() with UACCESS enabled

Fixes: 75d75b7a4d ("kcsan: Support distinguishing volatile accesses")
Signed-off-by: Marco Elver <elver@google.com>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:25:36 +01:00
..
arch/x86
Documentation
include/objtool
.gitignore
Build
builtin-check.c
check.c
elf.c
Makefile
objtool.c
orc_dump.c
orc_gen.c
special.c
sync-check.sh
weak.c