Re: [PATCH v3 10/35] x86/bugs: Restructure gds mitigation
From: Brendan Jackman
Date: Mon Feb 10 2025 - 12:40:49 EST
On Mon, 10 Feb 2025 at 18:27, Kaplan, David <David.Kaplan@xxxxxxx> wrote:
> On the ARCH_CAP_GDS_CTRL, I thought that check is really just to check if the MSR is present, before we try to read it.
Ah, yeah you view the conditional as saying "does that mitigation
control MSR exist" rather than making a mitigation policy decision
then I agree it makes sense.
#define ARCH_CAP_GDS_CTRL BIT(25) /*
* CPU is vulnerable to Gather
* Data Sampling (GDS) and
* has controls for mitigation.
*/
So... shrug, seems fine to me.