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
.gitignore
als.c
boot.h
cmdline.c
ctype.c
ebcdic.c
head_kdump.S
head.S
install.sh
ipl_parm.c
ipl_report.c
ipl_vmparm.c
kaslr.c
machine_kexec_reloc.c
Makefile
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
sclp_early_core.c
startup.c
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
version.c