[GIT PULL] x86/mm for v5.17

From: Borislav Petkov
Date: Mon Jan 10 2022 - 05:58:07 EST


Hi Linus,

please pull the set of x86/mm changes for 5.17.

Thx.

---

The following changes since commit d58071a8a76d779eedab38033ae4c821c30295a5:

Linux 5.16-rc3 (2021-11-28 14:09:19 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_mm_for_v5.17_rc1

for you to fetch changes up to b64dfcde1ca9cb82e38e573753f0c0db8fb841c2:

x86/mm: Prevent early boot triple-faults with instrumentation (2021-12-22 11:51:20 +0100)

----------------------------------------------------------------
- Flush *all* mappings from the TLB after switching to the trampoline
pagetable to prevent any stale entries' presence

- Flush global mappings from the TLB, in addition to the CR3-write,
after switching off of the trampoline_pgd during boot to clear the
identity mappings

- Prevent instrumentation issues resulting from the above changes

----------------------------------------------------------------
Borislav Petkov (1):
x86/mm: Prevent early boot triple-faults with instrumentation

Ingo Molnar (1):
x86/mm: Add missing <asm/cpufeatures.h> dependency to <asm/page_64.h>

Joerg Roedel (3):
x86/realmode: Add comment for Global bit usage in trampoline_pgd
x86/mm/64: Flush global TLB on boot and AP bringup
x86/mm: Flush global TLB when switching to trampoline page-table

Sebastian Andrzej Siewior (1):
x86/mm: Include spinlock_t definition in pgtable.

arch/x86/include/asm/page_64.h | 1 +
arch/x86/include/asm/pgtable.h | 1 +
arch/x86/include/asm/realmode.h | 1 +
arch/x86/include/asm/tlbflush.h | 5 +++++
arch/x86/kernel/cpu/common.c | 2 +-
arch/x86/kernel/head64.c | 14 ++++++++++++++
arch/x86/kernel/head_64.S | 19 ++++++++++++++++++-
arch/x86/kernel/reboot.c | 12 ++----------
arch/x86/mm/init.c | 5 +++++
arch/x86/mm/tlb.c | 8 ++------
arch/x86/realmode/init.c | 26 ++++++++++++++++++++++++++
11 files changed, 76 insertions(+), 18 deletions(-)

--
Regards/Gruss,
Boris.

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