[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8e96372e-9fe8-4684-9873-9e7cafcae6a2@zytor.com>
Date: Wed, 13 Nov 2024 09:42:42 -0800
From: Xin Li <xin@...or.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: linux-kernel@...r.kernel.org, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, dave.hansen@...ux.intel.com, x86@...nel.org,
hpa@...or.com, peterz@...radead.org, andrew.cooper3@...rix.com
Subject: Re: [PATCH v3 1/1] x86/fred: Clear WFE in missing-ENDBRANCH #CPs
On 11/13/2024 1:56 AM, Ingo Molnar wrote:
>
> * Xin Li (Intel) <xin@...or.com> wrote:
>
>> +/*
>> + * By definition, all missing-ENDBRANCH #CPs are a result of WFE && !ENDBR.
>> + *
>> + * For the kernel IBT no ENDBR selftest where #CPs are deliberately triggerred,
>
> s/triggerred
> /triggered
>
>> +static void ibt_clear_fred_wfe(struct pt_regs *regs)
>> +{
>> + /*
>> + * No need to do any FRED checks.
>> + *
>> + * For IDT event delivery, the high-order 48 bits of CS are pushed
>> + * as 0s into stack, and later IRET ignores these bits.
>
> s/into stack
> /into the stack
>
Thanks, fixing and sending v4 now.
Xin
Powered by blists - more mailing lists