Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932136AbeADP71 (ORCPT + 1 other); Thu, 4 Jan 2018 10:59:27 -0500 Received: from mga04.intel.com ([192.55.52.120]:41294 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932096AbeADP70 (ORCPT ); Thu, 4 Jan 2018 10:59:26 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,507,1508828400"; d="scan'208";a="7413256" Date: Thu, 4 Jan 2018 07:59:14 -0800 From: Andi Kleen To: Josh Poimboeuf Cc: Andi Kleen , tglx@linutronix.de, torvalds@linux-foundation.org, gregkh@linux-foundation.org, linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com Subject: Re: [PATCH v2 11/12] retpoline/objtool: Disable some objtool warnings Message-ID: <20180104155914.GL25156@tassilo.jf.intel.com> References: <20180104020019.1173-1-andi@firstfloor.org> <20180104020019.1173-12-andi@firstfloor.org> <20180104143814.bhvtsjiwpyhtgjph@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180104143814.bhvtsjiwpyhtgjph@treble> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: > NAK. We can't blindly disable objtool warnings, that will break > livepatch and the ORC unwinder. If you share a .o file (or the GCC > code) I can look at adding retpoline support. I don't think we can wait for that. We can disable livepatch and the unwinder for now. They are not essential. Frame pointers should work well enough for unwinding and afaik nobody can use livepatch in mainline anyways. -Andi