linux_dsm_epyc7002/arch/s390/kernel
Vasily Gorbik 998f5bbe3d s390/kasan: fix early pgm check handler execution
Currently if early_pgm_check_handler is called it ends up in pgm check
loop. The problem is that early_pgm_check_handler is instrumented by
KASAN but executed without DAT flag enabled which leads to addressing
exception when KASAN checks try to access shadow memory.

Fix that by executing early handlers with DAT flag on under KASAN as
expected.

Reported-and-tested-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2020-06-23 14:05:50 +02:00
..
syscalls vfs: add faccessat2 syscall 2020-05-14 16:44:25 +02:00
vdso64 s390/vdso: fix vDSO clock_getres() 2020-06-16 13:44:05 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
alternative.c
asm-offsets.c s390/vdso: fix vDSO clock_getres() 2020-06-16 13:44:05 +02:00
audit.c
audit.h
base.S
cache.c
compat_audit.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
cpcmd.c
crash_dump.c
debug.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
diag.c s390/ftrace: fix potential crashes when switching tracers 2020-04-22 16:20:55 +02:00
dis.c
dumpstack.c kernel: rename show_stack_loglvl() => show_stack() 2020-06-09 09:39:13 -07:00
early_printk.c
early.c s390/kasan: fix early pgm check handler execution 2020-06-23 14:05:50 +02:00
ebcdic.c
entry.h s390/mm: add (non)secure page access exceptions handlers 2020-02-27 19:44:40 +01:00
entry.S s390: fix system call single stepping 2020-06-23 14:05:45 +02:00
fpu.c
ftrace.c maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2020-06-17 10:57:41 -07:00
guarded_storage.c
head64.S
idle.c s390: remove critical section cleanup from entry.S 2020-05-28 12:21:54 +02:00
ima_arch.c
ipl_vmparm.c
ipl.c s390: use scnprintf() in sys_##_prefix##_##_name##_show 2020-06-16 13:44:05 +02:00
irq.c s390/irq: make init_ext_interrupts static 2020-03-11 14:18:44 +01:00
jump_label.c
kdebugfs.c
kexec_elf.c
kexec_image.c
kprobes.c
lgr.c
machine_kexec_file.c s390/kexec_file: fix initrd location for kdump kernel 2020-05-14 23:21:37 +02:00
machine_kexec_reloc.c s390/kaslr: add support for R_390_JMP_SLOT relocation type 2020-05-20 10:13:27 +02:00
machine_kexec.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
Makefile s390: ptrace: hard-code "s390x" instead of UTS_MACHINE 2020-05-06 14:59:20 +02:00
mcount.S
module.c s390/module: Use s390_kernel_write() for late relocations 2020-05-08 00:12:43 +02:00
nmi.c s390: remove critical section cleanup from entry.S 2020-05-28 12:21:54 +02:00
nospec-branch.c
nospec-sysfs.c
os_info.c
perf_cpum_cf_common.c
perf_cpum_cf_diag.c
perf_cpum_cf_events.c s390/cpum_cf: Add new extended counters for IBM z15 2020-03-10 15:16:25 +01:00
perf_cpum_cf.c
perf_cpum_sf.c s390/cpum_sf: Fix wrong page count in error message 2020-03-25 12:39:37 +01:00
perf_event.c
perf_regs.c
pgm_check.S s390/mm: add (non)secure page access exceptions handlers 2020-02-27 19:44:40 +01:00
process.c s390: prevent leaking kernel address in BEAR 2020-03-10 15:16:25 +01:00
processor.c s390/cpuinfo: do not skip info for CPUs without MHz feature 2020-03-23 13:41:55 +01:00
ptrace.c s390/ptrace: fix setting syscall number 2020-06-16 13:44:04 +02:00
reipl.S
relocate_kernel.S
runtime_instr.c
setup.c s390 updates for the 5.8 merge window 2020-06-08 12:05:31 -07:00
signal.c s390: use fallthrough; 2020-03-25 12:39:37 +01:00
smp.c s390 updates for the 5.8 merge window 2020-06-08 12:05:31 -07:00
stacktrace.c
sthyi.c
sys_s390.c
sysinfo.c
time.c s390/vdso: fix vDSO clock_getres() 2020-06-16 13:44:05 +02:00
topology.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
trace.c s390/ftrace: fix potential crashes when switching tracers 2020-04-22 16:20:55 +02:00
traps.c s390/traps: mark test_monitor_call __init 2020-03-11 14:18:44 +01:00
unwind_bc.c
uprobes.c
uv.c s390/protvirt: use scnprintf() instead of snprintf() 2020-06-16 13:44:05 +02:00
vdso.c mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
vmlinux.lds.S
vtime.c