Received: by 10.223.176.46 with SMTP id f43csp9528wra; Tue, 23 Jan 2018 15:06:41 -0800 (PST) X-Google-Smtp-Source: AH8x2268rmUIB0BPu1W4HGK4xN6qKPN525kFXvqqE0LbzN8S+RLcOmFKIjNUV8XSqS+0P9En2Q5z X-Received: by 10.36.155.215 with SMTP id o206mr6272671itd.22.1516748801347; Tue, 23 Jan 2018 15:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516748801; cv=none; d=google.com; s=arc-20160816; b=papD3UqrDRKFe8OuHVRSAV18gJ8TRc0AVcqt7UB6kLZD709TSfisXeWiqz5GORidzO nOxEfid48JNmQwdUeeb0iycu/IZUfWOe1kjq85p9HTWG1AKAxFzvawNA51z663YiE/f2 UOvVyn09npLdvbgshIw12MUR9KwLIqPZIMlSTCltNt8CZiEvX2XmfARKEDe+Rx/3r73B n7fPwc/3NaA+OJspxeMZuEQ6lShnAvrgfwcmZoOpmqi861rOVxVrF7ljnqCujmwmX6EO 6nzGZNSBToCZLoIWJsEu9rv78JWO913tidftTrNWg/7RT5Jf0oZd+LHBJezBhWfXl5xO /FCA== 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:arc-authentication-results; bh=PofSMDJFO+PDMi70m4N1LO+w2uu7q9kx4C5JtqlU6OQ=; b=aVIVtpUaWKXWY/8VaQ/8tHHLD7NX7WkoSBfD8WFucs98s1muPvL0iCLr5m3hXbhkN7 zM1b6JlffnNCKwnoEM1CA2kx8KPVs9rEKiXZe1b2ucBdgN6rzo8aobmSfL/HL03Me5mM RLKv2IHhXjFZfdSL2F5PNr6C0LSQCyFY7LOPJ2g+vnncM7hW3DAEEPNYJ2mLalCv2C3g HSFtzbLIA2Peldd2ObuiS32dJ9CraRHGf/jZ8ChUehTTQR5KqVPBPMoUcnmT7egLH5Fk YhvFEaMfNgRh099X7biy0WsfRW2EdyPB2Z2sgrjN0xzR7JNyZp/PZwQNa5+PJI+j0pLS nL5g== 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 a2si9446656itg.59.2018.01.23.15.06.22; Tue, 23 Jan 2018 15:06:41 -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 S932392AbeAWXFz (ORCPT + 99 others); Tue, 23 Jan 2018 18:05:55 -0500 Received: from mail.skyhub.de ([5.9.137.197]:50724 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932273AbeAWXFy (ORCPT ); Tue, 23 Jan 2018 18:05:54 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wfG2Ty9MqY1D; Wed, 24 Jan 2018 00:05:53 +0100 (CET) Received: from pd.tnic (p200300EC2BD1D800B5F6B1F16569F43D.dip0.t-ipconnect.de [IPv6:2003:ec:2bd1:d800:b5f6:b1f1:6569:f43d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 2B1B61EC058A; Wed, 24 Jan 2018 00:05:53 +0100 (CET) Date: Wed, 24 Jan 2018 00:05:45 +0100 From: Borislav Petkov To: Jiri Kosina Cc: David Woodhouse , Andi Kleen , Paul Turner , LKML , Linus Torvalds , Greg Kroah-Hartman , 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: <20180123230545.jufkdgttxe4eiswf@pd.tnic> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 23, 2018 at 11:55:05PM +0100, Jiri Kosina wrote: > I think we should start recording CFLAGS the kernel has been compiled with > anyway; doesn't hurt and might come handy when debugging. > > /proc/version is probably not the best place ... /proc/cflags? Yap, I guess I can find that string with hexdump on the kernel binary too :-) -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.