[GIT PULL] x86/cpu for v6.8

From: Borislav Petkov
Date: Sun Jan 07 2024 - 07:15:55 EST


Hi Linus,

please pull the pile of x86/cpu changes for v6.8.

Thx.

---

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cpu_for_v6.8

for you to fetch changes up to 232afb557835d6f6859c73bf610bad308c96b131:

x86/CPU/AMD: Add X86_FEATURE_ZEN1 (2023-12-12 11:17:37 +0100)

----------------------------------------------------------------
- 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

----------------------------------------------------------------
Borislav Petkov (AMD) (15):
x86/barrier: Do not serialize MSR accesses on AMD
x86/CPU/AMD: Add ZenX generations flags
x86/CPU/AMD: Carve out the erratum 1386 fix
x86/CPU/AMD: Move the Zen3 BTC_NO detection to the Zen3 init function
x86/CPU/AMD: Move erratum 1076 fix into the Zen1 init function
x86/CPU/AMD: Call the spectral chicken in the Zen2 init function
x86/CPU/AMD: Rename init_amd_zn() to init_amd_zen_common()
x86/CPU/AMD: Move Zenbleed check to the Zen2 init function
x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function
x86/CPU/AMD: Get rid of amd_erratum_1054[]
x86/CPU/AMD: Get rid of amd_erratum_383[]
x86/CPU/AMD: Get rid of amd_erratum_400[]
x86/CPU/AMD: Get rid of amd_erratum_1485[]
x86/CPU/AMD: Drop now unused CPU erratum checking function
x86/CPU/AMD: Add X86_FEATURE_ZEN1

James Morse (1):
x86/cpu/intel_epb: Don't rely on link order

arch/x86/include/asm/barrier.h | 18 ---
arch/x86/include/asm/cpufeatures.h | 8 +-
arch/x86/include/asm/processor.h | 18 +++
arch/x86/kernel/cpu/amd.c | 268 +++++++++++++++----------------
arch/x86/kernel/cpu/common.c | 7 +
arch/x86/kernel/cpu/hygon.c | 3 +
arch/x86/kernel/cpu/intel_epb.c | 2 +-
tools/arch/x86/include/asm/cpufeatures.h | 2 +-
8 files changed, 170 insertions(+), 156 deletions(-)


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette