Re: [patch 00/38] x86/retbleed: Call depth tracking mitigation

Thomas Gleixner
2022-07-23T09:51:00Z

On Thu, Jul 21 2022 at 17:54, Peter Zijlstra wrote:
> On Wed, Jul 20, 2022 at 11:13:16PM +0200, Peter Zijlstra wrote:
> The idea is the above callthunk that makes any offset work by not having
> the full hash as an immediate and allow kCFI along with
> -fpatchable-function-entry=N,M and include M in the offset.
>
> Specifically, I meant to use -fpatchable-function-entry=16,16, but alas,
> I never got that far.

That's embarrasing. I missed that option in the maze of gcc
options. That would have spared me to stare at gcc code :)