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
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
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
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
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
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
usercopy.c
x86-opcode-map.txt