Re: [PATCH 01/22] x86/srso: Fix srso_show_state() side effect

From: Borislav Petkov
Date: Tue Aug 22 2023 - 01:23:29 EST


On Mon, Aug 21, 2023 at 09:17:06AM -0700, Josh Poimboeuf wrote:
> I could do that, but this check ends up getting replaced by a later
> patch anyway.
>
> Would you want this comment in srso_select_mitigation()? After the next
> patch it has:
>
> bool has_microcode = boot_cpu_has(X86_FEATURE_IBPB_BRTYPE);
>
> Though that seems clear to me already.

Ok, good enough.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette