linux/arch/s390
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
..
appldata
boot s390/boot: remove unused COMPILE_VERSION and ccflags-y 2018-04-16 09:10:24 +02:00
configs s390: rename default_defconfig to debug_defconfig 2018-04-16 10:29:35 +02:00
crypto
hypfs hypfs_kill_super(): deal with failed allocations 2018-04-15 23:48:04 -04:00
include s390: update sampling tag after task pid change 2018-04-23 07:57:17 +02:00
kernel s390: correct module section names for expoline code revert 2018-04-23 07:57:17 +02:00
kvm
lib
mm
net
numa
oprofile
pci
purgatory s390/kexec_file: add generated files to .gitignore 2018-04-16 09:10:23 +02:00
tools
defconfig s390: update defconfig 2018-04-16 10:29:34 +02:00
Kbuild s390/kexec_file: Add purgatory 2018-04-16 09:10:22 +02:00
Kconfig s390: add support for IBM z14 Model ZR1 2018-04-16 09:10:24 +02:00
Kconfig.debug
Makefile