Re: [PATCH v2 3/3] asm-generic, x86: Add bitops instrumentation for KASAN

2019-05-29 Thread Marco Elver
On Wed, 29 May 2019 at 17:33, Mark Rutland wrote: > > On Wed, May 29, 2019 at 04:15:01PM +0200, Marco Elver wrote: > > This adds a new header to asm-generic to allow optionally instrumenting > > architecture-specific asm implementations of bitops. > > > > This change includes the required change f

Re: [PATCH v2 3/3] asm-generic, x86: Add bitops instrumentation for KASAN

2019-05-29 Thread Mark Rutland
On Wed, May 29, 2019 at 04:15:01PM +0200, Marco Elver wrote: > This adds a new header to asm-generic to allow optionally instrumenting > architecture-specific asm implementations of bitops. > > This change includes the required change for x86 as reference and > changes the kernel API doc to point

[PATCH v2 3/3] asm-generic, x86: Add bitops instrumentation for KASAN

2019-05-29 Thread Marco Elver
This adds a new header to asm-generic to allow optionally instrumenting architecture-specific asm implementations of bitops. This change includes the required change for x86 as reference and changes the kernel API doc to point to bitops-instrumented.h instead. Rationale: the functions in x86's bit