On 5/31/19 6:08 PM, Marco Elver wrote: > This patch is a pre-requisite for enabling KASAN bitops instrumentation; > using static_cpu_has instead of boot_cpu_has avoids instrumentation of > test_bit inside the uaccess region. With instrumentation, the KASAN > check would otherwise be flagged by objtool. > > For consistency, kernel/signal.c was changed to mirror this change, > however, is never instrumented with KASAN (currently unsupported under > x86 32bit). > > Signed-off-by: Marco Elver <el...@google.com> > Suggested-by: H. Peter Anvin <h...@zytor.com> Reviewed-by: Andrey Ryabinin <aryabi...@virtuozzo.com>
- [PATCH v3 0/3] Bitops instrumentation for KASAN Marco Elver
- [PATCH v3 2/3] x86: Use static_cpu_has in uaccess reg... Marco Elver
- Re: [PATCH v3 2/3] x86: Use static_cpu_has in uac... Marco Elver
- Re: [PATCH v3 2/3] x86: Use static_cpu_has in... Dmitry Vyukov
- Re: [PATCH v3 2/3] x86: Use static_cpu_has in uac... Andrey Ryabinin
- Re: [PATCH v3 2/3] x86: Use static_cpu_has in uac... Peter Zijlstra
- [PATCH v3 3/3] asm-generic, x86: Add bitops instrumen... Marco Elver
- Re: [PATCH v3 3/3] asm-generic, x86: Add bitops i... Mark Rutland
- Re: [PATCH v3 3/3] asm-generic, x86: Add bitops i... Andrey Ryabinin
- [PATCH v3 1/3] lib/test_kasan: Add bitops tests Marco Elver
- Re: [PATCH v3 1/3] lib/test_kasan: Add bitops tes... Mark Rutland
- Re: [PATCH v3 1/3] lib/test_kasan: Add bitops tes... Andrey Ryabinin
- Re: [PATCH v3 1/3] lib/test_kasan: Add bitops... Marco Elver