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 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EFAF01A1DFE for ; Fri, 9 Sep 2016 01:00:10 -0700 (PDT) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP; 09 Sep 2016 01:00:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,304,1470726000"; d="scan'208";a="6363209" Received: from jfan12-desk.ccr.corp.intel.com ([10.239.9.5]) by fmsmga006.fm.intel.com with ESMTP; 09 Sep 2016 01:00:08 -0700 From: Jeff Fan To: edk2-devel@lists.01.org Date: Fri, 9 Sep 2016 15:59:26 +0800 Message-Id: <20160909075933.14320-1-jeff.fan@intel.com> X-Mailer: git-send-email 2.9.3.windows.2 Subject: [Patch 0/7] Re-install SEC Platform Information PPI 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: Fri, 09 Sep 2016 08:00:11 -0000 Platform SEC Lib will save CPU BIST into CAR and install SEC Platform information(2) PPI. But after memory is ready, all data in CAR will be cleared. We update UefiCpuPkg/SecCore to re-install SEC platform information(2) PPI before CAR is cleared. We also update CpuMpPei driver to build Sec Platform Information2 PPI GUIDed-HOB to pass all CPU BIST date to DXE phase. Jeff Fan (7): UefiCpuPkg/CpuDxe: Fix duplicated status code report UefiCpuPkg/CpuMpPei: Add parameter BistInformationSize UefiCpuPkg/CpuMpPei: Fix BistData ouput error UefiCpuPkg/CpuMpPei: Build GUIDed-HOB to store all CPU BIST Data UefiCpuPkg/SecCore: Add SecBist.c UefiCpuPkg/SecCore: Abstract worker function GetBistFromHob() UefiCpuPkg/SecCore: Re-install SEC platform information(2) PPI UefiCpuPkg/CpuDxe/CpuMp.c | 29 +++-- UefiCpuPkg/CpuMpPei/CpuBist.c | 79 ++++++++---- UefiCpuPkg/CpuMpPei/CpuMpPei.h | 1 + UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 4 +- UefiCpuPkg/SecCore/SecBist.c | 268 +++++++++++++++++++++++++++++++++++++++ UefiCpuPkg/SecCore/SecCore.inf | 11 +- UefiCpuPkg/SecCore/SecMain.c | 5 + UefiCpuPkg/SecCore/SecMain.h | 55 +++++++- UefiCpuPkg/UefiCpuPkg.dsc | 3 + 9 files changed, 411 insertions(+), 44 deletions(-) create mode 100644 UefiCpuPkg/SecCore/SecBist.c -- 2.9.3.windows.2