On Wed, 2018-01-10 at 19:48 -0600, Josh Poimboeuf wrote:
> Make objtool compatible with CONFIG_RETPOLINE and re-enable the
> objtool-dependent features.
> 
> Josh Poimboeuf (3):
>   objtool: Detect jumps to retpoline thunks
>   objtool: Ignore retpoline alternatives
>   Revert "x86/retpoline: Temporarily disable objtool when
>     CONFIG_RETPOLINE=y"
> 
>  arch/x86/Kconfig                     |  4 +--
>  arch/x86/Kconfig.debug               |  6 ++--
>  arch/x86/include/asm/nospec-branch.h | 27 +++++++++++++-
>  tools/objtool/check.c                | 69 
> ++++++++++++++++++++++++++++++++----
>  tools/objtool/check.h                |  2 +-
>  5 files changed, 95 insertions(+), 13 deletions(-)

Brilliant, thank you. Can you take a look at the latest RSB stuffing
code in http://git.infradead.org/users/dwmw2/linux-retpoline.git/ too
please?

/bin/sh: line 1: 26242 Segmentation fault      (core dumped) 
./tools/objtool/objtool orc generate --no-fp "arch/x86/kvm/vmx.o"

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to