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

Josh Poimboeuf
2025-02-10T23:52:56Z

On Wed, Jan 08, 2025 at 02:24:50PM -0600, David Kaplan wrote:
> @@ -902,7 +909,7 @@ static void __init gds_select_mitigation(void)
> } else {
> gds_mitigation = GDS_MITIGATION_UCODE_NEEDED;
> }
> - goto out;
> + return;

So right above this it clears X86_FEATURE_AVX, should that not be
deferred until gds_apply_mitigation()?

--
Josh