[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230814200916.GJZNqJ7H3MaO0ZTO5/@fat_crate.local>
Date: Mon, 14 Aug 2023 22:09:16 +0200
From: Borislav Petkov <bp@...en8.de>
To: Josh Poimboeuf <jpoimboe@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
linux-kernel@...r.kernel.org, David.Kaplan@....com,
Andrew.Cooper3@...rix.com, gregkh@...uxfoundation.org,
nik.borisov@...e.com
Subject: Re: [PATCH v2 00/11] Fix up SRSO stuff
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
Powered by blists - more mailing lists