1
0
Fork 0
remarkable-linux/arch/openrisc/include/asm
Levin, Alexander (Sasha Levin) 2abfcdf8e7 kmemcheck: remove annotations
commit 4950276672 upstream.

Patch series "kmemcheck: kill kmemcheck", v2.

As discussed at LSF/MM, kill kmemcheck.

KASan is a replacement that is able to work without the limitation of
kmemcheck (single CPU, slow).  KASan is already upstream.

We are also not aware of any users of kmemcheck (or users who don't
consider KASan as a suitable replacement).

The only objection was that since KASAN wasn't supported by all GCC
versions provided by distros at that time we should hold off for 2
years, and try again.

Now that 2 years have passed, and all distros provide gcc that supports
KASAN, kill kmemcheck again for the very same reasons.

This patch (of 4):

Remove kmemcheck annotations, and calls to kmemcheck from the kernel.

[alexander.levin@verizon.com: correctly remove kmemcheck call from dma_map_sg_attrs]
  Link: http://lkml.kernel.org/r/20171012192151.26531-1-alexander.levin@verizon.com
Link: http://lkml.kernel.org/r/20171007030159.22241-2-alexander.levin@verizon.com
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tim Hansen <devtimhansen@gmail.com>
Cc: Vegard Nossum <vegardno@ifi.uio.no>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-22 15:42:23 +01:00
..
bitops openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
Kbuild openrisc: move generic-y of exported headers to uapi/asm/Kbuild 2017-07-11 21:33:50 +09:00
asm-offsets.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
atomic.h openrisc: add optimized atomic operations 2017-02-25 04:14:06 +09:00
bitops.h openrisc: add atomic bitops 2017-02-25 04:12:38 +09:00
cache.h openrisc: Define __ro_after_init to avoid crash 2016-11-06 08:01:12 -08:00
cmpxchg.h openrisc: xchg: fix `computed is not used` warning 2017-03-16 00:12:56 +09:00
cpuinfo.h openrisc: add cache way information to cpuinfo 2017-02-06 21:50:41 +09:00
delay.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
dma-mapping.h kmemcheck: remove annotations 2018-02-22 15:42:23 +01:00
elf.h default SET_PERSONALITY() in linux/elf.h 2013-02-26 02:46:08 -05:00
fixmap.h openrisc: explicitly include linux/bug.h in asm/fixmap.h 2017-07-08 04:35:17 +09:00
futex.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
io.h asm-generic/io.h: remove asm/cacheflush.h include 2012-10-25 16:06:57 +02:00
irq.h openrisc: Get rid of handle_IRQ 2014-09-03 13:11:02 +00:00
irqflags.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
linkage.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
mmu.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
mmu_context.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
page.h openrisc: drop wrongly typed definition of page_to_virt() 2016-04-22 10:08:34 +01:00
pgalloc.h openrisc: Consolidate setup to use memblock instead of bootmem 2016-12-12 23:10:00 +09:00
pgtable.h openrisc: add forward declaration for struct vm_area_struct 2017-09-11 07:22:05 +09:00
processor.h arch: remove unused macro/function thread_saved_pc() 2017-06-28 16:13:57 -07:00
ptrace.h UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
serial.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spinlock.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr_defs.h openrisc: Fix the bitmask for the unit present register 2017-02-25 04:14:34 +09:00
string.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
syscall.h ARCH: AUDIT: implement syscall_get_arch for all arches 2014-09-23 16:20:10 -04:00
syscalls.h openrisc: switch to use of generic fork and clone 2012-11-28 23:43:40 -05:00
thread_info.h arch: Remove exec_domain from remaining archs 2015-04-12 21:03:30 +02:00
timex.h OpenRISC: Timekeeping 2011-07-22 18:46:32 +02:00
tlb.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
tlbflush.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
uaccess.h kill strlen_user() 2017-05-15 23:40:22 -04:00
unaligned.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00