forked from luck/tmp_suning_uos_patched
37a88b41dc
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:
|
||
---|---|---|
.. | ||
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 | ||
mem.S | ||
pgm_check_info.c | ||
sclp_early_core.c | ||
startup.c | ||
string.c | ||
text_dma.S | ||
uv.c | ||
version.c |