Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4603572imm; Tue, 11 Sep 2018 14:46:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZYSw4B8/o/tByKlBFrJUyS76u/iMceJsrqA097o3D+znxl+I7Mt9ZqqdpYMVYHxxW5HoRf X-Received: by 2002:a62:8c8c:: with SMTP id m134-v6mr31367564pfd.130.1536702406749; Tue, 11 Sep 2018 14:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536702406; cv=none; d=google.com; s=arc-20160816; b=eZXY4aaglSrgt24m/6e6xBXcMiO+ub4fsbWcRKvH97lGQCKAl+Fxx7dK1a24al/pkk 9jl6tXKwbtQ8DutThKbGWRbq5bsdUpZUX/Pl7YLZ/0MpIPr41ptmLUi4/ejxtaSXfE/7 npNfS1FMHbwN6gcmlrhqnKGv1p1EniXQGwqSQ1/ukRSj4KMT9q02k+MQnVMebWQxBOYm 28sopGwxtB+W7B0avilHtK/LvTcjZVAZVzeqSyjl6r1727hqZhFwnKGRKaGy0YrsM4Vt RrETzptwoY+yilNcNCTAK1WmikgthuKuNIFVPRU0caMR7p9QPE5TdlI4bTAAdoHKMAS7 wcig== 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; bh=cd//KYjpq4XkV5KMpyev2UU8LpLESegoZttDcn6QXgI=; b=XfSTLOHnIZAMbPKiargjq7Z0sCgl0PSSMbFbUkkrEswjcmiVvyemvkfxP1xeXOeyeH 4SBHFNpInZV7ZjdDSSwj5I2OoIncFEsCfc0Pcs7A3vcfdLENJUM6NTiQGr1xiPwovZNI QE3H3u21JkTrMv+HAxSt0pifIM9xdogDYi0dpSARN5J3M+LcgG10n/GcXHv0Ki/s9Oth wACBwPaF9kr+wE+n5EgZ0mKeTOWYjs5OAm7Qu0Av/U5X/NIQLrVp9uNMrKMDFmpjmc+n axKpazl09osGf38BXd9gRnm0DvBphvePBbB+RsB45UPI5cCki/zbKmDmm/fcBWaKvBIn aZ1g== 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 3-v6si20087939plx.173.2018.09.11.14.46.30; Tue, 11 Sep 2018 14:46:46 -0700 (PDT) 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 S1728149AbeILCre (ORCPT + 99 others); Tue, 11 Sep 2018 22:47:34 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:42486 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727775AbeILCre (ORCPT ); Tue, 11 Sep 2018 22:47:34 -0400 Received: from p4fea45ac.dip0.t-ipconnect.de ([79.234.69.172] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fzqTz-0006ZI-8v; Tue, 11 Sep 2018 23:46:03 +0200 Date: Tue, 11 Sep 2018 23:46:02 +0200 (CEST) From: Thomas Gleixner To: Tim Chen cc: Jiri Kosina , Ingo Molnar , Peter Zijlstra , Josh Poimboeuf , Andrea Arcangeli , "Woodhouse, David" , Andi Kleen , "Schaufler, Casey" , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH v5 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 11 Sep 2018, Thomas Gleixner wrote: > On Tue, 11 Sep 2018, Tim Chen wrote: > > On 09/10/2018 04:46 AM, Jiri Kosina wrote: > > > Nah, IBPB is actuall there, sorry. So I'll add reporting of STIBP + fixup > > > the missing reporting of RSB_CTXSW for v6. > > > > > > > I anticipate that STIBP could affect workloads with a lot of indirect > > branches (see previous discussion with Andrea). We should have a > > knob for people to opt in or opt out of STIBP. > > Feel free to send a patch to that effect. Along with a proper explanation why it makes sense to disable this particular piece separate from the rest of the V2 mitigations. You surely can come up with a rationale based on facts rather than on anticipations. Thanks, tglx