lkml.org 
[lkml]   [2023]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 00/13] x86/CPU/AMD: Rework Zen family detection and other fun
From


On 20.11.23 г. 12:41 ч., Borislav Petkov wrote:
> From: "Borislav Petkov (AMD)" <bp@alien8.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(-)
>

The whole series LGTM:

Reviewed-by: Nikolay Borisov <nik.borisov@suse.com >

\
 
 \ /
  Last update: 2023-11-20 16:09    [W:0.186 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site