Re: [PATCH RFC] x86/syscall: Dispatch via sys_call_table when Spectre v2 and BHI are off
From: Breno Leitao
Date: Fri Oct 30 2026 - 08:16:51 EST
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@xxxxxxx
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)