From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: chasel.chiu@intel.com) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Fri, 31 May 2019 04:44:37 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2019 04:44:37 -0700 X-ExtLoop1: 1 Received: from cchiu4-mobl1.gar.corp.intel.com ([10.5.240.72]) by fmsmga008.fm.intel.com with ESMTP; 31 May 2019 04:44:35 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Nate DeSimone , Michael A Kubacki , Sai Chaganty Subject: [PATCH 0/2] Kabylake*Pkg: FSP 2.1 SEC handling. Date: Fri, 31 May 2019 19:42:49 +0800 Message-Id: <20190531114251.12024-1-chasel.chiu@intel.com> X-Mailer: git-send-email 2.13.3.windows.1 To support Dispatch mode PlatformSecLib needs: 1. Report PeiCoreFvLocationPPI to SecMain so PeiCore from FSP-M can be loaded. 2. Consume FspTempRamExitPpi produced by FSP to disable temporary memory. 0001-KabylakeSiliconPkg: Add FspTempRamExitPpi 0002-KabylakeOpenBoardPkg: Report PeiCoreFvLocation and consume FspTempRamExitPpi Cc: Nate DeSimone Cc: Michael A Kubacki Cc: Sai Chaganty Signed-off-by: Chasel Chiu Chasel, Chiu (2): KabylakeSiliconPkg: FSP 2.1 SEC handling. KabylakeOpenBoardPkg: FSP 2.1 SEC handling. .../FspWrapperPlatformSecLib.c | 186 +++++++++ .../PlatformInit.c | 47 +++ .../SecGetPerformance.c | 89 +++++ .../SecPlatformInformation.c | 78 ++++ .../SecRamInitData.c | 36 ++ .../SecTempRamDone.c | 73 ++++ .../SecFspWrapperPlatformSecLib/FsptCoreUpd.h | 40 ++ .../SecFspWrapperPlatformSecLib/Ia32/Fsp.h | 42 ++ .../Ia32/PeiCoreEntry.nasm | 130 +++++++ .../Ia32/SecEntry.nasm | 361 ++++++++++++++++++ .../Ia32/Stack.nasm | 72 ++++ .../SecFspWrapperPlatformSecLib.inf | 97 +++++ .../KabylakeRvp3/OpenBoardPkg.dsc | 2 +- .../KabylakeRvp3/OpenBoardPkg.fdf | 2 +- .../Include/Ppi/TempRamExitPpi.h | 50 +++ Silicon/Intel/KabylakeSiliconPkg/SiPkg.dec | 2 + 16 files changed, 1305 insertions(+), 2 deletions(-) create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/FspWrapperPlatformSecLib.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/PlatformInit.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecGetPerformance.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecPlatformInformation.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecRamInitData.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecTempRamDone.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/FsptCoreUpd.h create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/Fsp.h create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/PeiCoreEntry.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/SecEntry.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/Ia32/Stack.nasm create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/FspWrapper/Library/SecFspWrapperPlatformSecLib/SecFspWrapperPlatformSecLib.inf create mode 100644 Silicon/Intel/KabylakeSiliconPkg/Include/Ppi/TempRamExitPpi.h -- 2.19.1.windows.1