tmp_suning_uos_patched/arch/x86/lib
Peter Zijlstra b24fdd0f1c x86/retbleed: Add fine grained Kconfig knobs
commit f43b9876e857c739d407bc56df288b0ebe1a9164 upstream.

Do fine-grained Kconfig for all the various retbleed parts.

NOTE: if your compiler doesn't support return thunks this will
silently 'upgrade' your mitigation to IBPB, you might not like this.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
[cascardo: there is no CONFIG_OBJTOOL]
[cascardo: objtool calling and option parsing has changed]
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
[bwh: Backported to 5.10:
 - In scripts/Makefile.build, add the objtool option with an ifdef
   block, same as for other options
 - Adjust filename, context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-25 11:26:50 +02:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
atomic64_32.c
atomic64_386_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
atomic64_cx8_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
cache-smp.c
checksum_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
clear_page_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
cmdline.c
cmpxchg8b_emu.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
cmpxchg16b_emu.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
copy_mc_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
copy_mc.c
copy_page_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
copy_user_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
cpu.c
csum-copy_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
csum-partial_64.c
csum-wrappers_64.c
delay.c x86/delay: Fix the wrong asm constraint in delay_loop() 2022-06-09 10:21:00 +02:00
error-inject.c x86: Prepare inline-asm for straight-line-speculation 2022-07-25 11:26:29 +02:00
getuser.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
hweight.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
inat.c x86/insn: Add a __ignore_sync_check__ marker 2022-07-25 11:26:11 +02:00
insn-eval.c x86/insn-eval: Handle return values from the decoder 2022-07-25 11:26:11 +02:00
insn.c x86/insn: Add an insn_decode() API 2022-07-25 11:26:11 +02:00
iomap_copy_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
iomem.c
kaslr.c
Makefile * Extend the recovery from MCE in kernel space also to processes which 2020-10-12 10:14:38 -07:00
memcpy_32.c
memcpy_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
memmove_64.S x86: Use return-thunk in asm code 2022-07-25 11:26:39 +02:00
memset_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
misc.c
mmx_32.c x86/mmx: Use KFPU_387 for MMX string operations 2021-01-27 11:55:13 +01:00
msr-reg-export.c
msr-reg.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
msr-smp.c x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes 2021-05-22 11:40:51 +02:00
msr.c
putuser.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
retpoline.S x86/retbleed: Add fine grained Kconfig knobs 2022-07-25 11:26:50 +02:00
string_32.c
strstr_32.c
usercopy_32.c
usercopy_64.c x86: __memcpy_flushcache: fix wrong alignment if size > 2^32 2022-05-09 09:05:06 +02:00
usercopy.c
x86-opcode-map.txt