Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933132AbeAHNUQ (ORCPT + 1 other); Mon, 8 Jan 2018 08:20:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49486 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932420AbeAHNUN (ORCPT ); Mon, 8 Jan 2018 08:20:13 -0500 Date: Mon, 8 Jan 2018 07:20:07 -0600 From: Josh Poimboeuf To: "Woodhouse, David" Cc: Thomas Gleixner , Amit Shah , Andi Kleen , Paul Turner , LKML , Linus Torvalds , Greg Kroah-Hartman , Tim Chen , Dave Hansen , Kees Cook , Rik van Riel , Peter Zijlstra , Andy Lutomirski , Jiri Kosina , gnomes@lxorguk.ukuu.org.uk Subject: Re: [PATCH v6 10/10] x86/retpoline: Exclude objtool with retpoline Message-ID: <20180108132007.c7snxdhaxi4crg5p@treble> References: <1515363085-4219-1-git-send-email-dwmw@amazon.co.uk> <1515363085-4219-11-git-send-email-dwmw@amazon.co.uk> <1515407640.7317.27.camel@amazon.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1515407640.7317.27.camel@amazon.co.uk> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 08 Jan 2018 13:20:13 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Mon, Jan 08, 2018 at 10:34:00AM +0000, Woodhouse, David wrote: > On Mon, 2018-01-08 at 11:25 +0100, Thomas Gleixner wrote: > > On Sun, 7 Jan 2018, David Woodhouse wrote: > > > > Cc+ Josh Poimboeuf > > > > Sigh.... > > > > > From: Andi Kleen > > >  > > > objtool's assembler nanny currently cannot deal with the code generated > > > by the retpoline compiler and throws hundreds of warnings, mostly > > > because it sees calls that don't have a symbolic target. > > >  > > > Exclude all the options that rely on objtool when RETPOLINE is active. > > >  > > > This mainly means that we use the frame pointer unwinder and livepatch > > > is not supported. > > >  > > > Eventually objtool can be fixed to handle this. > > I believe Josh is on vacation and I've asked Amit to take a look at > this, at least as far as ensuring that it doesn't actually disable > kpatch. I'm back now and will start looking at it this week. For future revisions of the patch set, can you add me to CC? And also it would be good to add x86@kernel.org as I'm sure the other x86 maintainers (mingo and hpa) want to see these patches. -- Josh