Received: by 10.223.176.46 with SMTP id f43csp2124635wra; Sun, 21 Jan 2018 11:54:50 -0800 (PST) X-Google-Smtp-Source: AH8x224d/pEYGc7gVEfOpP+mm6bzkKy/ZI4kCHP7Ny6wqwUi78+y6iuOCBGIzWW+YbwVSL3sXaNb X-Received: by 2002:a17:902:3183:: with SMTP id x3-v6mr2311923plb.290.1516564490282; Sun, 21 Jan 2018 11:54:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516564490; cv=none; d=google.com; s=arc-20160816; b=f2Ao30HD/dQ144MfTG2uC1GWtMFPCxYvM01dIyWdKp+sK+l4AzecPcuxTJfCnXD12c n4nVG84/IYIi5ZEyJXJNUAGfMMElalccpohuAk7pPqS/UIghRoh4XvsC+FO2vTf3tTWR vua1lHMRwPYMrs95g1hIMRwr32F/cA//QkwqB3+SsOElOxn84MypEue6F99a8J+MfLL5 yNZsg/HwwTGRNECzmfAhaZcg+S4RFrupeyNj0mU7vb+0wUmoR4RQ6EEqRpl+uckIO1ob TryML5C1tkI7Q+zeUyJFuAB9uuQucKwKuT80LaB+DBrxqzPhFTqaqc/Li5WhC89P3H6l ztyA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=W99Uffr73fAOsNqj+7qIXq/jpA2ymSeHb5cxfVWreEI=; b=EK/bsE/W+EsZBeq7Pkn/YPGaxt7DZO5y/hpu4XWRdiKCyLCQKBJZvJbWMl3MIcnxtD Lz3GRqtkVMyICNjNeRlbl75xStseH8Qfw7BZutmFtdY3zu99rUEdqHYaoX1R9tfpZUsA 7fuKrHL/ybrQ/mQn0FISzk57oEtfvRO0SwFDVCi21VF6w9Fq1z7qozePxtDtpQ7G9x5E mvfazIhBtAZ710eilRwZ2jkeuW5AlYfdbii53ZWzYqxYewo9DIYYrekj5jQ0v07i1n7S 3625TLW9ShpNAWTG5/d7hyne/ABayj4ZUb5mfr97HTTIhNO5FtlT8za/DvhafW9OZYt1 P2fw== 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 g9-v6si2740248plk.346.2018.01.21.11.54.36; Sun, 21 Jan 2018 11:54:50 -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; 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 S1751076AbeAUTyK (ORCPT + 99 others); Sun, 21 Jan 2018 14:54:10 -0500 Received: from mail.skyhub.de ([5.9.137.197]:53108 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750942AbeAUTyJ (ORCPT ); Sun, 21 Jan 2018 14:54:09 -0500 X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (blast.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7PezgyBLsay4; Sun, 21 Jan 2018 20:54:08 +0100 (CET) Received: from pd.tnic (p200300EC2BEE1B001C757E499366AA02.dip0.t-ipconnect.de [IPv6:2003:ec:2bee:1b00:1c75:7e49:9366:aa02]) (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 7AA231EC00FF; Sun, 21 Jan 2018 20:54:08 +0100 (CET) Date: Sun, 21 Jan 2018 20:54:07 +0100 From: Borislav Petkov To: David Woodhouse Cc: arjan@linux.intel.com, tglx@linutronix.de, karahmed@amazon.de, x86@kernel.org, linux-kernel@vger.kernel.org, tim.c.chen@linux.intel.com, peterz@infradead.org, pbonzini@redhat.com, ak@linux.intel.com, torvalds@linux-foundation.org, gregkh@linux-foundation.org Subject: Re: [PATCH v2 5/8] x86/speculation: Add basic support for IBPB Message-ID: <20180121195407.hbahkbmc37yrrvi4@pd.tnic> References: <1516528149-9370-1-git-send-email-dwmw@amazon.co.uk> <1516528149-9370-6-git-send-email-dwmw@amazon.co.uk> <20180121180621.ufmc5m7nr6v4tjvc@pd.tnic> <1516560862.9814.47.camel@infradead.org> <20180121190430.ss22poeakvwzvcal@pd.tnic> <1516563099.9814.54.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1516563099.9814.54.camel@infradead.org> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 21, 2018 at 07:31:39PM +0000, David Woodhouse wrote: > >         if (boot_cpu_has(X86_FEATURE_IBPB)) > >                 wrmsr(MSR_IA32_PRED_CMD, PRED_CMD_IBPB, 0); > > > > Problem solved. > > Nope. Plenty of patch sets *did* have the bug above though, until it > was spotted. And that bug is...? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.