linux/arch/x86
Peter Zijlstra 3e8ea7803a x86/vmx: Remove .fixup usage
In the vmread exceptin path, use the, thus far, unused output register
to push the @fault argument onto the stack. This, in turn, enables the
exception handler to not do pushes and only modify that register when
an exception does occur.

As noted by Sean the input constraint needs to be changed to "=&r" to
avoid the value and field occupying the same register.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20211110101325.781308550@infradead.org
2021-12-11 09:09:49 +01:00
..
boot x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
configs configs: remove the obsolete CONFIG_INPUT_POLLDEV 2021-09-08 11:50:28 -07:00
crypto x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
entry x86/entry_32: Remove .fixup usage 2021-12-11 09:09:46 +01:00
events x86/perf: Fix snapshot_branch_stack warning in VM 2021-11-17 14:48:43 +01:00
hyperv x86/hyperv: Move required MSRs check to initial platform probing 2021-11-15 12:37:08 +00:00
ia32 audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
include x86/kvm: Remove .fixup usage 2021-12-11 09:09:48 +01:00
kernel x86/fpu: Remove .fixup usage 2021-12-11 09:09:48 +01:00
kvm x86/vmx: Remove .fixup usage 2021-12-11 09:09:49 +01:00
lib x86/extable: Extend extable functionality 2021-12-11 09:09:46 +01:00
math-emu x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
mm x86/msr: Remove .fixup usage 2021-12-11 09:09:47 +01:00
net x86/extable: Extend extable functionality 2021-12-11 09:09:46 +01:00
pci xen: branch for v5.16-rc1 2021-11-10 11:14:21 -08:00
platform x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
power x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
purgatory kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
ras
realmode x86/64/mm: Map all kernel memory into trampoline_pgd 2021-12-03 09:11:43 +01:00
tools Driver core changes for 5.16-rc1 2021-11-04 08:32:38 -07:00
um x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
video
xen x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00
.gitignore
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig x86/mmx_32: Remove X86_USE_3DNOW 2021-12-11 09:09:45 +01:00
Kconfig.assembler
Kconfig.cpu x86/mmx_32: Remove X86_USE_3DNOW 2021-12-11 09:09:45 +01:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Makefile x86: Add straight-line-speculation mitigation 2021-12-09 13:32:25 +01:00
Makefile_32.cpu x86/build: Do not add -falign flags unconditionally for clang 2021-09-19 10:35:53 +09:00
Makefile.um um: allow not setting extra rpaths in the linux binary 2021-06-17 21:54:15 +02:00