tmp_suning_uos_patched/arch/x86/entry
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
..
syscalls
vdso x86: Use return-thunk in asm code 2022-07-25 11:26:39 +02:00
vsyscall x86/vsyscall_emu/64: Don't use RET in vsyscall emulation 2022-07-25 11:26:38 +02:00
calling.h x86/retbleed: Add fine grained Kconfig knobs 2022-07-25 11:26:50 +02:00
common.c
entry_32.S x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n 2022-07-25 11:26:46 +02:00
entry_64_compat.S objtool: Add entry UNRET validation 2022-07-25 11:26:45 +02:00
entry_64.S x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n 2022-07-25 11:26:46 +02:00
entry.S x86/bugs: Add retbleed=ibpb 2022-07-25 11:26:44 +02:00
Makefile x86/bugs: Add retbleed=ibpb 2022-07-25 11:26:44 +02:00
syscall_32.c
syscall_64.c
syscall_x32.c
thunk_32.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
thunk_64.S x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00