From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com ([134.134.136.31]:4103 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725950AbeKULQa (ORCPT ); Wed, 21 Nov 2018 06:16:30 -0500 Subject: Re: [Patch v6 00/16] Provide task property based options to enable Spectre v2 userspace-userspace protection To: Jiri Kosina , Thomas Gleixner Cc: Linus Torvalds , Tom Lendacky , Ingo Molnar , Peter Zijlstra , Josh Poimboeuf , Andrea Arcangeli , David Woodhouse , Andi Kleen , Dave Hansen , Casey Schaufler , Asit Mallick , Arjan van de Ven , Jon Masters , Waiman Long , Greg KH , Dave Stewart , linux-kernel@vger.kernel.org, x86@kernel.org, stable@vger.kernel.org References: From: Tim Chen Message-ID: Date: Tue, 20 Nov 2018 16:44:30 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 11/20/2018 03:59 PM, Tim Chen wrote: > Fix in this version bugs causing build problems for UP configuration. > > Also merged in Jiri's change to extend STIBP for SECCOMP processes and > renaming TIF_STIBP to TIF_SPEC_INDIR_BRANCH. > > I've updated the boot options spectre_v2_app2app to > on, off, auto, prctl and seccomp. This aligns with > the options for other speculation related mitigations. > > I tried to incorporate sched_smt_present to detect when we have all SMT > going offline and we can disable the SMT path, which Peter suggested. > This optimization that can be easily left out of the patch series and > not backported. I've put these two patches at the end and they can be > considered separately. > > I've dropped the TIF flags re-organization patches > as they are not needed in this patch series. > > To do: Create a dedicated document on the mitigation options for Spectre V2. > My apology that the v6 patch series is missing the first two patches in the series. Please ignore v6 and resending the patch series as v7. Tim