Re: [PATCH v3 21/35] x86/bugs: Determine relevant vulnerabilities based on attack vector controls.
From: Josh Poimboeuf
Date: Tue Feb 11 2025 - 17:41:30 EST
On Tue, Feb 11, 2025 at 08:53:53PM +0000, Kaplan, David wrote:
> If I understand your proposal correctly, 'mitigate_disable_smt' means
> that the kernel may disable SMT if a vulnerability being mitigated
> requires it (yes?). I wonder if that should be 'mitigate_smt' with a
> 3-way selection of:
>
> 'on' (disable SMT if needed based on vulnerabilities)
> 'auto' (do not disable SMT but apply other existing SMT-based mitigations on relevant vulnerabilities)
> 'off' (do not apply any SMT related mitigations like STIBP)
>
> And this would not be used when selecting whether to mitigate a bug, only in which mitigations are applied.
>
> Thoughts?
Sounds good!
--
Josh