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

From: Borislav Petkov
Date: Mon Jun 12 2023 - 12:08:38 EST


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.

If you say N, all mitigations will be disabled. You really
should know what you are doing to say so.


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette