• Linus Torvalds's avatar
    Merge tag 'x86_mm_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 4a692ae3
    Linus Torvalds authored
    Pull x86 mm updates from Borislav Petkov:
    
     - 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
    
    * tag 'x86_mm_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm: Prevent early boot triple-faults with instrumentation
      x86/mm: Include spinlock_t definition in pgtable.
      x86/mm: Flush global TLB when switching to trampoline page-table
      x86/mm/64: Flush global TLB on boot and AP bringup
      x86/realmode: Add comment for Global bit usage in trampoline_pgd
      x86/mm: Add missing <asm/cpufeatures.h> dependency to <asm/page_64.h>
    4a692ae3
head64.c 17.6 KB