kcsan: Introduce kcsan_value_change type
authorMarco Elver <elver@google.com>
Tue, 11 Feb 2020 16:04:21 +0000 (17:04 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 21 Mar 2020 08:44:03 +0000 (09:44 +0100)
commitb738f6169f1260b4ed5bd9f220b1c84d79f3ab8d
treeb15d523664449bf30e59c034e4517eb5e399744d
parentb968a08f242d51982e46041c506115b5e11a7570
kcsan: Introduce kcsan_value_change type

Introduces kcsan_value_change type, which explicitly points out if we
either observed a value-change (TRUE), or we could not observe one but
cannot rule out a value-change happened (MAYBE). The MAYBE state can
either be reported or not, depending on configuration preferences.

A follow-up patch introduces the FALSE state, which should never be
reported.

No functional change intended.

Acked-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/kcsan/core.c
kernel/kcsan/kcsan.h
kernel/kcsan/report.c