linux/arch/s390/kernel
Heiko Carstens 17a363dcd2 s390/traps,mm: add conditional trap handlers
Add conditional trap handlers similar to conditional system calls
(COND_SYSCALL), to reduce the number of ifdefs.

Trap handlers which may or may not exist depending on config options
are supposed to have a COND_TRAP entry, which redirects to
default_trap_handler() for non-existent trap handlers during link
time.

This allows to get rid of the secure execution trap handlers for the
!PGSTE case.

Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-04-12 12:46:42 +02:00
..
syscalls fs: add mount_setattr() 2021-01-24 14:42:45 +01:00
vdso64 s390/vdso: use union tod_clock 2021-02-13 17:17:54 +01:00
.gitignore
alternative.c
asm-offsets.c s390: add stack for machine check handler 2021-02-13 17:17:53 +01:00
audit.c
audit.h
base.S s390: remove unused s390_base_ext_handler 2020-11-09 11:20:58 +01:00
cache.c
compat_audit.c
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c s390: convert to generic entry 2021-01-19 12:29:26 +01:00
cpcmd.c s390/cpcmd: fix inline assembly register clobbering 2021-04-05 11:30:07 +02:00
crash_dump.c elf_prstatus: collect the common part (everything before pr_reg) into a struct 2021-01-06 08:38:29 -05:00
debug.c s390/debug: use union tod_clock 2021-02-13 17:17:54 +01:00
diag.c s390/diag: convert to use DEFINE_SEQ_ATTRIBUTE macro 2020-09-17 14:11:03 +02:00
dis.c s390/dis: get rid of set_fs() usage 2020-09-17 14:11:03 +02:00
dumpstack.c s390/unwind: add machine check handler stack 2021-04-05 11:30:07 +02:00
early_printk.c s390/sclp: remove unused sclp_early_printk_forced 2020-09-21 08:08:44 +02:00
early.c s390/time: convert tod_clock_base to union 2021-02-13 17:17:54 +01:00
ebcdic.c
entry.h s390/traps,mm: add conditional trap handlers 2021-04-12 12:46:42 +02:00
entry.S s390/entry: save the caller of psw_idle 2021-04-12 12:44:31 +02:00
fpu.c s390: convert to generic entry 2021-01-19 12:29:26 +01:00
ftrace.c Tracing updates for 5.11 2020-12-17 13:22:17 -08:00
guarded_storage.c
head64.S s390/early: rewrite program parameter setup in C 2020-11-09 11:21:00 +01:00
idle.c s390/time,idle: get rid of unsigned long long 2021-03-08 10:46:27 +01:00
ima_arch.c
ipl_vmparm.c
ipl.c s390/delay: remove udelay_simple() 2020-12-16 14:55:49 +01:00
irq.c s390/irq: fix reading of ext_params2 field from lowcore 2021-04-05 11:30:07 +02:00
jump_label.c
kdebugfs.c
kexec_elf.c
kexec_image.c
kprobes_insn_page.S s390/kprobes: move insn_page to text segment 2020-10-09 23:45:30 +02:00
kprobes.c s390 updates for the 5.10 merge window 2020-10-16 12:36:38 -07:00
lgr.c s390: convert to msecs_to_jiffies() 2020-06-29 16:31:46 +02:00
machine_kexec_file.c
machine_kexec_reloc.c
machine_kexec.c mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
Makefile s390/traps: convert pgm_check.S to C 2021-04-12 12:46:41 +02:00
mcount.S s390/ftrace: assume -mhotpatch or -mrecord-mcount always available 2020-11-20 19:19:11 +01:00
module.c
nmi.c s390: convert to generic entry 2021-01-19 12:29:26 +01:00
nospec-branch.c
nospec-sysfs.c
numa.c s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
os_info.c s390/kernel: fix a typo 2021-03-22 11:36:05 +01:00
perf_cpum_cf_common.c
perf_cpum_cf_diag.c s390/cpumf: disable preemption when accessing per-cpu variable 2021-03-15 19:09:25 +01:00
perf_cpum_cf_events.c s390/cpum_cf,perf: change DFLT_CCERROR counter name 2020-07-21 13:53:56 +02:00
perf_cpum_cf.c s390/cpumf: remove unneeded semicolon 2021-03-08 10:46:29 +01:00
perf_cpum_sf.c s390/time: convert tod_clock_base to union 2021-02-13 17:17:54 +01:00
perf_event.c
perf_regs.c perf/arch: Remove perf_sample_data::regs_user_copy 2020-11-09 18:12:34 +01:00
process.c arch: setup PF_IO_WORKER threads like PF_KTHREAD 2021-02-21 17:25:22 -07:00
processor.c
ptrace.c s390: convert to generic entry 2021-01-19 12:29:26 +01:00
reipl.S
relocate_kernel.S
runtime_instr.c s390/runtime_instrumentation: fix storage key handling 2020-08-17 13:17:10 +02:00
setup.c s390/setup: use memblock_free_late() to free old stack 2021-04-07 14:37:28 +02:00
signal.c s390: add missing include to arch/s390/kernel/signal.c 2021-01-27 13:00:47 +01:00
smp.c s390/smp: implement arch_irq_work_raise() 2021-02-24 00:31:22 +01:00
stacktrace.c stacktrace: Remove reliable argument from arch_stack_walk() callback 2020-09-18 14:24:16 +01:00
sthyi.c
syscall.c s390: pass struct pt_regs instead of registers to syscalls 2021-01-19 12:29:27 +01:00
sysinfo.c
time.c s390/vdso: fix initializing and updating of vdso_data 2021-03-25 21:57:26 +01:00
topology.c s390/topology: remove always false if check 2021-03-08 10:46:27 +01:00
trace.c
traps.c s390/traps,mm: add conditional trap handlers 2021-04-12 12:46:42 +02:00
unwind_bc.c
uprobes.c s390: convert to generic entry 2021-01-19 12:29:26 +01:00
uv.c s390/protvirt: fix error return code in uv_info_init() 2021-04-12 12:46:41 +02:00
vdso.c s390/vdso: on timens page fault prefault also VVAR page 2021-02-09 15:57:05 +01:00
vmlinux.lds.S s390/mm: use invalid asce instead of kernel asce 2020-11-23 12:01:12 +01:00
vtime.c s390/vtime: fix increased steal time accounting 2021-03-15 19:09:25 +01:00