Received: by 10.223.185.116 with SMTP id b49csp3286240wrg; Tue, 13 Feb 2018 00:05:58 -0800 (PST) X-Google-Smtp-Source: AH8x2272StUSUiHoSlpom23MU6npdEUvLInnJ9AF4K0JF+crOeW1xT7dNID4xp39fZc3zHgYQMBT X-Received: by 10.99.164.74 with SMTP id c10mr314209pgp.409.1518509158500; Tue, 13 Feb 2018 00:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518509158; cv=none; d=google.com; s=arc-20160816; b=DtW//dlkqNSOfEgdTF0q1uYX6BaQH/dTEh4yC4QW3HYtugLwpG0c0en1umqdCoyc+Q 7+Rpx9LT6YSHItx+RdiP3ycom/r0gXQcsJ4neqbWCHfo67T4iemkK8/x+ujP4wEutaiR ++KDltHReiajjUUpwl1aAzmUWqt8rRQm5I+UxN76BL5/8VovdLC7Z9eg+mBFZ5BMyWTJ lRHsr72xPCXpD0jvsjrIQCy4EPtqjW1VwsjtSTM+BcII1Ofiv20QUi8ifUm/FufKpBEt ofHbVnBP2TAxaQk+Eb5+cBgZCJY3FEinPIqdbpVQOEOc4L9I4N+Gm0SK1/Yl+dVPT8sH L/9g== 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=742B5HOf7bVc7vEMjn0hHfk4vN2L70WEy2Ta2/D6OLY=; b=NZbPPJ5jBz2VIPA/Nw2XXECRE4mM1H57J8jHfyWDkhWgd9sTcFU1c/MGj5W4cE8BJU LBnl2itKi/25C4LhsRdzyD1CNbhHA0AloIgSna2/mHEEZAgvbAmt2jURiMnH9DDkthbV 21vJIsweyc+iF0LknsENXV2jp/SIqSG+797CprbRRe4aHuXMrUHb76M6/H1d6WcWAtqA nv3Pv2UJJ7GJvjCge0sNdIffXM95oEiscGVkgoYw0K7uo924Anaba9rqs7aHVSWARp0X WtKoWZi2eGfBBt2wAr+lnqxvEgCMl8CG6pg8Ki6WO2EB5+5LUASTf2ak4bCGewCDEOD0 BNAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gm5SD5qB; 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 q187si587160pga.547.2018.02.13.00.05.43; Tue, 13 Feb 2018 00:05: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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=gm5SD5qB; 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 S933701AbeBMIE4 (ORCPT + 99 others); Tue, 13 Feb 2018 03:04:56 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:33678 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933606AbeBMIEy (ORCPT ); Tue, 13 Feb 2018 03:04:54 -0500 Received: by mail-wm0-f54.google.com with SMTP id x4so12096109wmc.0; Tue, 13 Feb 2018 00:04:54 -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=742B5HOf7bVc7vEMjn0hHfk4vN2L70WEy2Ta2/D6OLY=; b=gm5SD5qBmLdK1kg+kBngeXYVAqvxxrR5vxqyjNVWjjfC1BOk0BjLClCFsMdQiwE6El SiqERJpVimpbq05MXu7xbs6WMWo2IG+p7vkwmIhQ0mPSfSxJxhQGoT63kOdQz4XGMC5g af4Wr6Y0btc2uPvVhaS5rd2zEfAGmv3BCPk95oKG8XSwX0ea4jlhKmv5hKyG3Q2uu784 8QXZhQVE16IJneGU6EThFCZ1Y+7I6qWjePlz1yQy1O6/h9y9JGCfG+fqeUBggDWnjcl1 t0ceurHSS3bJmNPrsb2fzfe8ZkmGzAgKAFPWQNMxLE21T746jQ4f9x9EdIki2if/2wA4 s0wg== 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=742B5HOf7bVc7vEMjn0hHfk4vN2L70WEy2Ta2/D6OLY=; b=UWAPAsZeJr+8GvFOSkZMRJIUtxWGtWvOvTYe9fdyiu0eNgy9qjKC2NssWoY4Na7vV2 Dpp4p4ed/5HLlmyYdKFQAcWkrNHum957ffIstdItj0XrVMozTDwxGdkrhlKeDOJtUP/U 6M2ot51td0edx2EM7PxltHw6CEttOl1JW85Z+QGURum3wi1UsS01gv4OKGuR5oUop47U 97ohBWhdLVUMc+A7PTW7IVnfwcqtS2pnQDlt7RM+9A/RCIv5FW61hwyiTlgmlth0JSg1 2kHO49QpjfwttZmW83JyYFZPZLweMb5caXGejbgTdI9hjQ2N77kboNPlxk5+c1BlMJNI Ongg== X-Gm-Message-State: APf1xPAWGcvMLNAGrcUtSRomJ3A9WCKXjfjP568PbMrWnE+FRcDmWi6J W3+7UfgjtcmRun7HtzHVmUA= X-Received: by 10.28.174.210 with SMTP id x201mr426998wme.105.1518509093558; Tue, 13 Feb 2018 00:04:53 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id k20sm15580720wmh.20.2018.02.13.00.04.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 00:04:52 -0800 (PST) Date: Tue, 13 Feb 2018 09:04:50 +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: <20180213080450.7zll3nmn3iuxwg7y@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> <20180211194305.zg7tq3x3cxjuphyo@gmail.com> <1518449413.6606.99.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: <1518449413.6606.99.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 20:43 +0100, Ingo Molnar wrote: > > > 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? > > Well... if a new problem is also remedied by use if IBRS/IBPB and > retpoline, I think we can happily call it a subclass of "Spectre v2". > > And if it *isn't* addressed by those same things, then it's clearly > something different. Either way, these messages should be 'v2', no? Ok, fair enough - I've changed it to v2 as you suggest: - pr_info("Filling RSB on context switch\n"); + pr_info("Spectre v2 mitigation: Filling RSB on context switch\n"); - pr_info("Enabling Indirect Branch Prediction Barrier\n"); + pr_info("Spectre v2 mitigation: Enabling Indirect Branch Prediction Barrier\n"); > On the whole though, there are plenty of better things to be worrying > about :) Sure - nevertheless I fixed these while they were still hot ;-) Thanks, Ingo