linux/arch/s390/kernel
Martin Schwidefsky 6cf09958f3 s390: correct module section names for expoline code revert
The main linker script vmlinux.lds.S for the kernel image merges
the expoline code patch tables into two section ".nospec_call_table"
and ".nospec_return_table". This is *not* done for the modules,
there the sections retain their original names as generated by gcc:
".s390_indirect_call", ".s390_return_mem" and ".s390_return_reg".

The module_finalize code has to check for the compiler generated
section names, otherwise no code patching is done. This slows down
the module code in case of "spectre_v2=off".

Cc: stable@vger.kernel.org # 4.16
Fixes: f19fbd5ed6 ("s390: introduce execute-trampolines for branches")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-04-23 07:57:17 +02:00
..
syscalls s390/kexec_file: Add kexec_file_load system call 2018-04-16 09:10:22 +02:00
vdso32
vdso64
.gitignore
als.c
alternative.c s390: add automatic detection of the spectre defense 2018-03-28 08:38:24 +02:00
asm-offsets.c s390/kexec_file: Add purgatory 2018-04-16 09:10:22 +02:00
audit.c
audit.h
base.S
cache.c
compat_audit.c
compat_linux.c mm: add ksys_readahead() helper; remove in-kernel calls to sys_readahead() 2018-04-02 20:16:12 +02:00
compat_linux.h
compat_ptrace.h
compat_signal.c s390/compat: fix setup_frame32 2018-04-10 07:38:54 +02:00
compat_wrapper.c s390/kexec_file: Add kexec_file_load system call 2018-04-16 09:10:22 +02:00
cpcmd.c
crash_dump.c
debug.c
diag.c
dis.c
dumpstack.c
early_printk.c
early.c s390/ipl: rely on diag308 store to get ipl info 2018-04-10 07:38:59 +02:00
ebcdic.c
entry.h
entry.S Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2018-04-09 09:04:10 -07:00
fpu.c
ftrace.c
guarded_storage.c
head64.S
head_kdump.S
head.S
idle.c
ipl.c s390/ipl: remove reipl_method and dump_method 2018-04-10 07:39:00 +02:00
irq.c
jump_label.c
kdebugfs.c
kexec_elf.c s390/kexec_file: Add ELF loader 2018-04-16 09:10:23 +02:00
kexec_image.c s390/kexec_file: Add crash support to image loader 2018-04-16 09:10:22 +02:00
kprobes.c
lgr.c
machine_kexec_file.c s390/kexec_file: Add ELF loader 2018-04-16 09:10:23 +02:00
machine_kexec.c s390/ipl: correct kdump reipl block checksum calculation 2018-04-10 07:39:00 +02:00
Makefile s390/kexec_file: Add ELF loader 2018-04-16 09:10:23 +02:00
mcount.S
module.c s390: correct module section names for expoline code revert 2018-04-23 07:57:17 +02:00
nmi.c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
nospec-branch.c s390/nospec: include cpu.h 2018-04-16 09:10:23 +02:00
os_info.c
perf_cpum_cf_events.c s390/cpum_cf: rename IBM z13/z14 counter names 2018-04-23 07:57:17 +02:00
perf_cpum_cf.c
perf_cpum_sf.c
perf_event.c
perf_regs.c
pgm_check.S
process.c s390: update sampling tag after task pid change 2018-04-23 07:57:17 +02:00
processor.c
ptrace.c
reipl.S s390: assume diag308 set always works 2018-04-10 07:38:59 +02:00
relocate_kernel.S s390: assume diag308 set always works 2018-04-10 07:38:59 +02:00
runtime_instr.c
setup.c s390: add support for IBM z14 Model ZR1 2018-04-16 09:10:24 +02:00
signal.c
smp.c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
stacktrace.c
sthyi.c
suspend.c s390: unify linker symbols usage 2018-02-27 08:05:23 +01:00
swsusp.S
sys_s390.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
sysinfo.c
time.c
topology.c
trace.c
traps.c
uprobes.c s390/uprobes: implement arch_uretprobe_is_alive() 2018-04-23 07:57:16 +02:00
vdso.c
vmlinux.lds.S
vtime.c