Re: [PATCH v2] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

From: Borislav Petkov
Date: Thu Nov 05 2020 - 15:37:02 EST


On Thu, Nov 05, 2020 at 02:32:10PM -0600, Tom Lendacky wrote:
> Does it need a Fixes: tag?

Yah, this one:

Fixes: 21998a351512 ("x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.")

because it set mode to SPECTRE_V2_USER_STRICT_PREFERRED, leading to the
inability to set the TIF_SPEC_IB bit later.
>
> Acked-by: Tom Lendacky <thomas.lendacky@xxxxxxx>

Added, thx.

--
Regards/Gruss,
Boris.

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