[edk2] [PATCH 12/45] MdeModulePkg/EdkiiSystemCapsuleLib: Add EdkiiSystemCapsuleLib instance.

2016-09-21 Thread Jiewen Yao
Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Library/EdkiiSystemCapsuleLib/EdkiiSystemCapsuleLib.c | 609 ++

[edk2] [PATCH 07/45] MdeModulePkg/MdeModulePkg.dec: Add capsule related definition.

2016-09-21 Thread Jiewen Yao
; Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/MdeModulePkg.dec | 106 1 file changed, 106 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 8d90f1

[edk2] [PATCH 14/45] MdeModulePkg/Esrt: Add ESRT_FW_TYPE_SYSTEMFIRMWARE check.

2016-09-21 Thread Jiewen Yao
lt;star.z...@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePk

[edk2] [PATCH 04/45] MdeModulePkg/Include: Add IniParsingLib header.

2016-09-21 Thread Jiewen Yao
r Zeng <star.z...@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com&g

[edk2] [PATCH 11/45] MdeModulePkg/DxeCapsuleLibNull: Add ProcessCapsules() interface.

2016-09-21 Thread Jiewen Yao
-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.c | 47 ++-- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Library/DxeCapsuleLibNull/DxeCaps

[edk2] [PATCH 16/45] MdeModulePkg/RecoveryModuleLoadPei: Add RecoveryModuleLoadPei.

2016-09-21 Thread Jiewen Yao
g.t...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen

[edk2] [PATCH 13/45] MdeModulePkg/PlatformFlashAccessLib: Add NULL PlatformFlashAccessLib.

2016-09-21 Thread Jiewen Yao
tribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.c | 54 MdeModulePkg/Library/PlatformFlashAccessLibNull/PlatformFlashAccessLibNull.inf | 40 +

[edk2] [PATCH 01/45] MdeModulePkg/Include: Add EDKII system FMP capsule header.

2016-09-21 Thread Jiewen Yao
;chao.b.zh...@intel.com> Cc: Jeff Fan <jeff@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Guid/EdkiiSystemFmpCapsule.h | 110 1 file changed, 110 insertions(

[edk2] [PATCH 10/45] MdeModulePkg/DxeCapsuleLibFmp: Add DxeCapsuleLibFmp instance.

2016-09-21 Thread Jiewen Yao
c: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c | 1538 MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLi

[edk2] [PATCH 08/45] MdeModulePkg/IniParsingLib: Add InitParsingLib instance.

2016-09-21 Thread Jiewen Yao
Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Library/IniParsingLib/IniParsingLib.c | 1053

[edk2] [PATCH 00/45] Add capsule update and recovery sample.

2016-09-21 Thread Jiewen Yao
: Jeff Fan <jeff@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Jiewen Yao (45): MdeModulePkg/Include: Add EDKII system FMP capsule header. MdeModulePkg/Include: Add EdkiiSystemCapsuleLib definition. MdeModulePk

[edk2] [PATCH 06/45] MdeModulePkg/CapsuleLib: Add ProcessCapsules() API.

2016-09-21 Thread Jiewen Yao
ntel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Library/CapsuleLib.h | 45 ++-- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Include/Library/CapsuleL

[edk2] [PATCH 02/45] MdeModulePkg/Include: Add EdkiiSystemCapsuleLib definition.

2016-09-21 Thread Jiewen Yao
Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Library/EdkiiSystemCapsuleLib.h | 152 1 file ch

[edk2] [PATCH 05/45] MdeModulePkg/Include: Add PlatformFlashAccessLib header.

2016-09-21 Thread Jiewen Yao
gt; Cc: Liming Gao <liming@intel.com> Cc: Chao Zhang <chao.b.zh...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Library/PlatformFlashAccessLib.h | 59 1 file c

[edk2] [PATCH 03/45] MdeModulePkg/Include: Add FmpAuthenticationLib header.

2016-09-21 Thread Jiewen Yao
; Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Include/Library/FmpAuthenticationLib.h | 91 1 file changed, 91 insertions(+) diff --git a/MdeModulePkg/Include/Library/FmpAuthenticationL

[edk2] [PATCH] Maintainers.txt: Add Giri as 2nd maintainer

2016-09-06 Thread Jiewen Yao
Add Giri as 2nd maintainer to IntelFsp2*Pkg and IntelSiliconPkg. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Amy Chan <amy.c...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- Maintainers.txt | 3 +

[edk2] [PATCH] Vlv2TbltDevicePkg/PlatformInitPei: Support USB init

2016-09-06 Thread Jiewen Yao
: David Wei <david@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: David Wei <david@intel.com> --- Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c | 26 ++--- 1 file changed, 1

[edk2] [PATCH] Vlv2TbltDevicePkg/dec: Correct wrong default value.

2016-09-06 Thread Jiewen Yao
The default PcdPeiIchEhciControllerMemoryBaseAddress value 0xFD00 conflict with the default TXE SECUMA MMIO address. So we update to 0xFC00 to avoid conflict. Cc: David Wei <david@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao &

[edk2] [PATCH] Maintainers.txt: Add IntelFsp2Pkg, IntelFsp2WrapperPkg and IntelSiliconPkg.

2016-08-22 Thread Jiewen Yao
Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Satya Yarlagadda <satya.p.yarlaga...@intel.com> Cc: Amy Chan <amy.c...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- Maintainers.txt | 12

[edk2] [PATCH 0/4] Add missing License.txt for IntelFsp related package.

2016-07-22 Thread Jiewen Yao
This series patch add missing License.txt for IntelFsp related package. Jiewen Yao (4): IntelFsp2Pkg: Add missing License.txt. IntelFsp2WrapperPkg: Add missing License.txt. IntelFspPkg: Add missing License.txt. IntelFspWrapperPkg: Add missing License.txt. IntelFsp2Pkg/License.txt

[edk2] [PATCH 4/4] IntelFspWrapperPkg: Add missing License.txt.

2016-07-22 Thread Jiewen Yao
Add missing License.txt. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFspWrapperPkg/License.txt | 25 + 1 file changed, 25 insertions(+)

[edk2] [PATCH 2/4] IntelFsp2WrapperPkg: Add missing License.txt.

2016-07-22 Thread Jiewen Yao
Add missing License.txt. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2WrapperPkg/License.txt | 25 + 1 file changed, 25 insertions(+)

[edk2] [PATCH V2] MdeModulePkg/PiSmmCore: Replace BASE_4GB with MAX_ADDRESS check.

2016-06-29 Thread Jiewen Yao
Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 2 +- MdeModulePkg/Core/PiSmmCore/Pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) d

[edk2] [PATCH] MdeModulePkg/PiSmmCore: Replace BASE_4GB with MAX_ADDRESS check.

2016-06-29 Thread Jiewen Yao
Laszlo Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 2 +- MdeModulePkg/Core/PiSmmCore/Pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) d

[edk2] [PATCH] MdeModulePkg/PiSmmCore: Replace BASE_4GB with MAX_ADDRESS check.

2016-06-28 Thread Jiewen Yao
ibuted-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 2 +- MdeModulePkg/Core/PiSmmCore/Pool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Core/PiSmm

[edk2] [PATCH] IntelFsp2Pkg: rename GetFspVpdDataPointer() to GetFspCfgRegionDataPointer()

2016-06-17 Thread Jiewen Yao
aurice Ma <maurice...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2Pkg/Include/Library/FspCommonLib.h | 6 +++--- IntelFsp2Pkg/Library/BaseFspCommonLib/FspCommonLib.c | 6 +++--- 2 files changed

[edk2] [PATCH] IntelFsp2WrapperPkg: Add support to handle ResetRequired return Status from FSP.

2016-06-16 Thread Jiewen Yao
Mudusuru <giri.p.mudus...@intel.com> Cc: Amy Chan <amy.c...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Satya Yarlagadda <satya.p.yarlaga...@intel.com> Signed-off-by: Jiewen Yao <jiewen@intel.com> --- .../FspWrapperNotifyDxe/FspWrap

[edk2] [PATCH] InterFsp2Pkg:Tool: Add user manual for SplitFspBin tool.

2016-06-14 Thread Jiewen Yao
d-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- .../Tools/UserManuals/SplitFspBinUserManual.md | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 IntelFsp2Pkg/Tools/UserManuals/SplitFspBinUserManual.md d

[edk2] [PATCH] MdePkg/BaseLib: Add 2 more safe string functions.

2016-06-02 Thread Jiewen Yao
Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdePkg/Include/Library/BaseLib.h| 94 - MdePkg/Library/BaseLib/SafeString.c | 196 +++- 2

[edk2] [PATCH] MdePkg/Hsti: Fix a memory allocation check issue.

2016-06-02 Thread Jiewen Yao
Cc: Liming Gao <liming@intel.com> Cc: Amy Chan <amy.c...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdePkg/Library/DxeHstiLib/HstiDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[edk2] [PATCH 0/2] Add IntelSiliconPkg

2016-05-31 Thread Jiewen Yao
This series patch adds the initial version of IntelSiliconPkg and an include file. We will use IntelSiliconPkg for open source common Intel silicon related modules. Jiewen Yao (2): IntelSiliconPkg: Add initial version. IntelSiliconPkg/IgdOpRegion: Add definition for Intel IGD OpRegion

[edk2] [PATCH 1/2] IntelSiliconPkg: Add initial version.

2016-05-31 Thread Jiewen Yao
This package will include open source common Intel silicon related modules. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelSiliconPkg/Contributions

[edk2] [PATCH 2/2] IntelSiliconPkg/IgdOpRegion: Add definition for Intel IGD OpRegion.

2016-05-31 Thread Jiewen Yao
Add IGD OpRegion definition from Intel Integrated Graphics Device OpRegion Specification. at https://01.org/sites/default/files/documentation/acpi_igd_opregion_spec_0.pdf Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by:

[edk2] [PATCH] MdePkg/BaseLib: Add more comments for safe string functions.

2016-05-22 Thread Jiewen Yao
0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdePkg/Include/Library/BaseLib.h| 36 MdePkg/Library/BaseLib/SafeString.c | 36 2 files changed, 72 insertions(+) diff --git a/MdePkg/Include/Library/BaseLib.

[edk2] [PATCH] IntelFsp2WrapperPkg: Update gFspWrapperTokenSpaceGuid to gIntelFsp2WrapperTokenSpaceGuid.

2016-05-20 Thread Jiewen Yao
l.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf

[edk2] [PATCH] IntelFsp2WrapperPkg: Update gFspWrapperTokenSpaceGuid to gIntelFsp2WrapperTokenSpaceGuid.

2016-05-20 Thread Jiewen Yao
l.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.inf

[edk2] [PATCH] MdePkg/WSMT.h: update header comment to use official URL link.

2016-05-19 Thread Jiewen Yao
Update WSMT table link to official MSDN URL. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- MdePkg/Includ

[edk2] [PATCH] IntelFsp2WrapperPkg/FspmWrapperPeim: Update debug message match code.

2016-05-18 Thread Jiewen Yao
Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c b/IntelFsp2WrapperPkg/FspmWrapperPeim/FspmWrapperPeim.c

[edk2] [PATCH] IntelFsp2Pkg/FspApi.h: Add comment for structure definition.

2016-05-18 Thread Jiewen Yao
e Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> --- IntelFsp2Pkg/Include/FspEas/FspApi.h | 33 + 1 file changed, 33 insertions(+) diff --git a/IntelFsp2Pkg/Include/FspEas/FspApi.h b/IntelFsp2Pkg/Include/FspEas/FspApi.h

[edk2] [PATCH] MdeModulePkg-DxeCore: rename CoreGetMemoryMapPropertiesTable

2016-05-13 Thread Jiewen Yao
it is NOT related to PropertiesTable.c We rename it to avoid confusing. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Feng Tian <feng.t...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <

[edk2] [PATCH 15/19] IntelFspWrapperPkg/FspWrapperPlatformSecLib: Align PlatformSecLib defined in UefiCpuPkg.

2016-05-02 Thread Jiewen Yao
, or move FSP1.1 support to platform directory. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen...

[edk2] [PATCH 16/19] IntelFspWrapperPkg/FspWrapperSecCore: Remove FspWrapperSecCore.

2016-05-02 Thread Jiewen Yao
dus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Re

[edk2] [PATCH 18/19] IntelFspWrapperPkg/FspWrapperNotifyDxe: Update FspNotifyDxe to FspWrapperNotifyDxe.

2016-05-02 Thread Jiewen Yao
reement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> --- IntelFspWrapperPkg/FspNoti

[edk2] [PATCH 19/19] IntelFspWrapperPkg: Update DEC/DSC for FSP2.0.

2016-05-02 Thread Jiewen Yao
use an old EDK branch, or move FSP1.1 support to platform directory. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by:

[edk2] [PATCH 17/19] IntelFspWrapperPkg/FspInit: Split FspInitPei to FspmWrapperPeim and FspsWrapperPeim.

2016-05-02 Thread Jiewen Yao
d-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> --- I

[edk2] [PATCH 12/19] IntelFspWrapperPkg/FspWrapperApiTestLib: Add ApiTestLib as hook.

2016-05-02 Thread Jiewen Yao
;ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangar

[edk2] [PATCH 13/19] IntelFspWrapperPkg/FspWrapperHobProcessLib: Update FspHobProcessLib to FspWrapperHobProcessLib.

2016-05-02 Thread Jiewen Yao
<giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Re

[edk2] [PATCH 14/19] IntelFspWrapperPkg/FspWrapperPlatformLib: Update FspPlatformInfoLib to FspWrapperPlatformLib.

2016-05-02 Thread Jiewen Yao
;ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Ran

[edk2] [PATCH 09/19] IntelFspPkg/Tool: Update FSP tool for FSP2.0.

2016-05-02 Thread Jiewen Yao
oCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> --- IntelFspPkg/Tools/

[edk2] [PATCH 11/19] IntelFspWrapperPkg/FspWrapperApiLib: Update FspApiLib to FspWrapperApiLib.

2016-05-02 Thread Jiewen Yao
Add Wrapper to indicate it for FspWrapper only. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <

[edk2] [PATCH 08/19] IntelFspPkg: Update DEC/DSC for FSP2.0.

2016-05-02 Thread Jiewen Yao
branch, or move FSP1.1 support to platform directory. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <

[edk2] [PATCH 05/19] IntelFspPkg/FspSecPlatformLib: Update FSP SecPlatform lib for FSP2.0.

2016-05-02 Thread Jiewen Yao
P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Ran

[edk2] [PATCH 07/19] IntelFspPkg/FspNotifyPhase: Separate FSP NotifyPhase from DxeIpl to new module.

2016-05-02 Thread Jiewen Yao
: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru &l

[edk2] [PATCH 06/19] IntelFspPkg/FspSecCore: Update FSP SecCore for FSP2.0.

2016-05-02 Thread Jiewen Yao
ent 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> --- IntelFspPkg/FspSecCore/FspSecCore.inf

[edk2] [PATCH 03/19] IntelFspPkg-FspCommonLib: Update FSP common lib for FSP2.0.

2016-05-02 Thread Jiewen Yao
d-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> ---

[edk2] [PATCH 02/19] IntelFspPkg: Update FSP private header file used by FSP2.0 implementation.

2016-05-02 Thread Jiewen Yao
; Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-b

[edk2] [PATCH 04/19] IntelFspPkg/FspPlatformLib: Update FSP platform lib for FSP2.0.

2016-05-02 Thread Jiewen Yao
l.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-b

[edk2] [PATCH 01/19] IntelFspPkg: Update FSP header file to follow FSP2.0 spec.

2016-05-02 Thread Jiewen Yao
. Cc: Giri P Mudusuru <giri.p.mudus...@intel.com> Cc: Maurice Ma <maurice...@intel.com> Cc: Ravi P Rangarajan <ravi.p.rangara...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru &l

[edk2] [PATCH 00/19] Add FSP2.0 support.

2016-05-02 Thread Jiewen Yao
oCore Contribution Agreement 1.0 Signed-off-by: Jiewen Yao <jiewen@intel.com> Reviewed-by: Giri P Mudusuru <giri.p.mudus...@intel.com> Reviewed-by: Maurice Ma <maurice...@intel.com> Reviewed-by: Ravi P Rangarajan <ravi.p.rangara...@intel.com> *** BLURB HERE *** Jiewen

[edk2] [PATCH 11/12] SecurityPkg-Opal(2): Enhance AHCI Bar MMIO region check.

2016-04-22 Thread Jiewen Yao
This patch enhance OPAL password SMM driver to check SMM bar is valid MMIO besides outside of SMRAM. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Dong, Eric" Cc: "Tian, Feng" Cc: "Laszlo Ersek"

[edk2] [PATCH 06/12] MdeModulePkg-FPDT(1): Add SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET definition.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. A new command SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET is added, because we need to support get partial PerformanceData to fixed SMM communication buffer. If performance data is bigger than

[edk2] [PATCH 08/12] MdeModulePkg-FPDT(3): Use SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET in FpdtDxe.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. Update FpdtDxe to use fixed SMM communication buffer to get performance data by SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET API. This is designed to meet Microsoft WSMT table definition on

[edk2] [PATCH 00/12] Enhance SMM Communication by using fixed comm buffer.

2016-04-22 Thread Jiewen Yao
intel.com> Reviewed-by: "Tian, Feng" <feng.t...@intel.com> Reviewed-by: "Gao, Liming" <liming@intel.com> Jiewen Yao (12): MdeModulePkg: Add EDKII_PI_SMM_COMMUNICATION_REGION_TABLE definition. MdeModulePkg: Add new driver to publish EDKII_PI_SMM_COMMUNICATION_RE

[edk2] [PATCH 12/12] MdePkg-SmmMemLib: Enhance SmmIsBufferOutsideSmmValid() check for fixed comm buffer.

2016-04-22 Thread Jiewen Yao
This patch adds more check in SmmIsBufferOutsideSmmValid(), to make sure that SMM communication buffer is only EfiReservedMemoryType/EfiRuntimeServicesCode/ EfiRuntimeServicesData/EfiACPIMemoryNVS. So that the communication buffer will not touch any OS memory. The assumption is that a platform

[edk2] [PATCH 05/12] MdeModulePkg-MemoryProfile(3): Use SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in MemoryProfileInfo.

2016-04-22 Thread Jiewen Yao
This patch enhance SMM memory profile SMM communication by using fixed SMM communication buffer. Update MemoryProfileInfo APP to use fixed SMM communication buffer to get profile data by SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET API. This is designed to meet Microsoft WSMT table

[edk2] [PATCH 01/12] MdeModulePkg: Add EDKII_PI_SMM_COMMUNICATION_REGION_TABLE definition.

2016-04-22 Thread Jiewen Yao
This configuration table is used to describe platform pre-allocated memory for SMM communication buffer. If DXE driver wants to communicate with SMM agent, it can use this memory as SMM communication buffer instead of allocate new memory region. This is designed to meet Microsoft WSMT table

[edk2] [PATCH 07/12] MdeModulePkg-FPDT(2): Add SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET in FpdtSmm Handler.

2016-04-22 Thread Jiewen Yao
This patch enhance performance data SMM communication by using fixed SMM communication buffer. Update FpdtSmm to handle SMM_FPDT_FUNCTION_GET_BOOT_RECORD_DATA_BY_OFFSET request. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Gao, Liming"

[edk2] [PATCH 04/12] MdeModulePkg-MemoryProfile(2): Add SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET in PiSmmCore.

2016-04-22 Thread Jiewen Yao
This patch enhance SMM memory profile SMM communication by using fixed SMM communication buffer. Update PiSmmCore to handle SMRAM_PROFILE_COMMAND_GET_PROFILE_DATA_BY_OFFSET request. This is designed to meet Microsoft WSMT table definition on FIXED_COMM_BUFFERS requirement. Cc: "Zeng, Star"

[edk2] [PATCH] MdePkg: Add WSMT definition.

2016-04-21 Thread Jiewen Yao
This patch adds Windows SMM Security Mitigation Table @ http://download.microsoft.com/download/1/8/A/18A21244-EB67-4538-BAA2-1A54E0E490B6/WSMT.docx Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming"

[edk2] [patch] SecurityPkg: Clear LocalAuthSession content after use.

2016-03-09 Thread Jiewen Yao
Some commands in DxeTcg2PhysicalPresenceLib accept AuthSession as input parameter and copy to local command buffer. After use, this AuthSession content should be zeroed, because there might be some secrete there. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen"

[edk2] [patch] SecurityPkg: Fix Tcg2 SubmitRequestToPreOSFunction() fail in second times.

2016-03-09 Thread Jiewen Yao
Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction() has check if current request is same as previous. But it forget check RequestParameter, which causes second request fail to process, if RequestParameter is different. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao,

[edk2] [patch] SecurityPkg: Add Tpm2 prefix to lib to avoid conflict.

2016-03-08 Thread Jiewen Yao
Tpm2Ptp.c is library, but it miss Tpm2 prefix for IsPtpPresence() and GetPtpInterface(). There might be risk as name symbol conflict. This patch adds Tpm2 prefix for them. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Zhang, Chao

[edk2] [patch V3] MdeModulePkg: Fix Memory Attributes table type issue

2016-02-22 Thread Jiewen Yao
According to the spec, each entry in the Memory Attributes table shall have the same type as the region it was carved out of in the UEFI memory map. The current attribute uses RTData for PE Data, but it should be RTCode. This patch fixed the issue. It is validated with or without PropertiesTable.

[edk2] [patch V2] MdeModulePkg: Fix Memory Attributes table type issue

2016-02-19 Thread Jiewen Yao
According to the spec, each entry in the Memory Attributes table shall have the same type as the region it was carved out of in the UEFI memory map. The current attribute uses RTData for PE Data, but it should be RTCode. This patch fixed the issue. It is validated with or without PropertiesTable.

[edk2] [patch] MdeModulePkg: Fix Memory Attributes table type issue

2016-02-19 Thread Jiewen Yao
According to the spec, each entry in the Memory Attributes table shall have the same type as the region it was carved out of in the UEFI memory map. The current attribute uses RTData for PE Data, but it should be RTCode. This patch fixed the issue. It is validated with or without PropertiesTable.

[edk2] [patch] MdePkg: Change PcdPropertiesTableEnable default value to FALSE

2016-02-17 Thread Jiewen Yao
UEFI2.6 specification does not recommend to use BIT0 attribute for PropertiesTable, so we change default value to FALSE. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" ---

[edk2] [patch 3/7] MdeModulePkg: Add MemoryAttributesTable generation.

2016-01-29 Thread jiewen yao
Add MemoryAttributesTable generation in DxeCore. We leverage the information collected by original PropertiesTable, and publish runtime code/data to another standalone table. So that this is a compatible solution to report more PE Code/Data information. Contributed-under: TianoCore Contribution

[edk2] [patch 5/7] MdeModulePkg: Add CoreInitializeMemoryAttributesTable() to header file.

2016-01-29 Thread jiewen yao
Add CoreInitializeMemoryAttributesTable() to DXE Core header file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdeModulePkg/Core/Dxe/DxeMain.h | 11 ++- 1 file changed, 10

[edk2] [patch 6/7] MdePkg: Call CoreInitializeMemoryAttributesTable() in DXE Entrypoint.

2016-01-29 Thread jiewen yao
Call CoreInitializeMemoryAttributesTable() in DXE Entrypoint. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 3 ++- 1 file changed, 2 insertions(+),

[edk2] [patch 1/7] MdePkg: Add UEFI2.6 MemoryAttributes Table definition.

2016-01-29 Thread jiewen yao
Add UEFI2.6 MemoryAttributes Table definition header file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdePkg/Include/Guid/MemoryAttributesTable.h | 34 + 1

[edk2] [patch 2/7] MdePkg: Add UEFI2.6 MemoryAttributesTable GUID

2016-01-29 Thread jiewen yao
Add UEFI2.6 MemoryAttributesTable GUID definition. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdePkg/MdePkg.dec | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff

[edk2] [patch 4/7] MdeModulePkg: Update PropertiesTable for MemoryAttributesTable.

2016-01-29 Thread jiewen yao
MemoryAttributesTable generation need information in PropertiesTable. In memory attributes table generation path, PropertiesTable need record original memory map and do not merge the new memory map entry cross original memory map boundary. Contributed-under: TianoCore Contribution Agreement 1.0

[edk2] [patch 0/7] Add UEFI2.6 MemoryAttributesTable support.

2016-01-29 Thread jiewen yao
Agreement 1.0 Signed-off-by: "Yao, Jiewen" <jiewen@intel.com> Cc: "Gao, Liming" <liming@intel.com> jiewen yao (7): MdePkg: Add UEFI2.6 MemoryAttributes Table definition. MdePkg: Add UEFI2.6 MemoryAttributesTable GUID MdeModulePkg: Add MemoryAttributes

[edk2] [patch 7/7] MdePkg: Update DxeCore INF for MemoryAttributesTable.

2016-01-29 Thread jiewen yao
Update DxeCore INF for MemoryAttributesTable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdeModulePkg/Core/Dxe/DxeMain.inf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[edk2] [patch] MdePkg: Add missing definition for ACPI6.0.

2016-01-28 Thread jiewen yao
Add missing definition in ACPI6.0 specification. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdePkg/Include/IndustryStandard/Acpi60.h | 5 - 1 file changed, 4 insertions(+), 1

[edk2] [patch] MdePkg: Update Acpi.h to include 6.1.

2016-01-28 Thread jiewen yao
Update Acpi.h to include latest Acpi6.1 header file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Gao, Liming" --- MdePkg/Include/IndustryStandard/Acpi.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[edk2] [patch] SecurityPkg: Correct data copy in Tpm2NvReadPublic.

2016-01-25 Thread jiewen yao
1) NvPublic.dataSize data should be got from original receive buffer, instead of returned NvPublic. 2) NvNameSize means the size of NvName without size field. The original code treats it to be size of NvName with size field, so the last 2 bytes are missing. This patch fixed problem.

[edk2] [patch] SecurityPkg: Add TPM PTP detection in Tpm12SubmitCommand.

2016-01-25 Thread jiewen yao
Previously, we only add PTP detection in Tpm12RequestUseTpm, because RequestUseTpm does not check TPM command. This patch also adds similar check in Tpm12SubmitCommand. PTP device does not accept TPM12 command, so that it can return error on PTP device, instead of wait till timeout.

[edk2] [patch] SecurityPkg: Update TCG PPI "1.3" for TCG2.

2016-01-21 Thread jiewen yao
The Tcg2Smm follows TCG PPI 1.3 specification. This patch updates the ASL code string to 1.3. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Zhang, Chao B" --- SecurityPkg/Tcg/Tcg2Smm/Tpm.asl | 2 +- 1

[edk2] [patch 2/6] MdePkg: Add TPM TIS definition.

2016-01-21 Thread jiewen yao
TPM TIS (TPM Interface Specification) is TCG standard. Add definition here. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" CC: "Zhang, Chao B" --- MdePkg/Include/IndustryStandard/TpmTis.h | 183

[edk2] [patch 5/6] SecurityPkg: Add TPM PTP detection in TPM12 device lib.

2016-01-21 Thread jiewen yao
The TPM RequestUseTpm API can only set register to use the hardware, but it can not be used to distinguish TPM12 or TPM2 device. TPM PTP defines same address with TIS, so we need detect the TPM device is PTP or TIS in RequestUseTpm. Also, Tcg2Config driver call RequestUseTpm to detect TPM hardware

[edk2] [patch 4/6] SecurityPkg: Add TPM PTP support in TCG2 SMM.

2016-01-21 Thread jiewen yao
TPM2 hardware may support PTP FIFO/TIS interface or PTP CRB interface. The original ACPI table only handles PTP FIFO/TIS interface. This patch adds PTP CRB interface support. The current logic is that SMM driver will runtime detect TPM device interface (CRB or FIFO/TIS) and publish TPM2 table

[edk2] [patch 0/6] Add TPM PTP CRB support.

2016-01-21 Thread jiewen yao
This series patches enable TPM PTP CRB support in EDKII. TPM PTP (Platform TPM Profile) is TCG standard. It covers both FIFO/TIS and CRB (Command-Response-Buffer). jiewen yao (6): MdePkg: Add TPM PTP definition. MdePkg: Add TPM TIS definition. SecurityPkg: Add TPM PTP support in TPM2 device

[edk2] [patch 1/6] MdePkg: Add TPM PTP definition.

2016-01-21 Thread jiewen yao
TPM PTP (Platform TPM Profile) is TCG standard. Add definition here. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" CC: "Zhang, Chao B" --- MdePkg/Include/IndustryStandard/TpmPtp.h | 522

[edk2] [patch 6/6] SecurityPkg: Add TPM PTP support in TCG2 Config.

2016-01-21 Thread jiewen yao
This patch add PTP CRB support in BIOS Setup. It can: 1) Display the PTP capability (TIS/FIFO/CRB) 2) Display the PTP current interface (TIS/FIFO/CRB) 3) Let user select CRB/FIFO, if supported. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen"

[edk2] [patch] SecurityPkg: Mark MorLock module deprecated.

2016-01-17 Thread jiewen yao
This module only handles MOR lock v1. Now MOR lock V2 solution is published and added in variable driver. So this module can be deprecated. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Zhang, Chao B" Cc:

[edk2] [patch V2 1/3] MdeModulePkg: Add MorLockSmm to variable driver.

2016-01-17 Thread jiewen yao
Microsoft published secure MOR implementation at https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx with revision 2 update. See URL for tech detail. Previous revision 1 is handled in SecurityPkg\Tcg\ MemoryOverwriteRequestControlLock. But the VarCheck API can not

[edk2] [patch V2 0/3] Add MorLock to variable driver

2016-01-17 Thread jiewen yao
Microsoft published secure MOR implementation at https://msdn.microsoft.com/en-us/library/windows/hardware/mt270973(v=vs.85).aspx with revision 2 update. This series patches add MOR lock revision 2 to variable driver. jiewen yao (3): MdeModulePkg: Add MorLockSmm to variable driver

[edk2] [patch V2 3/3] MdeModulePkg: Add MorLock to variable driver.

2016-01-17 Thread jiewen yao
This patch adds MorLock function to Variable main function. It also updates corresponding INF file to pass build. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" Cc: "Zhang, Chao B" Cc: "Zeng, Star"

[edk2] [patch V2 2/3] MdeModulePkg: Add MorLockDxe to variable driver.

2016-01-17 Thread jiewen yao
Per secure MOR implementation document, it is not proper to add MOR lock in non-SMM version, because DXE version can not provide protection. This patch add standalone TcgMorLockDxe implementation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen"

<    2   3   4   5   6   7   8   >