Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2617973rdh; Wed, 27 Sep 2023 07:54:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFp/xtRiirMdCfxynGdvAqLfs3AGIU8MNpsMGLO0mo8GQnB+bzWEC3iIeSOJ5+FhSRIOuTU X-Received: by 2002:a05:6870:ec87:b0:1cc:e169:96bf with SMTP id eo7-20020a056870ec8700b001cce16996bfmr2861311oab.39.1695826449459; Wed, 27 Sep 2023 07:54:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695826449; cv=none; d=google.com; s=arc-20160816; b=H3Fc/m3lOvcWAz7xfe9BAwXAmd3SFvawTyW5PL66U1AXV2nGeDJfCYIEStTPuaOsSO 8xWv0MHw+ZjGMbJjbdDy+AHdRvilb7doOTW13d/HqKDkd8SxmkGsAl9IMXX79JP47h53 s8mESbdFFelBoS3r+P23JsB7ag/A5e0Ncy5b5D2KlKOq//MYQsaq+eG5zIzxQcsfyOFt 7450qyzf/bvyGkjp9PeJqxAcE2+MYHdRX+E3qZ1pCmvnvh9G/EqY6hZfJ2wodhEbyjtH QXQhtkKP5ybolOOp6oIjtYczXH1XAZtRsiRahDaYr34EPsSGbzgLFhWhpvLYGcaBkIW/ xdSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=ken4s2LE3+pGQSXhuE7vALwV/kachdsvxlocicp+yWg=; fh=TyS5kJZZxFFT5s5VgB6XLc2H7w96LaqGcFuCa2DjH4Q=; b=Enw3daS/cWq3CMRR3c0WMCUy7Np9bpv/f7vVRclSurUbHR96uBECrtPfFFa23yAxSq YlBzb5UfX7fLVP4tN/CdJ3K4xZe2jrMTPfKYac7fXjrOXbAp1sBOwqeJirbr/kpehVL1 a/OMhy4RSXNFVkLbqc/ftJIlL76Ndgx2OSC2PWfNMW74XYZgHU7VQXiK2Jo6HTddRixM 1XPNRy6rz5EjngbGNkuvTgCq+B8/M5bLh4E8liw87oCNl8MBZY5nedYoxLkTGo32Tgr6 V3+OvoaG3vgVgx2bFxwRlzOMG1/4WdCAfaWn3+Bv8WrhvHLisDIyUWUjT+Az13bnMILN CBIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FkG+WUn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ca13-20020a056a02068d00b00578e40151basi17345673pgb.662.2023.09.27.07.54.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 07:54:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=FkG+WUn+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 3D6AC80C5CB4; Mon, 25 Sep 2023 10:03:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbjIYRDY (ORCPT + 99 others); Mon, 25 Sep 2023 13:03:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIYRDX (ORCPT ); Mon, 25 Sep 2023 13:03:23 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 412CAA2 for ; Mon, 25 Sep 2023 10:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695661397; x=1727197397; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=2YGqQ59W49DKDa7rl7BncAHczo5t6r7R4sqaWjrN8wE=; b=FkG+WUn+CqghVewzmrwInWms3Bpmyh6esBucddLktHagyhGJTw/CH88Z a9kbu+HJlKvNkl30PIPvYNp7+025az8pXyPz7KN3QIJcNbfgJnzlXxpyi WKYTB6rTF9IcNujRuBiObpYgZfsgaqlTkYeHkZFPOdPd6kU8DWkNMb/pr /bRJWaQKevbIA2O4d3Rex6fA7XfoBVazYSn0/mXvFYRR72r3RoaFo5Ejd fqEvwFNLbxruRJ9q9aOi7KSssk1kOGnzdaP/PiqeX4IXwlmQ9LHMOYJKJ lbx8Wbd9Jo0c3XyFTo5YGPYn+i1NHBeMY+3o9y5AXxvI71a0JsK0EhgEF g==; X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="384069694" X-IronPort-AV: E=Sophos;i="6.03,175,1694761200"; d="scan'208";a="384069694" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 10:02:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10843"; a="698056544" X-IronPort-AV: E=Sophos;i="6.03,175,1694761200"; d="scan'208";a="698056544" Received: from qiuxu-clx.sh.intel.com ([10.239.53.109]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 10:02:31 -0700 From: Qiuxu Zhuo To: tglx@linutronix.de Cc: arjan@linux.intel.com, bp@alien8.de, chang.seok.bae@intel.com, linux-kernel@vger.kernel.org, nik.borisov@suse.com, x86@kernel.org, qiuxu.zhuo@intel.com Subject: Re: [patch V3 00/30] x86/microcode: Cleanup and late loading enhancements Date: Tue, 26 Sep 2023 01:02:24 +0800 Message-Id: <20230925170224.57670-1-qiuxu.zhuo@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230912065249.695681286@linutronix.de> References: <20230912065249.695681286@linutronix.de> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 25 Sep 2023 10:03:24 -0700 (PDT) Hi Thomas, > ... > > The series is also available from git: > > git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git ucode-v3 > ... I tested the 'ucode-v3' code above, and it worked well on my tested machine. For more details, please refer to the test below: Tested Machine -------------- Intel Sapphire Rapids server with 2 sockets, each containing 48 cores, resulting in a total of 192 threads. Microcodes ---------- a) Microcode revisison of CPU : 0xab000130 b) Microcode revision in the initramfs : 0xab000140 // for early load c) Microcode revision in /lib/firmware/intel-ucode/* : 0xab000160 // for late load [ Microcode b) & c) headers both contain minirev 0x2b0000a1. ] Test Results ------------ The following test results showed that this 'ucode-v3' worked well for both early microcode loading and late microcode loading on this tested machine. Based on the test results: Tested-by: Qiuxu Zhuo Dmesg log --------- // Early load OK. [ 0.000000] microcode: updated early: 0xab000130 -> 0xab000140, date = 2022-11-04 ... [ 20.216675] microcode: Microcode Update Driver: v2.2. ... // Late load OK. [ 199.343654] microcode: Updated to revision 0xab000160, date = 2022-11-16 [ 199.352434] microcode: Microcode load: updated on 96 primary CPUs with 96 siblings [ 199.361069] microcode: Microcode revision: 0xab000140 -> 0xab000160 ... Thanks! -Qiuxu