Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1374978imm; Tue, 3 Jul 2018 10:01:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI7BMtVmL54S2jI0yHGYVUGCWXrd8ZPQrSS6XJIaffuYjnVEtmBxfvhfHAix75LxawilfDn X-Received: by 2002:a63:2c0d:: with SMTP id s13-v6mr26816809pgs.37.1530637298582; Tue, 03 Jul 2018 10:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530637298; cv=none; d=google.com; s=arc-20160816; b=Fr/GzcHdh/6Q+AkYVJJWR95Xa13VASvWqR0e2ygSo1tS8uBtcB2JkpsVxUVOmz4Aps P8YchxTcIW7oe6PPfftpKKXSD8SJHqn7Gg+9Wg09pz2vuqM3AG3BE4lOi05Yqnfhia6D f6FKglE3rBFdIHSRyeofg4oV1VIvFrUn7YHcY/qp7wTbPOTrdMpgfPzXggXHXifg4J6W LYH/mMoS/5FPJPQ64xPOo17/CZnTju7klTo6HCRf78wbeiVj+4Yv4ptmwgqFfJTc9B1Y ZOi6V9G8m8z8wp+YKYlbT1h/+DPerERMk1amaWPr6NN+oXx10QTaPKHWq4DTIlqWs3YI Rfjg== 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=mr4wku4bpliwm75yn36cM9b6imCCxVuPF94oWc/Ij5Q=; b=fd85g0yNkBGjsv8m+U1Dgf5PAg20yWZ16aaQKIMsHBMp6vOogPYexfGEvGFvrOuoxa Y57f4Kldj6OGdBoRhZrO1rX5vkh3v4BdKEcrO4aX3YV6OrTa3vHeWcMkA7Pt3WomEheb J+rYfChDucGFDCf+QkrCNxPux764NOnJtZTtVruqjtpwG7NwZ1LnfTihC2uJeRMGmCu4 xfFtSKWg3DWek+mxp5O3VlY20D1H8Tde68AAN9MmVSxGPFROcaYNru7hZ5l6rxDCt4hE Wx1kx+mNyQjriVAN1xSS8azLJpL7sYS0Ng2IDIGcuwJXwrSOmrW1es3k6whqegcVG07f fULw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c2-v6si1457750plb.77.2018.07.03.10.01.24; Tue, 03 Jul 2018 10:01:38 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934194AbeGCQ66 (ORCPT + 99 others); Tue, 3 Jul 2018 12:58:58 -0400 Received: from mga12.intel.com ([192.55.52.136]:32759 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934176AbeGCQ6w (ORCPT ); Tue, 3 Jul 2018 12:58:52 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2018 09:58:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,304,1526367600"; d="scan'208";a="69782976" Received: from agluck-desk.sc.intel.com (HELO agluck-desk) ([10.3.52.160]) by orsmga001.jf.intel.com with ESMTP; 03 Jul 2018 09:58:49 -0700 Date: Tue, 3 Jul 2018 09:58:49 -0700 From: "Luck, Tony" To: Prarit Bhargava Cc: linux-kernel@vger.kernel.org, Borislav Petkov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-edac@vger.kernel.org Subject: Re: [PATCH] x86/MCE: Fix CPU microcode version output Message-ID: <20180703165849.GA17773@agluck-desk> References: <20180703164844.9742-1-prarit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180703164844.9742-1-prarit@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 12:48:44PM -0400, Prarit Bhargava wrote: > On systems where a runtime microcode update has occurred the > microcode version is wrong because boot_cpu_data.microcode is > not updated during runtime. > > Use the per-CPU microcode version in the MCE message. Other option would be to fix the microcode update code to make sure that boot_cpu_data.microcode is right. But if we go this route we should add: Fixes: fa94d0c6e0f3 ("x86/MCE: Save microcode revision in machine check records") Cc: stable@vger.kernel.org Can also get a: Reviewed-by: Tony Luck -Tony Luck