Skip to contentSkip to conversation

x86/asm changes for v5.14

GIT PULL Merged Ingo Molnar 2 participants 2 messages Jun 28, 2021

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86/asm git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-2021-06-28

# HEAD: 41f45fb045bcc20e71eb705b361356e715682162 x86/asm: Make <asm/asm.h> valid on cross-builds as well

Changes for this cycle:

- Micro-optimize and standardize the do_syscall_64() calling convention
- Make syscall entry flags clearing more conservative
- Clean up syscall table handling
- Clean up & standardize assembly macros, in preparation of FRED
- Misc cleanups and fixes

Thanks,

Ingo

------------------>
H. Peter Anvin (1):
x86/regs: Syscall_get_nr() returns -1 for a non-system call

H. Peter Anvin (Intel) (8):
x86/asm: Have the __ASM_FORM macros handle commas in arguments x86/asm: Add _ASM_BYTES() macro for a .byte ... opcode sequence x86/asm: Use _ASM_BYTES() in <asm/nops.h>
x86/entry: Unify definitions from <asm/calling.h> and <asm/ptrace-abi.h> x86/entry: Reverse arguments to do_syscall_64() x86/syscall: Unconditionally prototype {ia32,x32}_sys_call_table[] x86/syscall: Maximize MSR_SYSCALL_MASK
x86/entry: Split PUSH_AND_CLEAR_REGS into two submacros

Ingo Molnar (1):
x86/asm: Make <asm/asm.h> valid on cross-builds as well

 arch/x86/entry/calling.h          |  45 ++-------
 arch/x86/entry/common.c           |   2 +-
 arch/x86/entry/entry_64.S         |   4 +-
 arch/x86/include/asm/asm.h        |  27 +++---
 arch/x86/include/asm/nops.h       |  24 ++---
 arch/x86/include/asm/syscall.h    |  13 ++-
 arch/x86/kernel/cpu/common.c      |  12 ++-
 arch/x86/kernel/head_64.S         |   6 +-
 arch/x86/kernel/ptrace.c          |   2 +-
 arch/x86/kernel/signal.c          |   4 +-
 tools/arch/x86/include/asm/asm.h  | 193 ++++++++++++++++++++++++++++++++++++++
 tools/arch/x86/include/asm/nops.h |  24 ++---
 12 files changed, 262 insertions(+), 94 deletions(-)
 create mode 100644 tools/arch/x86/include/asm/asm.h