| From: |
| Josh Poimboeuf <jpoimboe-AT-redhat.com> |
| To: |
| x86-AT-kernel.org |
| Subject: |
| [PATCH 0/3] objtool: retpoline compatibility |
| Date: |
| Wed, 10 Jan 2018 19:48:45 -0600 |
| Message-ID: |
| <cover.1515635197.git.jpoimboe@redhat.com> |
| Cc: |
| linux-kernel-AT-vger.kernel.org, Thomas Gleixner <tglx-AT-linutronix.de>, Andi Kleen <ak-AT-linux.intel.com>, Paul Turner <pjt-AT-google.com>, Linus Torvalds <torvalds-AT-linux-foundation.org>, Greg Kroah-Hartman <gregkh-AT-linux-foundation.org>, Tim Chen <tim.c.chen-AT-linux.intel.com>, Dave Hansen <dave.hansen-AT-intel.com>, Kees Cook <keescook-AT-google.com>, Peter Zijlstra <peterz-AT-infradead.org>, Andy Lutomirski <luto-AT-amacapital.net>, Jiri Kosina <jikos-AT-kernel.org>, gnomes-AT-lxorguk.ukuu.org.uk |
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(-)
--
2.14.3