Received: by 10.223.176.46 with SMTP id f43csp531751wra; Wed, 24 Jan 2018 01:57:58 -0800 (PST) X-Google-Smtp-Source: AH8x227A88wbbCcjLIE1IeK3gy3bJRUGCIX5nn/vcUzGwPfIVJj7eCHLjEWC03ybuz8DJX62puDc X-Received: by 10.99.171.12 with SMTP id p12mr10557855pgf.304.1516787878668; Wed, 24 Jan 2018 01:57:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516787878; cv=none; d=google.com; s=arc-20160816; b=c4k0cxj29tjvsQhw4jsRteSYxZcKE5DMItFsP/U415XqHdJNZKnQJeUHXOBxQzkQ6A syIhf8R7Bu05NcA4/i9rBDHsPSZavj3WOu2M6tlMJWFIir/QSlA/rgMpzuP/2C75EcAL TBi2bAYW8EVRowHtqOVoFkwBwqPq19+2PZo4Qp5YOtgKQ0pQD7PJYtB+E3m6eVFTxfgM zmWNk0zCSyYfTbNw9im+pJXQsPmVXFzCpYb1dhA0e82Wqawaa4nMR8NUqv4oT60UJFfX ZMCrtOM5LAKB+alHMg2TRiNunTAzPSoafd4OS5XUfAHaQ4pENzrIAeUZ10TTLgeeVbkz sNdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=zF2EX4b4XjqufSaNZTyJMEOvF64fm1XjZ+/UtCfYHpY=; b=TxY+Olnf+stpBn1bAmKV8MWdVUkUmQC4A6Wn4t3/fIEK9QlApCgPHkMyMQzK0uOeWB e0PMm6S3bphnMUIhysgVGzEaFYP1FmiAQFU4QoJ0Hn4tzBeA9mJrUvP2xMvph+4n20D7 GJPxsjP3BblRUujUtlGNw5YqVffmYSvmzBGUovdu8AK7oeVuca8trCxpBXCIT5DdZWkr V7ZFQ6blxxyOGhgQ/jdjvyG6wUXaNFF4ASoyb2iHl+1SzQq4KDSVD00Ea4Q4aTbs3yep nL9Lzsvb7DJ0egJk4l/N/2jLf9jdbRDrLl/iHKloscc0tEUpDxMQr1YnC4RpSfh7lff+ vzbQ== ARC-Authentication-Results: i=1; mx.google.com; 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 u2si15503530pgv.53.2018.01.24.01.57.45; Wed, 24 Jan 2018 01:57:58 -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; 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 S932999AbeAXJ44 (ORCPT + 99 others); Wed, 24 Jan 2018 04:56:56 -0500 Received: from mx2.suse.de ([195.135.220.15]:44022 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932696AbeAXJ4y (ORCPT ); Wed, 24 Jan 2018 04:56:54 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E89C6AB9A; Wed, 24 Jan 2018 09:56:52 +0000 (UTC) Date: Wed, 24 Jan 2018 10:56:49 +0100 (CET) From: Jiri Kosina To: Greg Kroah-Hartman 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 In-Reply-To: <20180124042631.GA6920@kroah.com> Message-ID: 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> <20180124042631.GA6920@kroah.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Jan 2018, Greg Kroah-Hartman wrote: > But will Andi's patch work well for you? Adding a MODULE_INFO() tag to > every module? Yes, that would work -- all the modules that get built in tree, or out of tree but with retpolined compiler, would have that marker that could be optionally checked for by the kernel. > I just thought since you were already using modversions in enterprise > distros already, that adding it there would be the simplest. The patch as-is introduces immediate modversion mismatch between retpolined kernel and non-retpolined module, making each and every one fail to load. Thanks, -- Jiri Kosina SUSE Labs