public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: "Xin Li (Intel)" <xin@zytor.com>
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 10:56:03 +0100	[thread overview]
Message-ID: <ZzR3s78NZDIi1Rxh@gmail.com> (raw)
In-Reply-To: <20241113091313.3717338-1-xin@zytor.com>


* 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,

	Ingo

  reply	other threads:[~2024-11-13  9:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13  9:13 [PATCH v3 1/1] x86/fred: Clear WFE in missing-ENDBRANCH #CPs Xin Li (Intel)
2024-11-13  9:56 ` Ingo Molnar [this message]
2024-11-13 17:42   ` Xin Li
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=ZzR3s78NZDIi1Rxh@gmail.com \
    --to=mingo@kernel.org \
    --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@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --cc=xin@zytor.com \
    /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