linux/arch/s390/kernel
Ilya Leoshkevich f3b7e73b2c s390/module: fix loading modules with a lot of relocations
If the size of the PLT entries generated by apply_rela() exceeds
64KiB, the first ones can no longer reach __jump_r1 with brc. Fix by
using brcl. An alternative solution is to add a __jump_r1 copy after
every 64KiB, however, the space savings are quite small and do not
justify the additional complexity.

Fixes: f19fbd5ed6 ("s390: introduce execute-trampolines for branches")
Cc: stable@vger.kernel.org
Reported-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2022-01-24 09:10:37 +01:00
..
syscalls mm/mempolicy: wire up syscall set_mempolicy_home_node 2022-01-15 16:30:30 +02:00
vdso32 s390/vdso: remove -nostdlib compiler flag 2021-11-16 12:29:19 +01:00
vdso64 s390/vdso: filter out -mstack-guard and -mstack-size 2021-11-16 12:29:19 +01:00
.gitignore
alternative.c s390: introduce text_poke_sync() 2021-10-11 20:55:58 +02:00
asm-offsets.c s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
audit.c audit: add support for the openat2 syscall 2021-10-01 16:52:48 -04:00
audit.h
base.S
cache.c
compat_audit.c audit: add support for the openat2 syscall 2021-10-01 16:52:48 -04:00
compat_linux.c
compat_linux.h
compat_ptrace.h
compat_signal.c
cpcmd.c s390/cpcmd: use physical address for command and response 2021-10-26 15:21:28 +02:00
crash_dump.c s390/crash_dump: fix virtual vs physical address handling 2021-12-20 10:21:55 +01:00
debug.c
diag.c
dis.c s390/disassembler: update opcode table 2021-12-16 19:58:07 +01:00
dumpstack.c exit: Add and use make_task_dead. 2021-12-13 12:04:45 -06:00
early_printk.c
early.c s390: support command lines longer than 896 bytes 2021-10-26 15:21:31 +02:00
ebcdic.c
entry.h s390/boot: allocate amode31 section in decompressor 2021-10-04 09:49:37 +02:00
entry.S s390: add support for BEAR enhancement facility 2021-10-26 15:21:29 +02:00
fpu.c
ftrace.c s390/ftrace: remove preempt_disable()/preempt_enable() pair 2021-12-10 16:12:34 +01:00
ftrace.h
guarded_storage.c
head64.S s390/boot: initialize control registers in decompressor 2021-10-04 09:49:37 +02:00
idle.c
ima_arch.c
ipl_vmparm.c
ipl.c s390/kexec: fix return code handling 2021-11-18 17:25:35 +01:00
irq.c s390/entry: fix duplicate tracking of irq nesting level 2021-12-12 18:52:26 +01:00
jump_label.c s390/jump_label: add __init_or_module annotation 2021-10-11 20:55:58 +02:00
kdebugfs.c
kexec_elf.c
kexec_image.c
kprobes_insn_page.S
kprobes.c s390 updates for the 5.16 merge window 2021-11-06 14:48:06 -07:00
lgr.c
machine_kexec_file.c s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add() 2021-12-10 16:12:34 +01:00
machine_kexec_reloc.c
machine_kexec.c s390/nmi: add missing __pa/__va address conversion of extended save area 2021-12-06 14:42:26 +01:00
Makefile arch: Make ARCH_STACKWALK independent of STACKTRACE 2021-12-10 14:06:03 +00:00
mcount.S s390/ftrace: add HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALL support 2021-10-19 15:39:53 +02:00
module.c s390/module: fix loading modules with a lot of relocations 2022-01-24 09:10:37 +01:00
nmi.c s390/nmi: handle vector validity failures for KVM guests 2022-01-23 10:20:03 +01:00
nospec-branch.c s390: introduce nospec_uses_trampoline() 2021-10-26 15:21:29 +02:00
nospec-sysfs.c s390: introduce nospec_uses_trampoline() 2021-10-26 15:21:29 +02:00
numa.c
os_info.c
perf_cpum_cf_common.c s390/cpumf: Support for CPU Measurement Facility CSVN 7 2022-01-17 14:13:08 +01:00
perf_cpum_cf_events.c s390/cpumf: Support for CPU Measurement Facility CSVN 7 2022-01-17 14:13:08 +01:00
perf_cpum_cf.c s390/cpumf: cpum_cf PMU displays invalid value after hotplug remove 2021-11-08 14:17:49 +01:00
perf_cpum_sf.c s390/cpumf: Support for CPU Measurement Sampling Facility LS bit 2022-01-17 14:13:08 +01:00
perf_event.c
perf_regs.c
process.c s390/exit: remove dead reference to do_exit from copy_thread 2021-12-16 19:58:06 +01:00
processor.c
ptrace.c
reipl.S
relocate_kernel.S
runtime_instr.c
setup.c s390/nmi: disable interrupts on extended save area update 2021-12-16 19:58:07 +01:00
signal.c
smp.c s390/crash_dump: fix virtual vs physical address handling 2021-12-20 10:21:55 +01:00
stacktrace.c kprobes: treewide: Make it harder to refer kretprobe_trampoline directly 2021-09-30 21:24:06 -04:00
sthyi.c
syscall.c s390: add support for BEAR enhancement facility 2021-10-26 15:21:29 +02:00
sysinfo.c
text_amode31.S
time.c
topology.c s390/topology: fix topology information when calling cpu hotplug notifiers 2021-09-07 13:38:41 +02:00
trace.c
traps.c signal: Replace force_fatal_sig with force_exit_sig when in doubt 2021-11-19 09:15:58 -06:00
unwind_bc.c
uprobes.c
uv.c s390/uv: fix memblock virtual vs physical address confusion 2021-12-16 19:58:07 +01:00
vdso.c
vmlinux.lds.S s390/boot: allocate amode31 section in decompressor 2021-10-04 09:49:37 +02:00
vtime.c