mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Xin Li <xin@zytor.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de,
	mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com,
	x86@kernel.org, hpa@zytor.com, peterz@infradead.org,
	andrew.cooper3@citrix.com
Subject: Re: [PATCH v3 1/1] x86/fred: Clear WFE in missing-ENDBRANCH #CPs
Date: Wed, 13 Nov 2024 09:42:42 -0800	[thread overview]
Message-ID: <8e96372e-9fe8-4684-9873-9e7cafcae6a2@zytor.com> (raw)
In-Reply-To: <ZzR3s78NZDIi1Rxh@gmail.com>

On 11/13/2024 1:56 AM, Ingo Molnar wrote:
> 
> * Xin Li (Intel) <xin@zytor.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

  reply	other threads:[~2024-11-13 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13  9:13 Xin Li (Intel)
2024-11-13  9:56 ` Ingo Molnar
2024-11-13 17:42   ` Xin Li [this message]
2024-11-13 17:49 ` Dave Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8e96372e-9fe8-4684-9873-9e7cafcae6a2@zytor.com \
    --to=xin@zytor.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®