-
- Downloads
x86/retbleed: Add fine grained Kconfig knobs
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>
Showing
- arch/x86/Kconfig 85 additions, 26 deletionsarch/x86/Kconfig
- arch/x86/Makefile 6 additions, 2 deletionsarch/x86/Makefile
- arch/x86/entry/calling.h 4 additions, 0 deletionsarch/x86/entry/calling.h
- arch/x86/include/asm/disabled-features.h 14 additions, 4 deletionsarch/x86/include/asm/disabled-features.h
- arch/x86/include/asm/linkage.h 2 additions, 2 deletionsarch/x86/include/asm/linkage.h
- arch/x86/include/asm/nospec-branch.h 8 additions, 2 deletionsarch/x86/include/asm/nospec-branch.h
- arch/x86/include/asm/static_call.h 1 addition, 1 deletionarch/x86/include/asm/static_call.h
- arch/x86/kernel/alternative.c 5 additions, 0 deletionsarch/x86/kernel/alternative.c
- arch/x86/kernel/cpu/amd.c 2 additions, 0 deletionsarch/x86/kernel/cpu/amd.c
- arch/x86/kernel/cpu/bugs.c 27 additions, 15 deletionsarch/x86/kernel/cpu/bugs.c
- arch/x86/kernel/static_call.c 1 addition, 1 deletionarch/x86/kernel/static_call.c
- arch/x86/kvm/emulate.c 2 additions, 2 deletionsarch/x86/kvm/emulate.c
- arch/x86/lib/retpoline.S 4 additions, 0 deletionsarch/x86/lib/retpoline.S
- scripts/Makefile.lib 1 addition, 0 deletionsscripts/Makefile.lib
- scripts/Makefile.vmlinux_o 1 addition, 1 deletionscripts/Makefile.vmlinux_o
- security/Kconfig 0 additions, 11 deletionssecurity/Kconfig
- tools/objtool/builtin-check.c 7 additions, 0 deletionstools/objtool/builtin-check.c
- tools/objtool/check.c 7 additions, 2 deletionstools/objtool/check.c
- tools/objtool/include/objtool/builtin.h 1 addition, 0 deletionstools/objtool/include/objtool/builtin.h
Loading
Please register or sign in to comment