There are the retpoline validation patches; they work with the __noretpoline thing from David.
- [PATCH 0/7] objtool: retpoline validation Peter Zijlstra
- [PATCH 5/7] x86/paravirt: Annotate indirect calls Peter Zijlstra
- [PATCH 2/7] objtool: Add retpoline validation Peter Zijlstra
- [PATCH 3/7] objtool: Add module specific retpoline ru... Peter Zijlstra
- [PATCH 4/7] x86,nospec: Annotate indirect calls/jumps Peter Zijlstra
- Re: [PATCH 4/7] x86,nospec: Annotate indirect cal... David Woodhouse
- Re: [PATCH 4/7] x86,nospec: Annotate indirect... Peter Zijlstra
- Re: [PATCH 4/7] x86,nospec: Annotate indi... Peter Zijlstra
- Re: [PATCH 4/7] x86,nospec: Annotate... Josh Poimboeuf
- Re: [PATCH 4/7] x86,nospec: Anno... Peter Zijlstra
- Re: [PATCH 0/7] objtool: retpoline validation Josh Poimboeuf