kernel_optimize_test/arch/x86
Peter Zijlstra 277f4ddc36 x86: Prepare inline-asm for straight-line-speculation
commit b17c2baa305cccbd16bafa289fd743cc2db77966 upstream.

Replace all ret/retq instructions with ASM_RET in preparation of
making it more than a single instruction.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20211204134907.964635458@infradead.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 5.10: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-25 11:26:29 +02:00
..
boot x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
configs x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs 2022-01-27 10:54:21 +01:00
crypto x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
entry x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
events perf/amd/ibs: Use interrupt regs ip for stack unwinding 2022-06-09 10:21:07 +02:00
hyperv x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails 2021-11-26 10:39:19 +01:00
ia32 x86: remove address space overrides using set_fs() 2020-09-08 22:21:36 -04:00
include x86: Prepare inline-asm for straight-line-speculation 2022-07-25 11:26:29 +02:00
kernel x86: Prepare inline-asm for straight-line-speculation 2022-07-25 11:26:29 +02:00
kvm x86: Prepare inline-asm for straight-line-speculation 2022-07-25 11:26:29 +02:00
lib x86: Prepare inline-asm for straight-line-speculation 2022-07-25 11:26:29 +02:00
math-emu x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
mm x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
net bpf,x86: Respect X86_FEATURE_RETPOLINE* 2022-07-25 11:26:28 +02:00
oprofile
pci x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 2022-05-09 09:05:00 +02:00
platform x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
power x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
purgatory treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
ras
realmode x86/mm: Flush global TLB when switching to trampoline page-table 2022-01-27 10:54:14 +01:00
tools x86/tools: Fix objdump version check again 2021-08-18 08:59:15 +02:00
um x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
video
xen x86: Prepare asm files for straight-line-speculation 2022-07-25 11:26:28 +02:00
.gitignore
Kbuild
Kconfig x86/microcode: Add explicit CPU vendor dependency 2022-06-09 10:20:56 +02:00
Kconfig.assembler
Kconfig.cpu
Kconfig.debug x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() 2020-10-06 11:18:04 +02:00
Makefile x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS) 2021-05-11 14:47:18 +02:00
Makefile_32.cpu
Makefile.um