Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp237400imu; Tue, 8 Jan 2019 18:43:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN75+YRWXAwfUD0kkcuT9umtvC65g9bna8cKtpYjjDyH/VqXWdydcF1+3MAsgcj5SI8AfYzk X-Received: by 2002:a63:557:: with SMTP id 84mr3673921pgf.411.1547001837081; Tue, 08 Jan 2019 18:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547001837; cv=none; d=google.com; s=arc-20160816; b=ekhswXWufhdbdj3VeSaS9FKOy6OpS6Hhxuo0IcOkchLmNNT9UsCJcSWckCYbXUbysb KQUT+GrrejtnvjGtZF4MrOZMJLeyd4l+wMk/pRqQbvZsENrjIIyE2/ifT75BltWnZZas 3TCobuJDt9Q3NvK3nXyed3WXifFEHpkuchFYOmx7K3cB3kg2mxBZnMohI43+srARPHGX wD2iJ0QJtBWFsVv5mURE/z5JFxbhFyx9YZ8Se19Vt9Q6EEEwY7TlpHE/l+t0ik5QqJTU p0RLsdYuqKtBa0/kVV3dNIt0Cpz1/F5iETDYgPi6SJdx2eXGU9X+rjWSlQHGoUcFlK3a vvuQ== 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=O5lY45eB1sB4ASWsJzgdIzA2Vs/j2EC5fVayf0kSdi4=; b=E6yZGQkEci1gpHbQI0EmhYETIyXcKkJprjIdTAhTCY2knWbpwdugK3OgGAbHKVDVEE 4lhQy7jT7T9RaA6geJ+VqSoiJ029gXR2hShzpghUQHM2mIaoOO2SXW+jFjh9p/AxIeIt X6D4dHeq/6G/lSpUT3+uBHqCr20OXzLCcMwBlMGPjVHwahtne1H4yZoERDas4T9qQFnp bis6NdlupBIsbilnIKtOkSSArHbCqAUv9TXO1lboooGYsIebM9SVsz2B4v3Y7dYgH7M5 /f5bMuYy8aTJrEFgIMYp8WOUet45WxeaGpjYFB1wlbnM/RQj8rMGNVfwS7PNdsYZLPwq IDBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EglXUN+g; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si17396637pgg.492.2019.01.08.18.43.40; Tue, 08 Jan 2019 18:43:57 -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=@gmail.com header.s=20161025 header.b=EglXUN+g; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729443AbfAICm2 (ORCPT + 99 others); Tue, 8 Jan 2019 21:42:28 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42718 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728389AbfAICm2 (ORCPT ); Tue, 8 Jan 2019 21:42:28 -0500 Received: by mail-pf1-f193.google.com with SMTP id 64so2886022pfr.9; Tue, 08 Jan 2019 18:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=O5lY45eB1sB4ASWsJzgdIzA2Vs/j2EC5fVayf0kSdi4=; b=EglXUN+gkVL0SwFlxLZzUcKKWxybM2euLfK5umsPqhBTYeCFonLRH+PK6cDkeiqNYa n+TsXpD/dYpOerHTSySFDl67ihz2pne3EOZQosjQrH2p4nTaRlJJHqT43HFAyUaiScxK cFat8adiYHXLYhQ0ve+8cPbZsEMk52LKVfulrTkjlB2gO4l7XlnYG6i82llVzkSfiMk+ NzNfKJp/oCBTzrpeaaIkoUNv/6YvLJxhdYaU4Q0/mZGtz6GksK8awsxPgRNXSSGkKlwl +a0M/29i8NkUwaZCcW4dFCk5+ERMfuowNHTMywyQTDbpezWgWPEIrfG3ZDRQYBw0A2re R9Aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=O5lY45eB1sB4ASWsJzgdIzA2Vs/j2EC5fVayf0kSdi4=; b=m5X6is6cYG/xkW4+LdQ09GeM16vDewwDmNnASvzfaln426TSvb4uDM9bF6rCX+4Ou4 0B01xjg84+q/ESJ+fYpiZVM5tp6BnA+45W2vWwxb8GdJrFfKB+cm5N54QnWBm/jWO6vq cIMe+13TF37y6Y4H0Exo4ugLNj1nnSQES8simHZqsHSepGj76F6WOCPRH8POFpXzO/Yb fSEbni2sGFcE+durv+CI/8z8xnx6phvkqrqpC0UpqzJMb+amA/Jv10l22DPTT2coqVVw aU/UYzkmZOlfgz6De2DrbhSBGtFx3F8gTb3u8oLxvtsq1fMlisuVCgTFF/cNSdfTiKHx mgdA== X-Gm-Message-State: AJcUukcKsjMc2QH0Ca+LQnqCBgMy1lZUmfRypVH2e4wv2BSzd0rlxTPw o/YwTuzMJmN+vOXXTiLC2jU= X-Received: by 2002:a62:6b8a:: with SMTP id g132mr4243937pfc.201.1547001746784; Tue, 08 Jan 2019 18:42:26 -0800 (PST) Received: from ast-mbp ([2620:10d:c090:200::7:958e]) by smtp.gmail.com with ESMTPSA id j21sm100144893pfn.175.2019.01.08.18.42.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Jan 2019 18:42:25 -0800 (PST) Date: Tue, 8 Jan 2019 18:42:24 -0800 From: Alexei Starovoitov To: Tim Chen Cc: Thomas Gleixner , Jiri Kosina , Linus Torvalds , Tom Lendacky , Ingo Molnar , Peter Zijlstra , Josh Poimboeuf , Andrea Arcangeli , David Woodhouse , Andi Kleen , Dave Hansen , Asit Mallick , Arjan van de Ven , Jon Masters , Waiman Long , Greg KH , Borislav Petkov , linux-kernel@vger.kernel.org, x86@kernel.org, stable@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net Subject: Re: [PATCH] x86/speculation: Add document to describe Spectre and its mitigations Message-ID: <20190109024222.izaveh2jm4mqtihk@ast-mbp> References: <64efec3fda40c0758601bf9b1480a35d76d3c487.1545413988.git.tim.c.chen@linux.intel.com> <20181223231149.5yuenb53pavlvr3m@ast-mbp.dhcp.thefacebook.com> <2278b1c7-5d20-3c89-eab1-ea34145dc73d@linux.intel.com> <20190109011130.wrsrcaly2mgnou3k@ast-mbp> <9a2611f0-eaa6-ca7a-d47a-a86f4ca89ac6@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9a2611f0-eaa6-ca7a-d47a-a86f4ca89ac6@linux.intel.com> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 08, 2019 at 05:41:37PM -0800, Tim Chen wrote: > On 1/8/19 5:11 PM, Alexei Starovoitov wrote: > > >> > >> Alexi, > >> > >> Do you have any suggestions on how to rewrite this two paragraphs? You > >> are probably the best person to update content for this section. > > > > how about moving bpf bits out of this doc and placing them under Documentation/bpf/ ? > > We can create bpf_security.rst there with specdown mitigations, best practices, > > useful sysctl and config knobs, etc. > > > > Maybe we can provide some minimum but accurate info here on this category of Spectre attack > for completeness. We can later provide a link to bpf_security.rst here with more details > when that becomes available. > > Otherwise, I can remove it if you prefer. But people concerned about Spectre will most likely read > this doc first. I want them to be pointed to the detailed BPF security doc. since Documentation/ got converted to .rst, the links made it easy to follow from one doc into another. I think splitting big doc makes it easier for users to read and for us to maintain/update.