]> git.baikalelectronics.ru Git - kernel.git/commit
s390/kasan: reipl and kexec support
authorVasily Gorbik <gor@linux.ibm.com>
Mon, 20 Nov 2017 11:15:10 +0000 (12:15 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:21:27 +0000 (11:21 +0200)
commitc762852d21a03d828707b5fb597c2cb209ffc447
tree2d326f11ac4da328f8be5391d90ef7ccbfd5b0c7
parent72ead0c107fee1d19bd21cda12dbea25330c11ce
s390/kasan: reipl and kexec support

Some functions from both arch/s390/kernel/ipl.c and
arch/s390/kernel/machine_kexec.c are called without DAT enabled
(or with and without DAT enabled code paths). There is no easy way
to partially disable kasan for those files without a substantial
rework. Disable kasan for both files for now.

To avoid disabling kasan for arch/s390/kernel/diag.c DAT flag is
enabled in diag308 call. pcpu_delegate which disables DAT is marked
with __no_sanitize_address to disable instrumentation for that one
function.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/kernel/Makefile
arch/s390/kernel/ipl.c
arch/s390/kernel/smp.c