Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751389AbeAPVYX (ORCPT + 1 other); Tue, 16 Jan 2018 16:24:23 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:44387 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbeAPVYW (ORCPT ); Tue, 16 Jan 2018 16:24:22 -0500 Date: Tue, 16 Jan 2018 22:24:16 +0100 (CET) From: Thomas Gleixner To: Andi Kleen cc: dwmw@amazon.co.uk, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, arjan.van.de.ven@intel.com, peterz@infradead.org, Andi Kleen , jeyu@kernel.org Subject: Re: [PATCH v2] retpoline/module: Warn for missing retpoline in module In-Reply-To: <20180116205956.4tdbdilcmxykdtf4@two.firstfloor.org> Message-ID: References: <20180112221323.3304-1-andi@firstfloor.org> <20180116205956.4tdbdilcmxykdtf4@two.firstfloor.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Tue, 16 Jan 2018, Andi Kleen wrote: > Thanks. > > I just sent a v3 that changes the VERMAGIC only, based on Greg's > earlier feedback. > > It has the drawbacks that it: > - refuses loading instead of warns > - doesn't stop refusing when the feature is runtime disabled > > But it's much simpler, just a few lines of ifdef. > > We can either go with the v3, or rework this one into a v4? V3 is fine. Not loading is the right thing to do :) Thanks, tglx