Re: [PATCH v3 10/35] x86/bugs: Restructure gds mitigation

Brendan Jackman
2025-02-10T17:40:42Z

On Mon, 10 Feb 2025 at 18:27, Kaplan, David <David.Kaplan@amd.com> 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.