Re: [PATCH v2 00/11] Fix up SRSO stuff

From: Borislav Petkov
Date: Mon Aug 14 2023 - 16:10:22 EST


On Mon, Aug 14, 2023 at 01:01:28PM -0700, Josh Poimboeuf wrote:
> How about:
>
> "both the RET in zen_untrain_ret() and the LEA in srso_untrain_ret()"
>
> ?

Yeah, or the "instruction sequences starting at srso_safe_ret and
retbleed_return_thunk" (that's what it's called now) "must start at
a cacheline boundary."

Because the LEA was ADD but that changed so saying "the instruction
sequences" just works.

Thx.

--
Regards/Gruss,
Boris.

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