From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com ([134.134.136.31]:63980 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731496AbeLVBR6 (ORCPT ); Fri, 21 Dec 2018 20:17:58 -0500 Subject: Re: [PATCH] x86/speculation: Add document to describe Spectre and its mitigations To: Ben Greear , Thomas Gleixner Cc: 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 References: <64efec3fda40c0758601bf9b1480a35d76d3c487.1545413988.git.tim.c.chen@linux.intel.com> <1c7923ec-70aa-25d4-3de1-f1b1768bb80b@candelatech.com> From: Tim Chen Message-ID: Date: Fri, 21 Dec 2018 17:17:55 -0800 MIME-Version: 1.0 In-Reply-To: <1c7923ec-70aa-25d4-3de1-f1b1768bb80b@candelatech.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: On 12/21/18 1:59 PM, Ben Greear wrote: > On 12/21/18 9:44 AM, Tim Chen wrote: >> Thomas, >> >> Andi and I have made an update to our draft of the Spectre admin guide. >> We may be out on Christmas vacation for a while.  But we want to >> send it out for everyone to take a look. > > Can you add a section on how to compile out all mitigations that have anything > beyond negligible performance impact for those running systems where performance > is more important than security? > If you don't worry about security and performance is paramount, then boot with "nospectre_v2". That's explained in the document. Tim