linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH kcsan 0/19] KCSAN updates for v5.10
@ 2020-08-31 18:17 Paul E. McKenney
  2020-08-31 18:17 ` [PATCH kcsan 01/19] kcsan: Add support for atomic builtins paulmck
                   ` (18 more replies)
  0 siblings, 19 replies; 23+ messages in thread
From: Paul E. McKenney @ 2020-08-31 18:17 UTC (permalink / raw)
  To: linux-kernel, kasan-dev, kernel-team, mingo
  Cc: elver, andreyknvl, glider, dvyukov, cai, boqun.feng

Hello!

This series provides KCSAN updates:

1.	Add support for atomic builtins.

2.	Add atomic builtin TSAN instrumentation to uaccess whitelist.

3.	Add atomic builtin test case.

4.	Support compounded read-write instrumentation.

5.	objtool, kcsan: Add __tsan_read_write to uaccess whitelist.

6.	Skew delay to be longer for certain access types.

7.	Add missing CONFIG_KCSAN_IGNORE_ATOMICS checks.

8.	Test support for compound instrumentation.

9.	instrumented.h: Introduce read-write instrumentation hooks.

10.	asm-generic/bitops: Use instrument_read_write() where appropriate.

11.	locking/atomics: Use read-write instrumentation for atomic RMWs.

12.	Simplify debugfs counter to name mapping.

13.	Simplify constant string handling.

14.	Remove debugfs test command.

15.	Show message if enabled early.

16.	Use pr_fmt for consistency.

17.	Optimize debugfs stats counters.

18.	bitops, kcsan: Partially revert instrumentation for non-atomic bitops.

19.	Use tracing-safe version of prandom.

						Thanx, Paul

------------------------------------------------------------------------

 include/asm-generic/atomic-instrumented.h            |  330 +++++++++----------
 include/asm-generic/bitops/instrumented-atomic.h     |    6 
 include/asm-generic/bitops/instrumented-lock.h       |    2 
 include/asm-generic/bitops/instrumented-non-atomic.h |   36 +-
 include/linux/instrumented.h                         |   30 +
 include/linux/kcsan-checks.h                         |   45 +-
 kernel/kcsan/core.c                                  |  238 +++++++++++--
 kernel/kcsan/debugfs.c                               |  136 +------
 kernel/kcsan/kcsan-test.c                            |  128 ++++++-
 kernel/kcsan/kcsan.h                                 |   12 
 kernel/kcsan/report.c                                |   10 
 kernel/kcsan/selftest.c                              |    8 
 lib/Kconfig.kcsan                                    |    5 
 scripts/Makefile.kcsan                               |    2 
 scripts/atomic/gen-atomic-instrumented.sh            |   21 -
 tools/objtool/check.c                                |   55 +++
 16 files changed, 697 insertions(+), 367 deletions(-)

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-09-04  1:24 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-31 18:17 [PATCH kcsan 0/19] KCSAN updates for v5.10 Paul E. McKenney
2020-08-31 18:17 ` [PATCH kcsan 01/19] kcsan: Add support for atomic builtins paulmck
2020-08-31 18:17 ` [PATCH kcsan 02/19] objtool: Add atomic builtin TSAN instrumentation to uaccess whitelist paulmck
2020-08-31 18:17 ` [PATCH kcsan 03/19] kcsan: Add atomic builtin test case paulmck
2020-08-31 18:17 ` [PATCH kcsan 04/19] kcsan: Support compounded read-write instrumentation paulmck
2020-08-31 18:17 ` [PATCH kcsan 05/19] objtool, kcsan: Add __tsan_read_write to uaccess whitelist paulmck
2020-08-31 18:17 ` [PATCH kcsan 06/19] kcsan: Skew delay to be longer for certain access types paulmck
2020-08-31 18:17 ` [PATCH kcsan 07/19] kcsan: Add missing CONFIG_KCSAN_IGNORE_ATOMICS checks paulmck
2020-08-31 18:17 ` [PATCH kcsan 08/19] kcsan: Test support for compound instrumentation paulmck
2020-08-31 18:17 ` [PATCH kcsan 09/19] instrumented.h: Introduce read-write instrumentation hooks paulmck
2020-08-31 18:17 ` [PATCH kcsan 10/19] asm-generic/bitops: Use instrument_read_write() where appropriate paulmck
2020-08-31 18:17 ` [PATCH kcsan 11/19] locking/atomics: Use read-write instrumentation for atomic RMWs paulmck
2020-08-31 18:17 ` [PATCH kcsan 12/19] kcsan: Simplify debugfs counter to name mapping paulmck
2020-08-31 18:17 ` [PATCH kcsan 13/19] kcsan: Simplify constant string handling paulmck
2020-08-31 18:18 ` [PATCH kcsan 14/19] kcsan: Remove debugfs test command paulmck
2020-08-31 18:18 ` [PATCH kcsan 15/19] kcsan: Show message if enabled early paulmck
2020-08-31 18:18 ` [PATCH kcsan 16/19] kcsan: Use pr_fmt for consistency paulmck
2020-08-31 18:18 ` [PATCH kcsan 17/19] kcsan: Optimize debugfs stats counters paulmck
2020-08-31 18:18 ` [PATCH kcsan 18/19] bitops, kcsan: Partially revert instrumentation for non-atomic bitops paulmck
2020-09-02  3:30   ` Boqun Feng
2020-09-02  6:13     ` Marco Elver
2020-09-04  1:24       ` Boqun Feng
2020-08-31 18:18 ` [PATCH kcsan 19/19] kcsan: Use tracing-safe version of prandom paulmck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).