[GIT PULL] x86/asm for 5.19

From: Borislav Petkov
Date: Mon May 23 2022 - 08:19:43 EST


Hi Linus,

please pull a set of x86/asm changes for 5.19.

Thx.

---

The following changes since commit 672c0c5173427e6b3e2a9bbb7be51ceeec78093a:

Linux 5.18-rc5 (2022-05-01 13:57:58 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_asm_for_v5.19_rc1

for you to fetch changes up to 036c07c0c3b8a57d5c96e1f2aab62da0056f8f21:

x86/entry: Fix register corruption in compat syscall (2022-05-19 23:46:08 +0200)

----------------------------------------------------------------
- A bunch of changes towards streamlining low level asm helpers' calling
conventions so that former can be converted to C eventually

- Simplify PUSH_AND_CLEAR_REGS so that it can be used at the system call
entry paths instead of having opencoded, slightly different variants of it
everywhere

- Misc other fixes

----------------------------------------------------------------
Josh Poimboeuf (2):
x86/mm: Simplify RESERVE_BRK()
x86/entry: Fix register corruption in compat syscall

Lai Jiangshan (6):
x86/traps: Use pt_regs directly in fixup_bad_iret()
x86/entry: Switch the stack after error_entry() returns
x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()
x86/entry: Move CLD to the start of the idtentry macro
x86/entry: Don't call error_entry() for XENPV
x86/entry: Convert SWAPGS to swapgs and remove the definition of SWAPGS

Linus Torvalds (1):
x86/entry: Simplify entry_INT80_compat()

Peter Zijlstra (4):
x86/entry: Use PUSH_AND_CLEAR_REGS for compat
x86/entry: Remove skip_r11rcx
linkage: Fix issue with missing symbol size
objtool: Fix STACK_FRAME_NON_STANDARD reloc type

arch/x86/entry/calling.h | 19 +++----
arch/x86/entry/entry_64.S | 56 ++++++++++++++-------
arch/x86/entry/entry_64_compat.S | 106 +++++----------------------------------
arch/x86/include/asm/irqflags.h | 8 ---
arch/x86/include/asm/setup.h | 30 ++++-------
arch/x86/include/asm/traps.h | 2 +-
arch/x86/kernel/traps.c | 19 +++----
include/linux/linkage.h | 15 +++---
include/linux/objtool.h | 4 +-
tools/include/linux/objtool.h | 4 +-
10 files changed, 86 insertions(+), 177 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)