From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3AD5381914 for ; Mon, 26 Dec 2016 23:50:33 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 26 Dec 2016 23:50:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,415,1477983600"; d="scan'208";a="1104591177" Received: from jyao1-mobl.ccr.corp.intel.com ([10.239.193.97]) by fmsmga002.fm.intel.com with ESMTP; 26 Dec 2016 23:50:31 -0800 From: Jiewen Yao To: edk2-devel@lists.01.org Cc: Jeff Fan , Star Zeng Date: Tue, 27 Dec 2016 15:50:24 +0800 Message-Id: <1482825026-3224-1-git-send-email-jiewen.yao@intel.com> X-Mailer: git-send-email 2.7.4.windows.1 Subject: [PATCH 0/2] MicrocodeUpdate enhancement X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2016 07:50:33 -0000 This series patches enhance MicrocodeUpdateDxe driver. 1) It cleanes up the flash write logic, move the Microcode region organization to a standalone function - UpdateMicrocodeFlashRegion(). 2) It fixes a corner case that BSP/AP are using different Microcode. The original logic only tries to apply Microcode to BSP. The new logic will try to apply Microcode to all processors. Cc: Jeff Fan Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao Jiewen Yao (2): UefiCpuPkg/MicrocodeUpdate: enhance flash write logic UefiCpuPkg/MicrocodeUpdate: Add MP support. UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeFmp.c | 222 +++++- UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdate.c | 786 ++++++++++++-------- UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdate.h | 143 +++- UefiCpuPkg/Feature/Capsule/MicrocodeUpdateDxe/MicrocodeUpdateDxe.inf | 4 +- 4 files changed, 816 insertions(+), 339 deletions(-) -- 2.7.4.windows.1