From: Dave Hansen <dave.hansen@intel.com>
To: Sohil Mehta <sohil.mehta@intel.com>,
Dave Hansen <dave.hansen@linux.intel.com>,
Borislav Petkov <bp@alien8.de>
Cc: Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>,
Xin Li <xin@zytor.com>, Andy Lutomirski <luto@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Binbin Wu <binbin.wu@linux.intel.com>,
Tom Lendacky <thomas.lendacky@amd.com>,
"Chang S . Bae" <chang.seok.bae@intel.com>,
Chao Gao <chao.gao@intel.com>,
Sean Christopherson <seanjc@google.com>,
Paolo Bonzini <pbonzini@redhat.com>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/fred: Add this_cpu_fred_sp() and export it for KVM
Date: Tue, 24 Nov 2026 07:52:03 -0800 [thread overview]
Message-ID: <a4b33822-25a6-450f-a2cd-5931d015f484@intel.com> (raw)
In-Reply-To: <20261124015840.2673975-1-sohil.mehta@intel.com>
On 11/23/26 17:58, Sohil Mehta wrote:
> FRED adds fields to the VMCS host-state area for the stack pointers of
> stack levels 1 to 3. The CPU loads these pointers on every VM exit to
> ensure a valid FRED event delivery context is established immediately.
> These values are per CPU, so KVM has to refresh them each time a vCPU is
> loaded onto a CPU.
Sohil,
We can take cleanups that both make sense for non-KVM FRED code and are
_described_ that way. We can't add dead code, or take things that have
changelogs for code that's not in the tree.
In other words, please write a changelog and send code that has nothing
immediate to do with KVM. If that's not possible for a given patch,
that's a pretty good clue it's not a cleanup and can't be merged early.
Anything going in early has to stand on its own, please.
next prev parent reply other threads:[~2026-11-24 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-24 1:58 Sohil Mehta
2026-11-24 15:52 ` Dave Hansen [this message]
2026-11-24 17:00 ` Sohil Mehta
2026-11-24 17:13 ` 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=a4b33822-25a6-450f-a2cd-5931d015f484@intel.com \
--to=dave.hansen@intel.com \
--cc=binbin.wu@linux.intel.com \
--cc=bp@alien8.de \
--cc=chang.seok.bae@intel.com \
--cc=chao.gao@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=seanjc@google.com \
--cc=sohil.mehta@intel.com \
--cc=tglx@kernel.org \
--cc=thomas.lendacky@amd.com \
--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
all inboxes | Powered by JetHome®