Re: [PATCH 0/3] objtool: retpoline compatibility

From: David Woodhouse
Date: Thu Jan 11 2018 - 05:22:29 EST


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