linux_dsm_epyc7002/arch/x86
Denys Vlasenko 14f6e9532d x86/asm/entry/64/compat: Fold the IA32_ARG_FIXUP macro into its callers
Use of a small macro - one with conditional expansion - does
more harm than good. It obfuscates code, with minimal code
reuse.

For example, because of obfuscation it's not obvious that
in 'ia32_sysenter_target', we can optimize loading of r9 -
currently it is loaded with a detour through ebp.

This patch folds the IA32_ARG_FIXUP macro into its callers.

No code changes.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Will Drewry <wad@chromium.org>
Link: http://lkml.kernel.org/r/4da092094cd78734384ac31e0d4ec1d8f69145a2.1424989793.git.luto@amacapital.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-03-04 22:50:52 +01:00
..
boot Linux 4.0-rc2 2015-03-04 06:35:43 +01:00
configs
crypto Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2015-02-14 09:47:01 -08:00
ia32 x86/asm/entry/64/compat: Fold the IA32_ARG_FIXUP macro into its callers 2015-03-04 22:50:52 +01:00
include x86/asm/entry: Do mass removal of 'ARGOFFSET' 2015-03-04 22:50:50 +01:00
kernel x86/asm/entry/64: Clean up and document various entry code details 2015-03-04 22:50:51 +01:00
kvm Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-02-16 14:58:12 -08:00
lguest lguest: update help text. 2015-02-19 14:44:32 +10:30
lib x86/asm: Introduce push/pop macros which generate CFI_REL_OFFSET and CFI_RESTORE 2015-03-04 22:50:49 +01:00
math-emu
mm Linux 4.0-rc2 2015-03-04 06:35:43 +01:00
net
oprofile
pci ACPI and power management updates for v3.20-rc1 2015-02-10 15:09:41 -08:00
platform Merge branch 'linus' into x86/urgent, to merge dependent patch 2015-02-28 08:03:10 +01:00
power
purgatory
realmode Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-02-16 14:58:12 -08:00
syscalls x86/compat: Remove sys32_vm86_warning 2015-03-04 06:16:21 +01:00
tools
um x86/asm: Use alternative_2() in rdtsc_barrier() 2015-02-23 13:44:17 +01:00
vdso x86_64: add KASan support 2015-02-13 21:21:41 -08:00
video
xen x86/xen: Initialize cr4 shadow for 64-bit PV(H) guests 2015-02-23 16:30:26 +00:00
.gitignore
Kbuild
Kconfig Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-02-21 11:12:07 -08:00
Kconfig.cpu
Kconfig.debug x86/intel/quark: Add Isolated Memory Regions for Quark X1000 2015-02-18 23:22:47 +01:00
Makefile
Makefile_32.cpu
Makefile.um