[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231120104152.13740-1-bp@alien8.de>
Date: Mon, 20 Nov 2023 11:41:39 +0100
From: Borislav Petkov <bp@...en8.de>
To: X86 ML <x86@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH 00/13] x86/CPU/AMD: Rework Zen family detection and other fun
From: "Borislav Petkov (AMD)" <bp@...en8.de>
Add Zen generation flags which will be used to check on what type of Zen
the kernel runs. Distribute the per-generation init work into the
respective functions and cleanup amd.c properly.
As a result, drop the errata checking gunk which is not needed anymore.
There should be no functionality change resulting from these changes.
Borislav Petkov (AMD) (13):
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
arch/x86/include/asm/cpufeatures.h | 6 +-
arch/x86/kernel/cpu/amd.c | 266 ++++++++++++++---------------
2 files changed, 135 insertions(+), 137 deletions(-)
--
2.42.0.rc0.25.ga82fb66fed25
Powered by blists - more mailing lists