Received: by 10.223.176.5 with SMTP id f5csp4317042wra; Tue, 30 Jan 2018 05:36:09 -0800 (PST) X-Google-Smtp-Source: AH8x226InaAdCjA9UbOsC8m8QPb3YvcxViB3z8GzEbPIPv18QnTRz/3KZDvrkz0uY+EEQ5KtwJd6 X-Received: by 2002:a17:902:3363:: with SMTP id a90-v6mr24571859plc.159.1517319369532; Tue, 30 Jan 2018 05:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517319369; cv=none; d=google.com; s=arc-20160816; b=pGFkAJ4nu9/k4MqnAbIb2U5upAS52sQrlok8IN30K4bShv1MjaT9Y+bxCyoqT3pOMS 0wbgM/RJCQZLhvNdoXGtDL+bjVS0DnXX1ciscf43UxSPHIJmJuyEq369xq8kSsl6Zn0o 7HO0+GrHXv/HXSm1lZnH0OekJwOWbiPudHbLbos4q7BkR59XV2CFXwr3qzjcoYljlsY8 8qxL0TkvkG/hiuQNoC66vU44xpvUrycHspCoV1CKlqlTZcSEm1OfuTWEI9AhcjgYrgRd vE7v54DhfYE46MzU6qp2rTRD0bcWDIL0dWZYVbjPyWZobO/UwTAxKjg6vNoXnPuADTWw 3gCw== 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:arc-authentication-results; bh=bWnrMM2CByBWyEbzYciYg6MRr5sRi6VZUCuW8T1l3Lg=; b=ftRIEjtMDuAuORieK9aYbOWDRmoNnYDJR5gnJgf28gNOVqXDibPDBAJlrwG4HxxCUx eWh9+Y7ishecERPk/d1Wg7IM1FVeXCPDZr4KinAzJsql+1yg/4HbGyQ8tQ8+NmZzPIds 56BFqRuhMrsVwalkXGCoB9Rz0EjSrhlcuFpqG+O8K1o5OwfCWHjHPzgzVx9+da7bcO3D s/cq+DFr3Tx7uORxgxMUABhNDgjkqYKLNHrC+FE4SdLZfwq1+FKNIbt/xrIvOQLtlsFy usnu3H7Ypt3FfbZ2+wPWzfZvPD/XI9KsxpTNgVDPxNaqUQZWMsWLvjKciBON6jn+5Goc f7Rw== 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 w6-v6si11586916plp.738.2018.01.30.05.35.55; Tue, 30 Jan 2018 05:36:09 -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 S1752167AbeA3NLa (ORCPT + 99 others); Tue, 30 Jan 2018 08:11:30 -0500 Received: from mail.skyhub.de ([5.9.137.197]:55410 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbeA3NL3 (ORCPT ); Tue, 30 Jan 2018 08:11:29 -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 AFbZmH8h4aMX; Tue, 30 Jan 2018 14:11:28 +0100 (CET) Received: from pd.tnic (p200300EC2BCF0F005D4DFBFD0E3B986B.dip0.t-ipconnect.de [IPv6:2003:ec:2bcf:f00:5d4d:fbfd:e3b:986b]) (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 EBA0F1EC030C; Tue, 30 Jan 2018 14:11:27 +0100 (CET) Date: Tue, 30 Jan 2018 14:11:22 +0100 From: Borislav Petkov To: Thomas Gleixner Cc: David Woodhouse , arjan@linux.intel.com, 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] x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel Message-ID: <20180130131122.s3bs6lbs43go73gj@pd.tnic> References: <1517269773-16750-1-git-send-email-dwmw@amazon.co.uk> <20180130105814.m5zd43dyx2o2ius2@pd.tnic> <1517310230.18619.86.camel@infradead.org> <20180130111848.zjv2dngfzcz35lyt@pd.tnic> <1517311693.18619.102.camel@infradead.org> <1517314193.18619.115.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 Tue, Jan 30, 2018 at 01:57:21PM +0100, Thomas Gleixner wrote: > So much for the theory. That's not going to work. If the boot cpu has the > feature then the alternatives will have been applied. So even if the flag > mismatch can be observed when a secondary CPU comes up the outcome will be > access to a non existing MSR and #GP. Yes, with mismatched microcode we're f*cked. So my question is: is there such microcode out there or is this something theoretical which we want to address? (.. and adressing this will be ugly, no matter what.) And if I were able to wish, I'd like to blacklist that microcode in dracut so that it doesn't come anywhere near my system. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.