kernel_optimize_test/arch/s390/boot
Alexander Egorenkov 37a88b41dc s390/boot: fix use of expolines in the DMA code
commit 463f36c76fa4ec015c640ff63ccf52e7527abee0 upstream.

The DMA code section of the decompressor must be compiled with expolines
if Spectre V2 mitigation has been enabled for the decompressed kernel.
This is required because although the decompressor's image contains
the DMA code section, it is handed over to the decompressed kernel for use.

Because the DMA code is already slow w/o expolines, use expolines always
regardless whether the decompressed kernel is using them or not. This
simplifies the DMA code by dropping the conditional compilation of
expolines.

Fixes: bf72630130 ("s390: use proper expoline sections for .dma code")
Cc: <stable@vger.kernel.org> # 5.2
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-07-28 14:35:42 +02:00
..
compressed s390/boot: enable .bss section for compressed kernel 2020-09-16 14:08:47 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
als.c
boot.h
cmdline.c
ctype.c
ebcdic.c
head_kdump.S
head.S s390/startup: avoid save_area_sync overflow 2020-09-29 15:00:59 +02:00
install.sh s390/arch: install kernels with their proper version ID 2020-02-19 17:27:24 +01:00
ipl_parm.c s390/ipl_parm: fix program check new psw handling 2021-07-20 16:05:44 +02:00
ipl_report.c
ipl_vmparm.c
kaslr.c s390/kaslr: correct and explain randomization base generation 2020-09-29 15:00:58 +02:00
machine_kexec_reloc.c
Makefile s390/boot: enable .bss section for compressed kernel 2020-09-16 14:08:47 +02:00
mem_detect.c s390/mem_detect: fix tprot() program check new psw handling 2021-07-20 16:05:44 +02:00
mem.S
pgm_check_info.c s390/startup: correct early pgm check info formatting 2020-10-02 14:40:49 +02:00
sclp_early_core.c
startup.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
string.c
text_dma.S s390/boot: fix use of expolines in the DMA code 2021-07-28 14:35:42 +02:00
uv.c s390: mm: Fix secure storage access exception handling 2021-07-14 16:55:43 +02:00
version.c