projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3f0c9
)
objtool, kcsan: Add memory barrier instrumentation to whitelist
author
Marco Elver
<elver@google.com>
Tue, 30 Nov 2021 11:44:30 +0000
(12:44 +0100)
committer
Paul E. McKenney
<paulmck@kernel.org>
Fri, 10 Dec 2021 00:42:28 +0000
(16:42 -0800)
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>
tools/objtool/check.c
patch
|
blob
|
history
diff --git
a/tools/objtool/check.c
b/tools/objtool/check.c
index
2173582
..
61dfb66
100644
(file)
--- 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",