Received: by 10.223.176.46 with SMTP id f43csp258729wra; Tue, 23 Jan 2018 20:28:36 -0800 (PST) X-Google-Smtp-Source: AH8x225dINP/eXcUUKtv0JlM7CbU4sFP15FdiiTSZ9V/H4IqrJy9DQ+jg7VjpDHoKbP0wCVGSsZH X-Received: by 10.98.35.203 with SMTP id q72mr11873907pfj.40.1516768116651; Tue, 23 Jan 2018 20:28:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516768116; cv=none; d=google.com; s=arc-20160816; b=TekP/50HeUiubaM5377qh0a6I0RJ4bysUmocy1A70AST3ZjhmIfDjjCn6azCNUq80R nuD2QxVFn2cK4CoLgv2Q2Kf/8Z/Fqiyjlfq+orTKVoa41B4CzUrLhV4xT0KQIyginpZt CbkDfQqrag/anBWQ2HD9YJ1A5PVBZp0werooJBRkesqhpRk8HQ1CFuUTgGm7p0jZgeIZ XqKiSTPoZJe99K8BWm4mCAV2ZkPT13VrUUe7Fq5zsL16Xc8nIwArpoEclDRTJafdmLjO 5YY/4jZY7f0OQL3P8yYvIblG+9neOI3g7BWfEw94KV1rmB69EzmrsA7krLvonqMn/TDp r97w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Wa3/v5XLRaz9y6EJZ4Bgmg9RYyxzBKn58w9ddoBWXzw=; b=iijPiY8GS5MxLzxTKN+z0Z3exMWQUoGxwf1KVtpzHiz4vNMlNvgQrgRcOCvzLuKJmy Hk9W8t4UdRxxzVnTUY8Gr6KK8oiN+u//12rqB49V7uC2LHrk8TsR0uGNs65d8IuvI2uQ PpHpktufMqaTDQLkPpD0DtZebE0c6bwAPBoOWHbbxmCUCtuTc9sE8Dm4hmu74CxOcKnf QcoZGO8EH0Mo6x3sN1Jy6S43y2EITphKIRMgdKbfCrx3CNFfDQ9sr89E9n4rLaMS/LXd YBG2W/wHOXTGLIZkBsvaaouOOgy216kJCQYq1GsNlLyy28ruO90lbKD4d0T3z2LGn1T6 VDDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=hWtuxj2V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t76si15582821pgc.219.2018.01.23.20.28.23; Tue, 23 Jan 2018 20:28:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=hWtuxj2V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933087AbeAXE0h (ORCPT + 99 others); Tue, 23 Jan 2018 23:26:37 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:51365 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbeAXE0e (ORCPT ); Tue, 23 Jan 2018 23:26:34 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4DCDF20B95; Tue, 23 Jan 2018 23:26:33 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 23 Jan 2018 23:26:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=Wa3/v5XLRaz9y6EJZ4Bgmg9RYyxzB Kn58w9ddoBWXzw=; b=hWtuxj2V1fPnr1thQ8MDqduXes6lEtQt0g/jc1ZUux5jp LWeg9Kxj3tZvOt0VgykfIhfU53M+iqa441YsGK99Af9Z5Ia6cRJ/B4ZD6s39Rcgo OGj8vto89HgC89Ucc5vd2XuCuRiDVTM52uzc82e1thOgVJff59KLPi8yH+qzW9bz 1PC1SVsGIPnZUE3tM3YVbXnb6jwNQ34rSQl5hRoMQ0vL+jaBxmv3xLtCs9brAkcz RKu9GlBTL3M8rou+5ltNwnif47WJL1gbBO+P2bcbMnuM8KhiX6zHIb3/Z/T5FEaG lbgr94AxwrnvFmkGZjVIZbz+Ybnbs+vxTZtV4uTNg== X-ME-Sender: Received: from localhost (lfbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.messagingengine.com (Postfix) with ESMTPA id 5419F7E0FA; Tue, 23 Jan 2018 23:26:32 -0500 (EST) Date: Wed, 24 Jan 2018 05:26:31 +0100 From: Greg Kroah-Hartman To: Jiri Kosina Cc: Andi Kleen , Borislav Petkov , David Woodhouse , Paul Turner , LKML , Linus Torvalds , Tim Chen , Dave Hansen , Thomas Gleixner , Kees Cook , Rik van Riel , Peter Zijlstra , Andy Lutomirski , gnomes@lxorguk.ukuu.org.uk, x86@kernel.org, thomas.lendacky@amd.com, Josh Poimboeuf Subject: Re: [PATCH v8 04/12] x86/spectre: Add boot time option to select Spectre v2 mitigation Message-ID: <20180124042631.GA6920@kroah.com> References: <1515707194-20531-1-git-send-email-dwmw@amazon.co.uk> <1515707194-20531-5-git-send-email-dwmw@amazon.co.uk> <20180123224014.dsbzps4hydt6h7ed@pd.tnic> <20180123232125.GS7844@tassilo.jf.intel.com> <20180123234529.GU7844@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 24, 2018 at 12:49:37AM +0100, Jiri Kosina wrote: > On Tue, 23 Jan 2018, Andi Kleen wrote: > > > > Thanks for pointing this out, Andi. I've been just now writing more or > > > less the same thing; ditching that and will reuse your patch instead. > > > > > > Why was the more aggresive version (6cfb521ac0d5b) merged into Linus' tree > > > instead of that? > > > > Greg prefered using modversions > > Ah. OK, Greg: I'll eat my hat (I've heard that's very popular these times) > if there is a major enterprise distro that doesn't revert this patch > immediately. But will Andi's patch work well for you? Adding a MODULE_INFO() tag to every module? I just thought since you were already using modversions in enterprise distros already, that adding it there would be the simplest. If I am wrong, great, let's revert this and add something that you really will use, otherwise it's just pointless code :) Perhaps adding a MODULE_INFO() tag for the entire gcc and ld flags would be nice in the end, as others have pointed out in this thread, but I don't know if that solves your issue here or not. thanks, greg k-h