lkml.org 
[lkml]   [2021]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH 6/6] objtool,x86: Rewrite retpoline thunk calls
On Fri, Feb 19, 2021 at 09:43:06PM +0100, Peter Zijlstra wrote:
> Arguably it would be simpler to do the other way around, but
> unfortunately alternatives don't work that way, we cannot say:
>
> ALTERNATIVE "call __x86_indirect_thunk_\reg",
> "call *%reg", ~X86_FEATURE_RETPOLINE
>
> That is, there is no negative form of alternatives.

X86_FEATURE_NO_RETPOLINE?

--
Josh

\
 
 \ /
  Last update: 2021-02-19 23:02    [W:0.078 / U:0.440 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site