[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <670B2DF9-204C-4A56-92C0-EC52CBF160E3@vmware.com>
Date: Tue, 26 Oct 2021 15:57:47 +0000
From: Nadav Amit <namit@...are.com>
To: Dave Hansen <dave.hansen@...el.com>
CC: Linux-MM <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andi Kleen <ak@...ux.intel.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Andrew Cooper <andrew.cooper3@...rix.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Andy Lutomirski <luto@...nel.org>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Peter Xu <peterx@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Will Deacon <will@...nel.org>, Yu Zhao <yuzhao@...gle.com>,
Nick Piggin <npiggin@...il.com>,
"x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH v2 1/5] x86: Detection of Knights Landing A/D leak
> On Oct 26, 2021, at 8:54 AM, Dave Hansen <dave.hansen@...el.com> wrote:
>
> On 10/21/21 5:21 AM, Nadav Amit wrote:
>> --- a/arch/x86/kernel/cpu/intel.c
>> +++ b/arch/x86/kernel/cpu/intel.c
>> @@ -296,6 +296,11 @@ static void early_init_intel(struct cpuinfo_x86 *c)
>> }
>> }
>>
>> + if (c->x86_model == 87) {
>> + pr_info_once("Enabling PTE leaking workaround\n");
>> + set_cpu_bug(c, X86_BUG_PTE_LEAK);
>> + }
>
> Please take a look at:
>
> arch/x86/include/asm/intel-family.h
>
> specifically:
>
> #define INTEL_FAM6_XEON_PHI_KNL 0x57 /* Knights Landing */
Thanks, I will fix it. I really just copy pasted from Andi’s patch
(for better and worse).
Powered by blists - more mailing lists