Re: [PATCH v2 7/8] locking/atomics, kcsan: Add KCSAN instrumentation

2019-10-22 Thread Marco Elver
On Tue, 22 Oct 2019 at 14:33, Mark Rutland wrote: > > On Thu, Oct 17, 2019 at 04:13:04PM +0200, Marco Elver wrote: > > This adds KCSAN instrumentation to atomic-instrumented.h. > > > > Signed-off-by: Marco Elver > > --- > > v2: > > * Use kcsan_check{,_atomic}_{read,write} instead of > > kcsan_c

Re: [PATCH v2 7/8] locking/atomics, kcsan: Add KCSAN instrumentation

2019-10-22 Thread Mark Rutland
On Thu, Oct 17, 2019 at 04:13:04PM +0200, Marco Elver wrote: > This adds KCSAN instrumentation to atomic-instrumented.h. > > Signed-off-by: Marco Elver > --- > v2: > * Use kcsan_check{,_atomic}_{read,write} instead of > kcsan_check_{access,atomic}. > * Introduce __atomic_check_{read,write} [Sug

[PATCH v2 7/8] locking/atomics, kcsan: Add KCSAN instrumentation

2019-10-17 Thread Marco Elver
This adds KCSAN instrumentation to atomic-instrumented.h. Signed-off-by: Marco Elver --- v2: * Use kcsan_check{,_atomic}_{read,write} instead of kcsan_check_{access,atomic}. * Introduce __atomic_check_{read,write} [Suggested by Mark Rutland]. --- include/asm-generic/atomic-instrumented.h | 393