[GIT PULL] x86/urgent for 5.17{,-rc8}

From: Borislav Petkov
Date: Sun Mar 13 2022 - 06:58:37 EST


Hi Linus,

please pull a couple more urgent x86 fixes for the next kernel tag,
whatever it might be. :)

Thx.

---

The following changes since commit ffb217a13a2eaf6d5bd974fc83036a53ca69f1e2:

Linux 5.17-rc7 (2022-03-06 14:28:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v5.17_rc8

for you to fetch changes up to 08999b2489b4c9b939d7483dbd03702ee4576d96:

x86/sgx: Free backing memory after faulting the enclave page (2022-03-11 10:31:06 -0800)

----------------------------------------------------------------
- Free shmem backing storage for SGX enclave pages when those are
swapped back into EPC memory

- Prevent do_int3() from being kprobed, to avoid recursion

- Remap setup_data and setup_indirect structures properly when accessing
their members

- Correct the alternatives patching order for modules too

----------------------------------------------------------------
Jarkko Sakkinen (1):
x86/sgx: Free backing memory after faulting the enclave page

Li Huafei (1):
x86/traps: Mark do_int3() NOKPROBE_SYMBOL

Peter Zijlstra (1):
x86/module: Fix the paravirt vs alternative order

Ross Philipson (2):
x86/boot: Fix memremap of setup_indirect structures
x86/boot: Add setup_indirect support in early_memremap_is_setup_data()

arch/x86/kernel/cpu/sgx/encl.c | 57 ++++++++++++++++++++++++++-----
arch/x86/kernel/e820.c | 41 ++++++++++++++++------
arch/x86/kernel/kdebugfs.c | 37 +++++++++++++++-----
arch/x86/kernel/ksysfs.c | 77 +++++++++++++++++++++++++++++++++---------
arch/x86/kernel/module.c | 13 ++++---
arch/x86/kernel/setup.c | 34 +++++++++++++++----
arch/x86/kernel/traps.c | 1 +
arch/x86/mm/ioremap.c | 57 +++++++++++++++++++++++++++----
8 files changed, 254 insertions(+), 63 deletions(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Ivo Totev, HRB 36809, AG Nürnberg