Received: by 10.223.176.46 with SMTP id f43csp779122wra; Fri, 26 Jan 2018 06:50:20 -0800 (PST) X-Google-Smtp-Source: AH8x226bG4PxgFqkahdrz6YvkMl9qaTNnK1RDoSizACWPCQMkNgRWwMdusORL6wAH8zENpte+vj3 X-Received: by 2002:a17:902:7482:: with SMTP id h2-v6mr5172761pll.401.1516978219920; Fri, 26 Jan 2018 06:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516978219; cv=none; d=google.com; s=arc-20160816; b=g150BBqVKLaSNTB+M2hKotaj20viTlwycRZe9z36Qg7Bli1+n04DLPZ6FX4zQxh1+o NTlOvJZwBpzVfhb9wcw0oYoGjOhBtBPkzmXM4CPTz0ENuSZvv1Tm+sLXGzV1JQzlENYw fvzbfk0vlK9c9F7gZJEfAHr5sZ4sN3CQFIrFUAk3d1S2c8dl1Hq+ksPKvNeqpDCJaLHR ICGlHE1mMBv1TaYW8DXB8zzPCAOcS7rxuDjALfqZWu6qhAN3zmWGw3Xy+fOUs97J/zq3 e8+Gokg6vVXNxyqkln3T5t7hi6aYGCyWQaRpCPKfjHNmEvkP56n1nUhdm03ON6cMPJjI 4X7w== 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=oVZT+MNDA/wzid56Da71RTm3UG0xbo+tKF/go8wXRhA=; b=bGZU4nb+XzP25IQFb118Y9vG3AiZhjMNX8/8YJ8VedklX6e4pyOKAyXzwLHj8tUw+z dYncSF5uy/aMTZ1hTlthzRbucfFvJxtg+1zTQ2rvB1l8RGQpiYrQnrYmZGLqHnOCAuo1 RfsTw1Ct0up0mYcnIMzs9UVwa1xXHQ3RQh6ECcJTYA7dd9IZ5TByS8gfDRprwUjy5trt aM1HkeRgFo9jtTVTBCQn/IT3DOJ8jiLFYQNeKts6OtuOcCfpZhslu0QZFdMsUvFuJ/19 xVVEOjKdEi8AThey2n3cicxi5RgKIOK1EEqNyHPim3I/nt46cEXADhWlV8opgv3XIFrO ilIQ== 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 y17si3096934pge.702.2018.01.26.06.50.05; Fri, 26 Jan 2018 06:50:19 -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 S1753344AbeAZOtc (ORCPT + 99 others); Fri, 26 Jan 2018 09:49:32 -0500 Received: from mail.skyhub.de ([5.9.137.197]:35570 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbeAZOtb (ORCPT ); Fri, 26 Jan 2018 09:49:31 -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 wJu6FWINTLnj; Fri, 26 Jan 2018 15:49:30 +0100 (CET) Received: from pd.tnic (p200300EC2BCF3A0024194793E6CFFC7A.dip0.t-ipconnect.de [IPv6:2003:ec:2bcf:3a00:2419:4793:e6cf:fc7a]) (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 0B28F1EC00EE; Fri, 26 Jan 2018 15:49:30 +0100 (CET) Date: Fri, 26 Jan 2018 15:49:19 +0100 From: Borislav Petkov To: Petr Oros Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/microcode/intel: print previous microcode revision during early update Message-ID: <20180126144918.7jiaezmdhjsiman5@pd.tnic> References: <20180126103451.16863-1-poros@redhat.com> <20180126104109.slxxoq4vkqytqjxd@pd.tnic> <1516967135.2801.1.camel@redhat.com> <20180126115800.bvqrzik2f3hmmiah@pd.tnic> <1516974600.2801.10.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1516974600.2801.10.camel@redhat.com> 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 Fri, Jan 26, 2018 at 02:50:00PM +0100, Petr Oros wrote: > But what in production? Edit boot params, restart server, grep /proc/cpuinfo and > restart again? Why i can not read it just from dmesg? Because you don't need the previous revision. You only *happen* to need it now but that is being addressed too with the blacklisting. And when you have broken microcode, it will say: + pr_warn("Intel Spectre v2 broken microcode detected; disabling SPEC_CTRL\n"); and if you have microcode which doesn't have IBRS, there won't be "spec_ctrl" in /proc/cpuinfo. I don't want people to start paying attention to microcode revision numbers with the gazillion different revisions and family/model/steppings out there and the crazy confusion that will ensue from this. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.