Re: [PATCH] cpu/bugs: Disable CPU mitigations at compilation time

From: Breno Leitao
Date: Mon Jun 12 2023 - 12:37:15 EST


On Mon, Jun 12, 2023 at 06:08:07PM +0200, Borislav Petkov wrote:
> On Mon, Jun 12, 2023 at 07:16:18AM -0700, Breno Leitao wrote:
> > Sorry, to waht menu specifically?
>
> CONFIG_SPECULATION_MITIGATIONS
>
> It even has the proper text in there, warning people.
>
> menuconfig SPECULATION_MITIGATIONS
> bool "Mitigations for speculative execution vulnerabilities"
> default y
> help
> Say Y here to enable options which enable mitigations for
> speculative execution hardware vulnerabilities.

I am not sure if these bugs (MDS, TAA) are speculations related. Pawan
could help us here.