• Linus Torvalds's avatar
    Merge tag 'x86_cpu_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3ef3ace4
    Linus Torvalds authored
    Pull x86 cpu updates from Borislav Petkov:
    
     - Split MTRR and PAT init code to accomodate at least Xen PV and TDX
       guests which do not get MTRRs exposed but only PAT. (TDX guests do
       not support the cache disabling dance when setting up MTRRs so they
       fall under the same category)
    
       This is a cleanup work to remove all the ugly workarounds for such
       guests and init things separately (Juergen Gross)
    
     - Add two new Intel CPUs to the list of CPUs with "normal" Energy
       Performance Bias, leading to power savings
    
     - Do not do bus master arbitration in C3 (ARB_DISABLE) on modern
       Centaur CPUs
    
    * tag 'x86_cpu_for_v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (26 commits)
      x86/mtrr: Make message for disabled MTRRs more descriptive
      x86/pat: Handle TDX guest PAT initialization
      x86/cpuid: Carve out all CPUID functionality
      x86/cpu: Switch to cpu_feature_enabled() for X86_FEATURE_XENPV
      x86/cpu: Remove X86_FEATURE_XENPV usage in setup_cpu_entry_area()
      x86/cpu: Drop 32-bit Xen PV guest code in update_task_stack()
      x86/cpu: Remove unneeded 64-bit dependency in arch_enter_from_user_mode()
      x86/cpufeatures: Add X86_FEATURE_XENPV to disabled-features.h
      x86/acpi/cstate: Optimize ARB_DISABLE on Centaur CPUs
      x86/mtrr: Simplify mtrr_ops initialization
      x86/cacheinfo: Switch cache_ap_init() to hotplug callback
      x86: Decouple PAT and MTRR handling
      x86/mtrr: Add a stop_machine() handler calling only cache_cpu_init()
      x86/mtrr: Let cache_aps_delayed_init replace mtrr_aps_delayed_init
      x86/mtrr: Get rid of __mtrr_enabled bool
      x86/mtrr: Simplify mtrr_bp_init()
      x86/mtrr: Remove set_all callback from struct mtrr_ops
      x86/mtrr: Disentangle MTRR init from PAT init
      x86/mtrr: Move cache control code to cacheinfo.c
      x86/mtrr: Split MTRR-specific handling from cache dis/enabling
      ...
    3ef3ace4
msr-index.h 40.6 KB