[GIT PULL] Updated x86/urgent for v5.15-rc2
From: Borislav Petkov
Date: Sun Sep 19 2021 - 14:47:16 EST
Hi Linus,
here's the updated x86/urgent set of changes for 5.15-rc2.
Please merge this one instead with the broken patch removed.
Thx.
---
The following changes since commit 8596e589b787732c8346f0482919e83cc9362db1:
Merge tag 'timers-core-2021-08-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2021-08-30 15:31:33 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v5.15_rc2
for you to fetch changes up to 81065b35e2486c024c7aa86caed452e1f01a59d4:
x86/mce: Avoid infinite loop for copy from user recovery (2021-09-14 10:27:03 +0200)
----------------------------------------------------------------
A set of x86 fixes:
- Prevent a infinite loop in the MCE recovery on return to user space,
which was caused by a second MCE queueing work for the same page and
thereby creating a circular work list.
- Make kern_addr_valid() handle existing PMD entries, which are marked not
present in the higher level page table, correctly instead of blindly
dereferencing them.
- Pass a valid address to sanitize_phys(). This was caused by the mixture
of inclusive and exclusive ranges. memtype_reserve() expect 'end' being
exclusive, but sanitize_phys() wants it inclusive. This worked so far,
but with end being the end of the physical address space the fail is
exposed.
- Increase the maximum supported GPIO numbers for 64bit. Newer SoCs exceed
the previous maximum.
----------------------------------------------------------------
Andy Shevchenko (1):
x86/platform: Increase maximum GPIO number for X86_64
Jeff Moyer (1):
x86/pat: Pass valid address to sanitize_phys()
Mike Rapoport (1):
x86/mm: Fix kern_addr_valid() to cope with existing but not present entries
Tony Luck (1):
x86/mce: Avoid infinite loop for copy from user recovery
arch/x86/Kconfig | 5 +++++
arch/x86/kernel/cpu/mce/core.c | 43 +++++++++++++++++++++++++++++++-----------
arch/x86/mm/init_64.c | 6 +++---
arch/x86/mm/pat/memtype.c | 7 ++++++-
include/linux/sched.h | 1 +
5 files changed, 47 insertions(+), 15 deletions(-)
--
Regards/Gruss,
Boris.
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
--