Re: [PATCH v2] x86,sched: Update the Intel SNC CPU list that allows shared LLCs
From: Dave Hansen
Date: Wed Feb 24 2021 - 11:55:00 EST
On 2/16/21 11:58 AM, Alison Schofield wrote:
> arch/x86/kernel/smpboot.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
> index 02813a7f3a7c..de8c598dc3b9 100644
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -475,6 +475,8 @@ static bool match_smt(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
>
> static const struct x86_cpu_id snc_cpu[] = {
> X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL),
> + X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL),
> + X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
> {}
> };
Oh, and if this version gets picked up (or we go to a v3), it probably
also needs a:
Cc: stable@xxxxxxxxxxxxxxx
This does cause scary warnings, and it would be nice to suppress those
on stable kernels too.