summaryrefslogtreecommitdiff
path: root/arch/x86/lib/retpoline.S
AgeCommit message (Expand)AuthorFilesLines
2024-04-17x86/retpolines: Enable the default thunk warning only on relevant configsBorislav Petkov (AMD)1-0/+7
2024-04-06x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunkBorislav Petkov (AMD)1-0/+1
2024-04-03x86/retpoline: Do the necessary fixup to the Zen3/4 srso return thunk for !SRSOBorislav Petkov (AMD)1-1/+4
2024-03-29x86/bugs: Fix the SRSO mitigation on Zen3/4Borislav Petkov (AMD)1-5/+6
2024-02-12x86/retpoline: Ensure default return thunk isn't used at runtimeJosh Poimboeuf1-9/+6
2024-01-10x86/bugs: Rename CONFIG_RETHUNK => CONFIG_MITIGATION_RETHUNKBreno Leitao1-2/+2
2024-01-10x86/bugs: Rename CONFIG_CPU_SRSO => CONFIG_MITIGATION_SRSOBreno Leitao1-5/+5
2024-01-10x86/bugs: Rename CONFIG_CPU_UNRET_ENTRY => CONFIG_MITIGATION_UNRET_ENTRYBreno Leitao1-5/+5
2024-01-10x86/bugs: Rename CONFIG_CALL_DEPTH_TRACKING => CONFIG_MITIGATION_CALL_DEPTH_...Breno Leitao1-3/+3
2023-10-31Merge tag 'x86-headers-2023-10-28' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2023-10-20x86/retpoline: Document some thunk handling aspectsBorislav Petkov (AMD)1-0/+15
2023-10-20x86/calldepth: Rename __x86_return_skl() to call_depth_return_thunk()Josh Poimboeuf1-2/+2
2023-10-20x86/rethunk: Use SYM_CODE_START[_LOCAL]_NOALIGN macrosJosh Poimboeuf1-4/+4
2023-10-20x86/srso: Disentangle rethunk-dependent optionsJosh Poimboeuf1-70/+87
2023-10-20x86/srso: Unexport untraining functionsJosh Poimboeuf1-5/+2
2023-10-20x86/srso: Improve i-cache locality for alias mitigationJosh Poimboeuf1-3/+2
2023-10-03x86/headers: Replace #include <asm/export.h> with #include <linux/export.h>Masahiro Yamada1-1/+1
2023-08-16x86/srso: Explain the untraining sequences a bit moreBorislav Petkov (AMD)1-0/+19
2023-08-16x86/cpu: Cleanup the untrain messPeter Zijlstra1-0/+7
2023-08-16x86/cpu: Rename srso_(.*)_alias to srso_alias_\1Peter Zijlstra1-13/+13
2023-08-16x86/cpu: Rename original retbleed methodsPeter Zijlstra1-15/+15
2023-08-16x86/cpu: Clean up SRSO return thunk messPeter Zijlstra1-16/+42
2023-08-16x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk()Peter Zijlstra1-2/+2
2023-08-16x86/cpu: Fix __x86_return_thunk symbol typePeter Zijlstra1-1/+3
2023-08-14x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANGPetr Pavlu1-4/+4
2023-08-14x86/retpoline: Don't clobber RFLAGS during srso_safe_ret()Sean Christopherson1-4/+3
2023-07-29x86/srso: Add a forgotten NOENDBR annotationBorislav Petkov (AMD)1-0/+1
2023-07-27x86/srso: Add a Speculative RAS Overflow mitigationBorislav Petkov (AMD)1-4/+78
2023-05-17x86/retbleed: Add __x86_return_thunk alignment checksBorislav Petkov (AMD)1-1/+1
2023-05-13x86/retbleed: Fix return thunk alignmentBorislav Petkov (AMD)1-2/+2
2023-03-24x86,objtool: Split UNWIND_HINT_EMPTY in twoJosh Poimboeuf1-3/+3
2022-10-17x86/calldepth: Add ret/call counting for debugThomas Gleixner1-1/+6
2022-10-17x86/retpoline: Add SKL retthunk retpolinesPeter Zijlstra1-8/+63
2022-10-17x86/retbleed: Add SKL return thunkThomas Gleixner1-0/+31
2022-06-29x86/retbleed: Add fine grained Kconfig knobsPeter Zijlstra1-0/+4
2022-06-27x86: Add magic AMD return-thunkPeter Zijlstra1-4/+60
2022-06-27x86/retpoline: Use -mfunction-returnPeter Zijlstra1-0/+13
2022-06-27x86/retpoline: Swizzle retpoline thunkPeter Zijlstra1-3/+3
2022-04-19x86/retpoline: Add ANNOTATE_NOENDBR for retpolinesJosh Poimboeuf1-1/+1
2022-03-15x86/ibt: Annotate text referencesPeter Zijlstra1-0/+1
2022-02-21x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCEPeter Zijlstra (Intel)1-1/+1
2021-12-09x86: Add straight-line-speculation mitigationPeter Zijlstra1-1/+1
2021-12-08x86: Prepare asm files for straight-line-speculationPeter Zijlstra1-1/+1
2021-10-29x86/retpoline: Create a retpoline thunk arrayPeter Zijlstra1-5/+9
2021-10-29x86/asm: Fixup odd GEN-for-each-reg.h usagePeter Zijlstra1-2/+2
2021-10-29x86/retpoline: Remove unused replacement symbolsPeter Zijlstra1-42/+0
2021-06-21objtool/x86: Ignore __x86_indirect_alt_* symbolsPeter Zijlstra1-0/+4
2021-04-02objtool/x86: Rewrite retpoline thunk callsPeter Zijlstra1-1/+40
2021-04-02x86/retpoline: Simplify retpolinesPeter Zijlstra1-17/+17
2021-03-11x86/alternative: Merge include filesJuergen Gross1-1/+1