Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752026AbeAPVAA (ORCPT + 1 other); Tue, 16 Jan 2018 16:00:00 -0500 Received: from one.firstfloor.org ([193.170.194.197]:49046 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbeAPU77 (ORCPT ); Tue, 16 Jan 2018 15:59:59 -0500 Date: Tue, 16 Jan 2018 12:59:56 -0800 From: Andi Kleen To: Thomas Gleixner Cc: Andi Kleen , 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 Message-ID: <20180116205956.4tdbdilcmxykdtf4@two.firstfloor.org> References: <20180112221323.3304-1-andi@firstfloor.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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? -Andi