linux_dsm_epyc7002/arch/x86/entry
Brian Gerst 121b32a58a x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments
For the 32-bit syscall interface, 64-bit arguments (loff_t) are passed via
a pair of 32-bit registers.  These register pairs end up in consecutive stack
slots, which matches the C ABI for 64-bit arguments.  But when accessing the
registers directly from pt_regs, the wrapper needs to manually reassemble the
64-bit value.  These wrappers already exist for 32-bit compat, so make them
available to 32-bit native in preparation for enabling pt_regs-based syscalls.

Signed-off-by: Brian Gerst <brgerst@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Link: https://lkml.kernel.org/r/20200313195144.164260-16-brgerst@gmail.com
2020-03-21 16:03:24 +01:00
..
syscalls x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments 2020-03-21 16:03:24 +01:00
vdso x86/entry: Move max syscall number calculation to syscallhdr.sh 2020-03-21 16:03:21 +01:00
vsyscall y2038: syscall implementation cleanups 2019-12-01 14:00:59 -08:00
calling.h context_tracking: Rename context_tracking_is_enabled() => context_tracking_enabled() 2019-10-29 10:01:12 +01:00
common.c x86/entry/64: Move sys_ni_syscall stub to common.c 2020-03-21 16:03:20 +01:00
entry_32.S x86/entry/64: Trace irqflags unconditionally as ON when returning to user space 2020-03-10 13:56:32 +01:00
entry_64_compat.S x86/asm: Change all ENTRY+ENDPROC to SYM_FUNC_* 2019-10-18 11:58:33 +02:00
entry_64.S x86/entry/64: Trace irqflags unconditionally as ON when returning to user space 2020-03-10 13:56:32 +01:00
Makefile x86/entry/64: Split X32 syscall table into its own file 2020-03-21 16:03:21 +01:00
syscall_32.c x86/entry: Remove ABI prefixes from functions in syscall tables 2020-03-21 16:03:23 +01:00
syscall_64.c x86/entry: Remove ABI prefixes from functions in syscall tables 2020-03-21 16:03:23 +01:00
syscall_x32.c x86/entry: Remove ABI prefixes from functions in syscall tables 2020-03-21 16:03:23 +01:00
thunk_32.S x86/asm/entry: Annotate THUNKs 2019-10-18 09:58:59 +02:00
thunk_64.S x86/asm/entry: Annotate THUNKs 2019-10-18 09:58:59 +02:00