Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: Breno Leitao <leitao@debian.org>
To: Borislav Petkov <bp@alien8.de>, david.kaplan@amd.com
Cc: Peter Zijlstra <peterz@infradead.org>,
	 Andy Lutomirski <luto@kernel.org>,
	Thomas Gleixner <tglx@kernel.org>,
	 Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	x86@kernel.org,  "H. Peter Anvin" <hpa@zytor.com>,
	Josh Poimboeuf <jpoimboe@kernel.org>,
	 Pawan Gupta <pawan.kumar.gupta@linux.intel.com>,
	Nathan Chancellor <nathan@kernel.org>,
	 Nick Desaulniers <ndesaulniers@google.com>,
	Bill Wendling <morbo@google.com>,
	 Justin Stitt <justinstitt@google.com>,
	torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	 llvm@lists.linux.dev, kernel-team@meta.com,
	David Kaplan <David.Kaplan@amd.com>
Subject: Re: [PATCH RFC] x86/syscall: Dispatch via sys_call_table when Spectre v2 and BHI are off
Date: Fri, 30 Oct 2026 05:11:40 -0700	[thread overview]
Message-ID: <auSIfywq5DhT-SBt@gmail.com> (raw)
In-Reply-To: <20261030053825.GKauQtUX0pauVeLsGg@fat_crate.local>

On Thu, Oct 29, 2026 at 10:38:25PM -0700, Borislav Petkov wrote:
> On Thu, Oct 29, 2026 at 05:30:25AM -0700, Breno Leitao wrote:
> > My goal is to make booting with mitigations=off equivalent to building
> > with CONFIG_CPU_MITIGATIONS=n, so we can ship a single kernel and pick
> > the mitigations at boot time.
> 
> This might interest you then:
> 
> https://lore.kernel.org/all/20251013143444.3999-1-david.kaplan@amd.com

Thanks for the pointer. I am very interested in this.

I read most of the thread. As I understand it, there is a desire for
something more dynamic, but that is non-trivial work that still needs
to be done, and it is unclear if there will be follow-up (the patchset
is 1year old)

  reply	other threads:[~2026-10-30 12:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 10:27 [PATCH RFC] x86/syscall: Dispatch via sys_call_table when Spectre v2 and BHI are off Breno Leitao
2026-10-29 10:49 ` Peter Zijlstra
2026-10-29 12:30   ` Breno Leitao
2026-10-29 12:39     ` Peter Zijlstra
2026-10-30  5:38     ` Borislav Petkov
2026-10-30 12:11       ` Breno Leitao [this message]
2026-10-30 18:34         ` Borislav Petkov
2026-10-30 18:56     ` Linus Torvalds
2026-10-30 19:03       ` H. Peter Anvin

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=auSIfywq5DhT-SBt@gmail.com \
    --to=leitao@debian.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=david.kaplan@amd.com \
    --cc=hpa@zytor.com \
    --cc=jpoimboe@kernel.org \
    --cc=justinstitt@google.com \
    --cc=kernel-team@meta.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=morbo@google.com \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=pawan.kumar.gupta@linux.intel.com \
    --cc=peterz@infradead.org \
    --cc=tglx@kernel.org \
    --cc=torvalds@linux-foundation.org \
    --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