diff options
author | Marco Elver <elver@google.com> | 2021-11-30 12:44:30 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-12-09 16:42:28 -0800 |
commit | 0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b (patch) | |
tree | a39c3445f873da1c4cdb40d9f841533bfb024c84 /tools/objtool | |
parent | 6f3f0c98b5665f437a631882653b5baf7dd98448 (diff) | |
download | linux-0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b.tar.gz linux-0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b.tar.bz2 linux-0525bd82f6a9b5860ed3ea53520ac11ebfa09d5b.zip |
objtool, kcsan: Add memory barrier instrumentation to whitelist
Adds KCSAN's memory barrier instrumentation to objtool's uaccess
whitelist.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/objtool')
-rw-r--r-- | tools/objtool/check.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 21735829b860..61dfb66b30b6 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -849,6 +849,10 @@ static const char *uaccess_safe_builtin[] = { "__asan_report_store16_noabort", /* KCSAN */ "__kcsan_check_access", + "__kcsan_mb", + "__kcsan_wmb", + "__kcsan_rmb", + "__kcsan_release", "kcsan_found_watchpoint", "kcsan_setup_watchpoint", "kcsan_check_scoped_accesses", |