x86 fixes
Subsystems (3)
Linus,
Please pull the latest x86-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus
# HEAD: 20e55bc17dd01f13cec0eb17e76e9511b23963ef x86/mm: Make set_pmd_at() paravirt aware
A handful of fixes:
- Fix an MCE corner case bug/crash found via MCE injection testing
- Fix 5-level paging boot crash
- Fix MCE recovery cache invalidation bug
- Fix regression on Xen guests caused by a recent PMD level mremap speedup optimization
Thanks,
Ingo
------------------>
Juergen Gross (1):
x86/mm: Make set_pmd_at() paravirt aware
Kirill A. Shutemov (1):
x86/boot/compressed/64: Do not corrupt EDX on EFER.LME=1 setting
Peter Zijlstra (1):
x86/mm/cpa: Fix set_mce_nospec()
Tony Luck (1):
x86/MCE: Initialize mce.bank in the case of a fatal error in mce_no_way_out()
arch/x86/boot/compressed/head_64.S | 2 ++ arch/x86/include/asm/pgtable.h | 2 +- arch/x86/kernel/cpu/mce/core.c | 1 + arch/x86/mm/pageattr.c | 50 +++++++++++++++++++------------------- 4 files changed, 29 insertions(+), 26 deletions(-)
arch/x86/boot/compressed/head_64.S +2 -0
@@ -602,10 +602,12 @@ ENTRY(trampoline_32bit_src) 3: /* Set EFER.LME=1 as a precaution in case hypervsior pulls the rug */ pushl %ecx + pushl %edx movl $MSR_EFER, %ecx rdmsr btsl $_EFER_LME, %eax wrmsr + popl %edx popl %ecx /* Enable PAE and LA57 (if required) paging modes */
arch/x86/include/asm/pgtable.h +1 -1
@@ -1065,7 +1065,7 @@ static inline void native_set_pte_at(struct mm_struct *mm, unsigned long addr,static inline void set_pmd_at (struct mm_struct *mm,unsigned long addr,pmd_t *pmdp,pmd_t pmd) { -native_set_pmd (pmdp, pmd); +set_pmd (pmdp, pmd); } static inline void set_pud_at(struct mm_struct *mm, unsigned long addr,
arch/x86/kernel/cpu/mce/core.c +1 -0
@@ -784,6 +784,7 @@ static int mce_no_way_out(struct mce *m, char **msg, unsigned long *validp,quirk_no_way_out (i, m, regs);if (mce_severity (m, mca_cfg.tolerant, &tmp, true) >=MCE_PANIC_SEVERITY ) { + m->bank = i;mce_read_aux (m, i); *msg = tmp;return 1 ;
arch/x86/mm/pageattr.c +25 -25
74 lines not on this page · raw message
The pull request you sent on Sun, 10 Feb 2019 10:13:40 +0100:
The pull request you sent on Sun, 10 Feb 2019 10:13:40 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.gitx86-urgent-for-linus
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/aadaa8061189a9e5d8a1327b328453d663e8cbc9
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/prtracker