Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3166361imu; Fri, 23 Nov 2018 23:08:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uq0IFCvJoNneTfRrILQOa0BVKcyeA7sStcvz5SB7iqvAhiTHwRDIF1sygBfXGMs7YaHCT5 X-Received: by 2002:a63:ee0e:: with SMTP id e14mr16594724pgi.8.1543043313151; Fri, 23 Nov 2018 23:08:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543043313; cv=none; d=google.com; s=arc-20160816; b=U0qIUPwRViucBi9qnnDnus5W0J22F1P3EzMfvHEdHhj5Pg3SmTjN3nNvknQZJUxn1c ElWUlyNFYkdxAS58fdgD1llyWZWrCEQxRW6ox71iodIUno+H3YzMGrqccgaP3Ez77V5u 84XMG8CbxJeaZLRuGY6rxj3YfdapL3WpB58o/k/TvS77VKETC/j3l9aeiQyO4uZ2EJT2 10dt0MQ1XBUzoJ4YfM2g+4rvkdll/KrtTTDUIpB23AqmhuRHNFU8vbTz2Kbum79Lg6gd XKOQ9oiw9upBJ9uz5avnkrswSEpN1yCQuS+nHOdO/Z7y99xVWw+mmlKVAyS8/Xcg5k4x kgIw== 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:dkim-signature; bh=CyHVfmn16kBFn8JlFe2Q/uztou1CSxx1shdX393Avx4=; b=pAoRrFxLQX5MlM9f66s8JQfX7WJcfiM14kYQ7RVFxlr3KZhMRIE/unPosxDKTUgT8P njMsQzKEsWJRDREEJHoH43tvX2RPCc66efw/mcoVyg7F0byz99wJdSLh6jHBjvF3sgvs fXvZqMUL6AbivBty6AzOJkuPgET4mliXP/tYboGZTwlb9CgDcFnnSbUO5qfkbMvc0/na 1T+5dTyh06IOsrivfTAjxNGLHtQO+n1sY+QyPbrYIzyHQHZHfC/POqyNSVgg1CJbndJz z7ES4JcfWlQVMeQKjpgX34aY8ZeOkqqNx/rIjPBtmfVmihF/yv8FBSGKCvxLW2kgu0kP b1Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=TfgQNI4y; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v25si10291409pfg.135.2018.11.23.23.08.18; Fri, 23 Nov 2018 23:08:33 -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=pass header.i=@alien8.de header.s=dkim header.b=TfgQNI4y; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405953AbeKWEdD (ORCPT + 99 others); Thu, 22 Nov 2018 23:33:03 -0500 Received: from mail.skyhub.de ([5.9.137.197]:51460 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391864AbeKWEdC (ORCPT ); Thu, 22 Nov 2018 23:33:02 -0500 Received: from zn.tnic (p200300EC2BDC9100898E5A1DF8FAB135.dip0.t-ipconnect.de [IPv6:2003:ec:2bdc:9100:898e:5a1d:f8fa:b135]) (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 CD9801EC05C4; Thu, 22 Nov 2018 18:52:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1542909156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=CyHVfmn16kBFn8JlFe2Q/uztou1CSxx1shdX393Avx4=; b=TfgQNI4ytRZieMJ0BE1GGtvyG0eZTZhj6aPFqMYrrw/yzL1GkBwYOqpz1KrSCG6LpBz6H0 HJgdJvZVREJ1sdu3QuAnWjby8+zs+yUQV5sRV6zgtFmFlR48whhFfkdrYXfnG5N5gpifHB K4NML8WgS26Ynwovdkyl2sLS0b6sF3E= Date: Thu, 22 Nov 2018 18:52:29 +0100 From: Borislav Petkov To: Josh Poimboeuf Cc: Thomas Gleixner , Linus Torvalds , Linux List Kernel Mailing , the arch/x86 maintainers , Peter Zijlstra , Andrew Lutomirski , Jiri Kosina , thomas.lendacky@amd.com, Andrea Arcangeli , David Woodhouse , Andi Kleen , dave.hansen@intel.com, Casey Schaufler , "Mallick, Asit K" , "Van De Ven, Arjan" , jcm@redhat.com, longman9394@gmail.com, Greg KH , david.c.stewart@intel.com, Kees Cook , Tim Chen Subject: Re: [patch 01/24] x86/speculation: Update the TIF_SSBD comment Message-ID: <20181122175229.GD10365@zn.tnic> References: <20181121201430.559770965@linutronix.de> <20181121201722.337599561@linutronix.de> <20181121230450.k75e4ipdag73dayz@treble> <20181121230854.GH27559@zn.tnic> <20181122173004.fn4tqoclhcyibxff@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181122173004.fn4tqoclhcyibxff@treble> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 22, 2018 at 11:30:04AM -0600, Josh Poimboeuf wrote: > But it does describe its purpose, especially in relation to the > 'spectre_v2=' option. Sure, but the thing I'm proposing spectre_v2_task_isol= describes it more precisely, IMHO. :) I.e., "enable/disable spectre v2 task isolation". > Previously 'spectre_v2=' might have been more appropriately named > 'spectre_v2_kernel=' because it only protected the kernel from Spectre > v2 attacks. Now with these new patches, 'spectre_v2=on' will protect > the entire system. Hmmm, crazy idea: can we extend the options of spectre_v2= nstead? spectre_v2=user_isolation,... spectre_v2=kernel,... spectre_v2=task_isolation,... and so on? This way we can do a couple of option switches in one go. Hmmm? > Now off to eat a giant turkey. Try not to fall into a turkey coma. :-P -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.