Received: by 10.223.185.116 with SMTP id b49csp1426482wrg; Sun, 11 Feb 2018 11:44:11 -0800 (PST) X-Google-Smtp-Source: AH8x227AMewHrqlj6RWkik82n1LtXzB/63LZj6r5lcnNmNws5PTxNzUH7BJRMluVqA4kgxQQ6q1K X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr8395570pll.86.1518378250917; Sun, 11 Feb 2018 11:44:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518378250; cv=none; d=google.com; s=arc-20160816; b=CkltLGOw95X2KpZOJ460vpQ1mDHzBZ7WcvfyRF097KY65Y0MYcgSFVmaQrcUmb4lAZ g1OTEUFkq10oFyo6WOlYB6VXf8e8SdxfgpugDTBz8yFuMjmWMNlduONrCihEM5zO2Lio MSW/TOaIXN+BkDgkt6hTa0yfIrpqGRPpzmsihyPqcrxuFlswbkRKfoq7ZJqD5e32GbJY H+5XGOBOTX+5Anurp0SAzcNDd6w0sJkhUl6yZXnAULOgwedCDscEjFsSbMA3fme8cqR0 lS9XfdCAKVQelVuxPp+KoeKPPSrCm/gqVwg21wVP0QCF/GAXyUd12ksTNxaJN2tSShim 02Zg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=Ka0xr8ApB4MaowedHhQF4dG96qPAAtKvkWCOIDmxPKI=; b=cqPOw6kiFrQw7fl5I9Zcv0sjEPlQbqPQ0uVobhEvQlLjNLpdUE1vmLG9KIu/HgsSOJ ZjtQ2AIAXU9l0ZIDIXCv/F5e3jeQXM+SQeSBeE36YAtIMgRdUfA3HJvhTRY40KJNBxc8 QzHz2igJvYy13B2A9jvRaEv5bqWXf8FiQt1vAM9IInNFFLG/czONI9spm7V0nEGuHy5n oLI0yUp432YX5sCar+YzmiEJ48uJSsBIedY1bomLMFAYPR6DbgqBfCzzDkJ0SUPX+Udj /HB4rgqlkJ7hkh0b5htvSI0nPbXyb7y1YcAYxEOvpRrcqFu6I+7rMk9geStkAiRduUvT HjGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=AwQd5lT7; 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 k189si4255341pgc.250.2018.02.11.11.43.57; Sun, 11 Feb 2018 11:44:10 -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=fail header.i=@gmail.com header.s=20161025 header.b=AwQd5lT7; 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 S932148AbeBKTnL (ORCPT + 99 others); Sun, 11 Feb 2018 14:43:11 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:38992 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753584AbeBKTnJ (ORCPT ); Sun, 11 Feb 2018 14:43:09 -0500 Received: by mail-wm0-f65.google.com with SMTP id b21so6236097wme.4; Sun, 11 Feb 2018 11:43:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Ka0xr8ApB4MaowedHhQF4dG96qPAAtKvkWCOIDmxPKI=; b=AwQd5lT7EpFLbMdUMH9LZf+7WZKgmYmfoyS66b76W7ANCQYe2bXbSzpkUCV0mBBvZU hEfMgH5J45PanOz1AqXJwZvAIvuUXgZeCV9GqcPG9BGRUaSaVm90DgnJTGsn0MJSP7T3 Djvcd7ak95V5HZbp62INcWYBDU/81pmGR5wzA4fIAUScgBUhODprh7EYqMKwpiJlAfnr gkL+wJ8D/yzxz62geKTwIMvCyCb6mVmmNUGf+dAw7UlKSqIaMc/aCW82Z0zrkp136lGO f8a22cr340zx7hW0DDC5w47JvPIW9CTSQvNJe0fgnoSzvs3bq79PLddcSBGbK5xypx6L j6sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Ka0xr8ApB4MaowedHhQF4dG96qPAAtKvkWCOIDmxPKI=; b=Uxhc3u6cl/dAWUwCAqQC2BM8RH9GRCXQk9dNp5PpApJcAsFn3u/mIMN4SmiX7dW6pf yB6FPyZkR/sRBrf1ZekTxJQ/8sp7iEvNhwT33CmJ0jPvAUHIJSvKYdTJjoucBGqgVb4i 2mo5Fp5Y06LP/vhjzK613toQEv6rXTMGe5Lsv9PPfLyofRwvyDgiLNjJF/4pOFBFbe21 3bSFz+bO9DAbx7VKHXKSXxbJnXv2NKIbnTDWvUx1kE9f4bnNfyTPZdTticbStiz8AkfK fkhQeqLAsziCCNUqq/lNugdf3trrNEhwX2ivvjgvR2WKFySx3eMT7jxmMAE41LLz3Jix KSDg== X-Gm-Message-State: APf1xPD03aFUD7SCDs3rvbHvaKsUpKH+/Ff+S2x9y7KhSTL9wuSfd5gt /3SoGbAQMEslNqNnCkSybbk= X-Received: by 10.28.110.3 with SMTP id j3mr1939475wmc.97.1518378188180; Sun, 11 Feb 2018 11:43:08 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id x18sm10842264wrg.82.2018.02.11.11.43.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 11 Feb 2018 11:43:07 -0800 (PST) Date: Sun, 11 Feb 2018 20:43:05 +0100 From: Ingo Molnar To: David Woodhouse Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, karahmed@amazon.de, sironi@amazon.de, kvm@vger.kernel.org, torvalds@linux-foundation.org, pbonzini@redhat.com, bp@alien8.de, peterz@infradead.org, jmattson@google.com, rkrcmar@redhat.com, arjan.van.de.ven@intel.com, dave.hansen@intel.com Subject: Re: [PATCH] x86/speculation: Clean up various Spectre related details Message-ID: <20180211194305.zg7tq3x3cxjuphyo@gmail.com> References: <1518305967-31356-1-git-send-email-dwmw@amazon.co.uk> <1518362359-1005-1-git-send-email-dwmw@amazon.co.uk> <20180211185057.rest4bf2ydx7slrk@gmail.com> <1518377119.6606.2.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1518377119.6606.2.camel@infradead.org> 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 * David Woodhouse wrote: > > > On Sun, 2018-02-11 at 19:50 +0100, Ingo Molnar wrote: > > > > From 82c2b2f29691143a05181333f387e786646aa28b Mon Sep 17 00:00:00 2001 > > From: Ingo Molnar > > Date: Sat, 10 Feb 2018 11:51:57 +0100 > > Subject: [PATCH] x86/speculation: Clean up various Spectre related details > > > > Harmonize all the Spectre messages so that a: > > > > ??? dmesg | grep -i spectre > > > > ... gives us most Spectre related kernel boot messages. > > > > Also fix a few other details: > > > > ?- clarify a comment about firmware speculation control > > > > ?- s/KPTI/PTI > > > > ?- remove various line-breaks that made the code uglier > > > > Cc: Andy Lutomirski > > Cc: Arjan van de Ven > > Cc: Borislav Petkov > > Cc: Dan Williams > > Cc: Dave Hansen > > Cc: David Woodhouse > > Cc: David Woodhouse > > Cc: Greg Kroah-Hartman > > Cc: Josh Poimboeuf > > Cc: Linus Torvalds > > Cc: Peter Zijlstra > > Cc: Thomas Gleixner > > Signed-off-by: Ingo Molnar > > > > Acked-by: David Woodhouse Thanks, added. > with a couple of comments: > > > -????????* If neither SMEP or KPTI are available, there is a risk of > +????????* If neither SMEP or PTI are available, there is a risk of > > Make that 'neither SMEP nor PTI' while you're at it though please; > that's bugged me a couple of times in passing. Ok, fixed that too. > > And should these say 'Spectre v2' not just 'Spectre'? Yeah, you are probably right, but I didn't want to make the messages too specific - do we really know that this is the end of Spectre-style speculation holes? Thanks, Ingo