• Linus Torvalds's avatar
    Merge tag 'x86_cpu_for_v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · bef91c28
    Linus Torvalds authored
    Pull x86 cpu feature updates from Borislav Petkov:
    
     - Add synthetic X86_FEATURE flags for the different AMD Zen generations
       and use them everywhere instead of ad-hoc family/model checks. Drop
       an ancient AMD errata checking facility as a result
    
     - Fix a fragile initcall ordering in intel_epb
    
     - Do not issue the MFENCE+LFENCE barrier for the TSC deadline and
       X2APIC MSRs on AMD as it is not needed there
    
    * tag 'x86_cpu_for_v6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/CPU/AMD: Add X86_FEATURE_ZEN1
      x86/CPU/AMD: Drop now unused CPU erratum checking function
      x86/CPU/AMD: Get rid of amd_erratum_1485[]
      x86/CPU/AMD: Get rid of amd_erratum_400[]
      x86/CPU/AMD: Get rid of amd_erratum_383[]
      x86/CPU/AMD: Get rid of amd_erratum_1054[]
      x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function
      x86/CPU/AMD: Move Zenbleed check to the Zen2 init function
      x86/CPU/AMD: Rename init_amd_zn() to init_amd_zen_common()
      x86/CPU/AMD: Call the spectral chicken in the Zen2 init function
      x86/CPU/AMD: Move erratum 1076 fix into the Zen1 init function
      x86/CPU/AMD: Move the Zen3 BTC_NO detection to the Zen3 init function
      x86/CPU/AMD: Carve out the erratum 1386 fix
      x86/CPU/AMD: Add ZenX generations flags
      x86/cpu/intel_epb: Don't rely on link order
      x86/barrier: Do not serialize MSR accesses on AMD
    bef91c28
amd.c 33.6 KB