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

From: Thomas Gleixner
Date: Mon Jun 12 2023 - 13:26:40 EST


On Mon, Jun 12 2023 at 09:37, Breno Leitao wrote:
> 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.

https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/index.html

might answer your question.