Re: [PATCH v2] x86/retbleed: add "stuff" mode admin documentation

From: Randy Dunlap
Date: Mon Jan 09 2023 - 16:14:07 EST




On 1/9/23 09:19, Dave Hansen wrote:
> On 1/9/23 08:08, Randy Dunlap wrote:
>> + stuff - Enables "stuffing" mode mitigation,
>> + which uses return thunking and call depth
>> + tracking. Only in effect if
>> + CONFIG_CALL_DEPTH_TRACKING is set and
>> + Spectre V2 mitigation mode is
>> + "retpoline".
>> + IBRS is fully secure mitigation but is
>> + more costly (slower) than stuffing.
>
> The "fully secure" thing makes me cringe a bit.
>
> I'd suggest saying:
>
> IBRS is a stronger mitigation
> but is more costly than stuffing
> (slower).

OK, will do (v3). :)

Thanks.

--
~Randy