[<prev] [next>] [day] [month] [year] [list]
Message-ID: <158894559016.8414.6140936071049006343.tip-bot2@tip-bot2>
Date: Fri, 08 May 2020 13:46:30 -0000
From: "tip-bot2 for Marco Elver" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Marco Elver <elver@...gle.com>,
"Paul E. McKenney" <paulmck@...nel.org>, x86 <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: [tip: locking/kcsan] objtool, kcsan: Add kcsan_disable_current() and
kcsan_enable_current_nowarn()
The following commit has been merged into the locking/kcsan branch of tip:
Commit-ID: 50a19ad4b1ec531eb550183cb5d4ab9f25a56bf8
Gitweb: https://git.kernel.org/tip/50a19ad4b1ec531eb550183cb5d4ab9f25a56bf8
Author: Marco Elver <elver@...gle.com>
AuthorDate: Fri, 24 Apr 2020 17:47:30 +02:00
Committer: Paul E. McKenney <paulmck@...nel.org>
CommitterDate: Wed, 06 May 2020 13:47:06 -07:00
objtool, kcsan: Add kcsan_disable_current() and kcsan_enable_current_nowarn()
Both are safe to be called from uaccess contexts.
Signed-off-by: Marco Elver <elver@...gle.com>
Signed-off-by: Paul E. McKenney <paulmck@...nel.org>
---
tools/objtool/check.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/objtool/check.c b/tools/objtool/check.c
index b6a573d..9122c20 100644
--- a/tools/objtool/check.c
+++ b/tools/objtool/check.c
@@ -472,6 +472,8 @@ static const char *uaccess_safe_builtin[] = {
"kcsan_found_watchpoint",
"kcsan_setup_watchpoint",
"kcsan_check_scoped_accesses",
+ "kcsan_disable_current",
+ "kcsan_enable_current_nowarn",
/* KCSAN/TSAN */
"__tsan_func_entry",
"__tsan_func_exit",
Powered by blists - more mailing lists