[edk2] [Patch v2 08/14] UefiCpuPkg/Include/Register/ArchitecturalMsr.h: Change structure definition.

2018-09-21 Thread Eric Dong
which is reserved in old version: MSR_IA32_RTIT_CTL_REGISTER Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 22 -- 1 file changed, 16

[edk2] [Patch v2 10/14] UefiCpuPkg/Include/Register/Msr/P6Msr.h: Remove old MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Remove MSR which not existed in 2018-05 version spec: MSR_P6_ROB_CR_BKUPTMPDR6. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/P6Msr.h | 48

[edk2] [Patch v2 12/14] UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h: Add new MSR name and keep old one.

2018-09-21 Thread Eric Dong
define MSR_SKYLAKE_SGXOWNER0 MSR_SKYLAKE_SGXOWNEREPOCH0 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h | 40 +++- 1 file changed, 27 inse

[edk2] [Patch v2 14/14] UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h: Change structure definition.

2018-09-21 Thread Eric Dong
c: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h | 59 +--- 1 file changed, 45 insertions(+), 14 deletions(-) diff --git a/UefiCpuP

[edk2] [Patch v2 09/14] UefiCpuPkg/Include/Register/Msr/Core2Msr.h: Remove old MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Remove old MSR which not existed in 2018-05 version spec: 1. MSR_CORE2_BBL_CR_CTL3 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/Core2Msr.h

[edk2] [Patch v2 13/14] UefiCpuPkg/Include/Register/Msr/GoldmontMsr.h: Add new MSR name and keep old one.

2018-09-21 Thread Eric Dong
define MSR_GOLDMONT_SGXOWNER0 MSR_GOLDMONT_SGXOWNEREPOCH0 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/GoldmontMsr.h | 34 +++ 1 file chang

[edk2] [Patch v2 11/14] UefiCpuPkg/Include/Register/Msr/CoreMsr.h: Remove old MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Remove old MSR which not existed in 2018-05 version spec: 1. MSR_CORE_ROB_CR_BKUPTMPDR6 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr

[edk2] [Patch v2 07/14] UefiCpuPkg/Include/Register/ArchitecturalMsr.h: Add new MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Add new MSRs: MSR_IA32_L2_QOS_CFG/MSR_IA32_CSTAR. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 64 ++ 1

[edk2] [Patch v2 02/14] UefiCpuPkg/Include/Register/Msr/GoldmontPlusMsr.h: Add new MSR file for goldmont plus microarchitecture.

2018-09-21 Thread Eric Dong
Changes includes: 1. Add new MSR file which used for goldmont plus microarchitecture. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr.h | 7

[edk2] [Patch v2 04/14] UefiCpuPkg/Include/Register/Msr/*.h: Add new MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Add new MSR: MSR_*_MSRUNCORE_RATIO_LIMIT Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/BroadwellMsr.h | 54 + UefiCpuPkg

[edk2] [Patch v2 03/14] UefiCpuPkg/Include/Register/Msr/SilvermontMsr.h: Add new MSR.

2018-09-21 Thread Eric Dong
Changes includes: 1. Add new MSR: MSR_SILVERMONT_PLATFORM_INFO Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/SilvermontMsr.h | 48 + 1 file

[edk2] [Patch v2 01/14] UefiCpuPkg/Include/Register/Msr: Update reference spec info.

2018-09-21 Thread Eric Dong
ael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 44 ++--- UefiCpuPkg/Include/Register/Msr/AtomMsr.h| 28 ++-- UefiCpuPkg/Include/Register/Msr/BroadwellMsr.h

[edk2] [Patch v2 00/14] Update MSR definitions

2018-09-21 Thread Eric Dong
Signed-off-by: Eric Dong Eric Dong (14): UefiCpuPkg/Include/Register/Msr: Update reference spec info. UefiCpuPkg/Include/Register/Msr/GoldmontPlusMsr.h: Add new MSR file for goldmont plus microarchitecture. UefiCpuPkg/Include/Register/Msr/SilvermontMsr.h: Add new MSR. UefiCpuPkg/Include

[edk2] [Patch 01/14] UefiCpuPkg/Include/Register/Msr: Update reference spec info.

2018-09-17 Thread Eric Dong
ael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 44 ++--- UefiCpuPkg/Include/Register/Msr/AtomMsr.h| 28 ++-- UefiCpuPkg/Include/Register/Msr/BroadwellMsr.h

[edk2] [Patch 02/14] UefiCpuPkg/Include/Register/Msr/GoldmontPlusMsr.h: Add new MSR file for goldmont plus microarchitecture.

2018-09-17 Thread Eric Dong
Changes includes: 1. Add new MSR file which used for goldmont plus microarchitecture. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr.h | 7

[edk2] [Patch 09/14] UefiCpuPkg/Include/Register/Msr/Core2Msr.h: Remove old MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Remove old MSR which not existed in 2018-05 version spec: 1. MSR_CORE2_BBL_CR_CTL3 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/Core2Msr.h

[edk2] [Patch 12/14] UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h: Add new MSR name and keep old one.

2018-09-17 Thread Eric Dong
define MSR_SKYLAKE_SGXOWNER0 MSR_SKYLAKE_SGXOWNEREPOCH0 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h | 40 +++- 1 file changed, 27 inse

[edk2] [Patch 14/14] UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h: Change structure definition.

2018-09-17 Thread Eric Dong
ateRange:7; UINT32 Reserved1:9; Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h | 53 ++-- 1 file changed, 42 insertions(+), 11 deletion

[edk2] [Patch 13/14] UefiCpuPkg/Include/Register/Msr/GoldmontMsr.h: Add new MSR name and keep old one.

2018-09-17 Thread Eric Dong
define MSR_GOLDMONT_SGXOWNER0 MSR_GOLDMONT_SGXOWNEREPOCH0 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/GoldmontMsr.h | 34 +++ 1 file chang

[edk2] [Patch 11/14] UefiCpuPkg/Include/Register/Msr/CoreMsr.h: Remove old MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Remove old MSR which not existed in 2018-05 version spec: 1. MSR_CORE_ROB_CR_BKUPTMPDR6 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr

[edk2] [Patch 08/14] UefiCpuPkg/Include/Register/ArchitecturalMsr.h: Change structure definition.

2018-09-17 Thread Eric Dong
Changes includes: 1. Change fields which is reserved in old version: MSR_IA32_RTIT_CTL_REGISTER Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 22

[edk2] [Patch 05/14] UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h: Add new MSR.

2018-09-17 Thread Eric Dong
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h | 249 ++- 1 file changed, 246 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/Include/Register/Msr/XeonPhiMsr.h b/UefiCpuPkg/Include/Register/Msr

[edk2] [Patch 07/14] UefiCpuPkg/Include/Register/ArchitecturalMsr.h: Add new MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Add new MSRs: MSR_IA32_L2_QOS_CFG/MSR_IA32_CSTAR. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 64 ++ 1

[edk2] [Patch 10/14] UefiCpuPkg/Include/Register/Msr/P6Msr.h: Remove old MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Remove MSR which not existed in 2018-05 version spec: MSR_P6_ROB_CR_BKUPTMPDR6. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/P6Msr.h | 48

[edk2] [Patch 06/14] UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h: Add new MSRs.

2018-09-17 Thread Eric Dong
Changes includes: 1. Add new MSR definitions. 2. Add support platform info. Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/SkylakeMsr.h | 1548

[edk2] [Patch 04/14] UefiCpuPkg/Include/Register/Msr/*.h: Add new MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Add new MSR: MSR_*_MSRUNCORE_RATIO_LIMIT Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/BroadwellMsr.h | 54 + UefiCpuPkg

[edk2] [Patch 03/14] UefiCpuPkg/Include/Register/Msr/SilvermontMsr.h: Add new MSR.

2018-09-17 Thread Eric Dong
Changes includes: 1. Add new MSR: MSR_SILVERMONT_PLATFORM_INFO Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/Msr/SilvermontMsr.h | 48 + 1 file

[edk2] [Patch 00/14] Update MSR definitions.

2018-09-17 Thread Eric Dong
structure just change the original reserved bits to valid bits, should have no impact for the current code. Detail see patch 8 and patch 14 Cc: Michael D Kinney Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Eric Dong (14

[edk2] [Patch] SecurityPkg/TcgStorageOpalLib: Fixed correct user password not works issue.

2018-09-16 Thread Eric Dong
TryLimit count, code will return exceed TryLimit error. Cc: Wu Hao Cc: Chu Maggie Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalUtil.c | 1 - 1 file changed, 1 deletion(-) diff --git a/SecurityPkg/Library

[edk2] [Patch] UefiCpuPkg/MpInitLib: Fix ECC issues.

2018-09-04 Thread Eric Dong
Fix trailing white spaces and invalid line ending issue. Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- UefiCpuPkg/Library/MpInitLib/MpLib.h

[edk2] [Patch v2] MdeModulePkg/PiSmmCore: Check valid memory range.

2018-08-21 Thread Eric Dong
ges, then call SmmFreePages to free same pages return success. 2. Call AllocatePages in Dxe then call SmmFreePages to free same pages, return failure. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModule

[edk2] [Patch] MdeModulePkg/PiSmmCore: Check valid memory range.

2018-08-20 Thread Eric Dong
. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1098 Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Core/PiSmmCore/Page.c | 39 ++ 1 file changed, 39 insertions(+) diff --git a/MdeModulePkg

[edk2] [Patch v4 5/5] UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation.

2018-08-14 Thread Eric Dong
n implementation. Pass OS boot and resume from S3 test. Bugz: https://bugzilla.tianocore.org/show_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off

[edk2] [Patch v4 4/5] UefiCpuPkg/CpuS3DataDxe: Remove below 4G limitation.

2018-08-14 Thread Eric Dong
mov rsp, rax mov qword [edi], rax in long-mode code. So code can remove below 4G limitation. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Reviewed-by: Laszlo Ersek Reviewed-by: Ruiyu Ni --- UefiCpuPkg/CpuS3D

[edk2] [Patch v4 3/5] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation.

2018-08-14 Thread Eric Dong
o use than gBS->AllocatePages. Pass OS boot and resume from S3 test. Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c

[edk2] [Patch v4 2/5] UefiCpuPkg/AcpiCpuData.h: Remove AcpiNVS and Below 4G limitation.

2018-08-14 Thread Eric Dong
ement 1.1 Signed-off-by: Eric Dong Reviewed-by: Laszlo Ersek Reviewed-by: Ruiyu Ni --- UefiCpuPkg/Include/AcpiCpuData.h | 34 -- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/UefiCpuPkg/Include/AcpiCpuData.h b/UefiCpuPkg/Include/AcpiCpuData.h

[edk2] [Patch v4 0/5] Change CpuS3Data memory type and address limitation

2018-08-14 Thread Eric Dong
Ersek Cc: Ruiyu Ni Eric Dong (5): UefiCpuPkg/PiSmmCpuDxeSmm: Use GDT/IDT saved in Smram. UefiCpuPkg/AcpiCpuData.h: Remove AcpiNVS and Below 4G limitation. UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. UefiCpuPkg/CpuS3DataDxe: Remove below 4G limitation. UefiCpuPkg

[edk2] [Patch v4 1/5] UefiCpuPkg/PiSmmCpuDxeSmm: Use GDT/IDT saved in Smram.

2018-08-14 Thread Eric Dong
changes: 1. Remove global variables mGdtForAp/mIdtForAp/mMachineCheckHandlerForAp. Test Done: Do the OS boot and S3 resume test. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 31

[edk2] [Patch v3 3/5] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation.

2018-08-09 Thread Eric Dong
Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 43 +++-- 1 file changed, 36 insertions(+), 7 deletions(-) diff --git a/UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c b

[edk2] [Patch v3 1/5] UefiCpuPkg/PiSmmCpuDxeSmm: Use GDT/IDT saved in Smram.

2018-08-09 Thread Eric Dong
Done: Do the OS boot and S3 resume test. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm

[edk2] [Patch v3 5/5] UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation.

2018-08-09 Thread Eric Dong
n implementation. Pass OS boot and resume from S3 test. Bugz: https://bugzilla.tianocore.org/show_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agr

[edk2] [Patch v3 4/5] UefiCpuPkg/CpuS3DataDxe: Remove below 4G limitation.

2018-08-09 Thread Eric Dong
mov rsp, rax mov qword [edi], rax in long-mode code. So code can remove below 4G limitation. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 17 + 1 file chan

[edk2] [Patch v3 0/5] Change CpuS3Data memory type and address limitation

2018-08-09 Thread Eric Dong
Ersek Cc: Ruiyu Ni Eric Dong (5): UefiCpuPkg/PiSmmCpuDxeSmm: Use GDT/IDT saved in Smram. UefiCpuPkg/AcpiCpuData.h: Remove AcpiNVS and Below 4G limitation. UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. UefiCpuPkg/CpuS3DataDxe: Remove below 4G limitation. UefiCpuPkg

[edk2] [Patch v3 2/5] UefiCpuPkg/AcpiCpuData.h: Remove AcpiNVS and Below 4G limitation.

2018-08-09 Thread Eric Dong
ement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/AcpiCpuData.h | 34 -- 1 file changed, 12 insertions(+), 22 deletions(-) diff --git a/UefiCpuPkg/Include/AcpiCpuData.h b/UefiCpuPkg/Include/AcpiCpuData.h index ec092074ce..9e51145c08 100644 --- a/UefiC

[edk2] [Patch] SecurityPkg/TcgStorageCoreLib.h: Use ascii instead of unicode.

2018-08-08 Thread Eric Dong
_FILE_ parameter is an ASCII string. Current implementation used as unicode string instead of ascii string. This patch fixed this issue. BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1081 Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed_off_by: Eric Dong

[edk2] [Patch v2 1/2] UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation.

2018-08-08 Thread Eric Dong
w_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../DxeRegisterCpuFeaturesLib.c| 67 --- ..

[edk2] [Patch v2 2/2] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation.

2018-08-08 Thread Eric Dong
://bugzilla.tianocore.org/show_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 60

[edk2] [Patch 2/2] UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation.

2018-08-08 Thread Eric Dong
://bugzilla.tianocore.org/show_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 60

[edk2] [Patch v2 0/2] Change CpuS3Data memory type and address limitation

2018-08-08 Thread Eric Dong
/show_bug.cgi?id=959 Cc: Marvin H�user Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Eric Dong (2): UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation. UefiCpuPkg/CpuS3DataDxe: Change Memory Type and address limitation. UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c| 60

[edk2] [Patch 1/2] UefiCpuPkg/RegisterCpuFeaturesLib: Combine implementation.

2018-08-08 Thread Eric Dong
w_bug.cgi?id=959 Reported-by: Marvin Häuser Suggested-by: Fan Jeff Cc: Marvin Häuser Cc: Fan Jeff Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../DxeRegisterCpuFeaturesLib.c| 67 --- ..

[edk2] [Patch] UefiCpuPkg/RegisterCpuFeaturesLib: Implement AllocateAcpiCpuData function.

2018-08-02 Thread Eric Dong
buted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../DxeRegisterCpuFeaturesLib.c| 57 -- 1 file changed, 54 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/DxeRegisterCpuFeaturesLib

[edk2] [Patch] [UDK2017] SecurityPkg OpalPasswordSupportLib: Add check to avoid potential buffer overflow.

2018-07-30 Thread Eric Dong
Agreement 1.0 Signed-off-by: Eric Dong Cc: Yao Jiewen Cc: Wu Hao --- .../Include/Library/OpalPasswordSupportLib.h | 3 +- .../OpalPasswordSupportLib.c | 55 +++--- .../OpalPasswordSupportNotify.h| 2 +- .../Tcg/Opal/OpalPasswordSmm

[edk2] [Patch V3 0/3] StartAllAPs should not use disabled APs

2018-07-25 Thread Eric Dong
disabled APs when WakeUpAP called by StartAllAps function. In other cases, also include disabled APs. Eric Dong (3): UefiCpuPkg/MpInitLib: Remove redundant CpuStateFinished State. UefiCpuPkg/MpInitLib: Remove StartCount and volatile definition. UefiCpuPkg/MpInitLib: Not use disabled AP when

[edk2] [Patch v3 2/3] UefiCpuPkg/MpInitLib: Remove StartCount and volatile definition.

2018-07-25 Thread Eric Dong
The StartCount is duplicated with RunningCount, replace it with RunningCount. Also the volatile for RunningCount is not needed. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 11

[edk2] [Patch v3 1/3] UefiCpuPkg/MpInitLib: Remove redundant CpuStateFinished State.

2018-07-25 Thread Eric Dong
Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 18 -- UefiCpuPkg/Library/MpInitLib/MpLib.h | 1 - 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index

[edk2] [Patch v3 3/3] UefiCpuPkg/MpInitLib: Not use disabled AP when call StartAllAPs.

2018-07-25 Thread Eric Dong
disabled APs, such as CpuDxe driver start up and ChangeApLoopCallback function. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 2 +- UefiCpuPkg/Library/MpInitLib/MpLib.c| 27

[edk2] [Patch V2 0/3] StartAllAPs should not use disabled APs

2018-07-24 Thread Eric Dong
This patch series include changes: 1. StartAllAPs should not use disabled APs, this is required by UEFI spec. 2. Refine the code to remove the redundant definitions. V2 changes: Use CpuStateReady to distinguish the AP state from CpuStateIdle. Eric Dong (3): UefiCpuPkg/MpInitLib: Remove

[edk2] [Patch 2/3] UefiCpuPkg/MpInitLib: Remove StartCount and volatile definition.

2018-07-24 Thread Eric Dong
The StartCount is duplicated with RunningCount, replace it with RunningCount. Also the volatile for RunningCount is not needed. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 11

[edk2] [Patch 1/3] UefiCpuPkg/MpInitLib: Remove redundant CpuStateFinished State.

2018-07-24 Thread Eric Dong
Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 18 -- UefiCpuPkg/Library/MpInitLib/MpLib.h | 1 - 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index

[edk2] [Patch 3/3] UefiCpuPkg/MpInitLib: Not use disabled AP when call StartAllAPs.

2018-07-24 Thread Eric Dong
Base on UEFI spec requirement, StartAllAPs function should not use the APs which has been disabled before. This patch just change current code to follow this rule. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch] UefiCpuPkg/MpInitLib: Remove useless code.

2018-07-19 Thread Eric Dong
Remove the useless code error added by change 58942277bcbf41abda5f6e3a1c89d571105d5983. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/PeiMpLib.c | 15 --- 1 file changed, 15 deletions

[edk2] [Patch v2] UefiCpuPkg/MpInitLib: Optimize get processor number performance.

2018-07-17 Thread Eric Dong
overflow. Cc: Ruiyu Ni Cc: Jeff Fan Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg

[edk2] UefiCpuPkg/MpInitLib: Fix S3 resume hang issue.

2018-07-17 Thread Eric Dong
ag to force BSP use INIT-SIPI -SIPI command to wake up the APs. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 16 - UefiCpuPkg/Library/MpInitLib/MpLib.h

[edk2] [Patch v3 2/3] UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.

2018-07-16 Thread Eric Dong
Search uCode costs much time, if AP has same processor type with BSP, AP can use BSP saved uCode info to get better performance. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch v3 1/3] UefiCpuPkg/MpInitLib: Relocate uCode to memory to save time.

2018-07-16 Thread Eric Dong
will reduce some time if load uCode from memory. This change enable this optimization. V3 changes: Remove the ASSERT which is not correct. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c

[edk2] [Patch v3 0/3] Optimize load uCode performance

2018-07-16 Thread Eric Dong
core when hyper threading is enabled. v2 changes: Fix potential issue if allocate memory failed. V3 Changes: Remove the ASSERT code which is not correct. Test: Use an sample platform which has 1 socket, 4 core, 8 threads, the CpuMpPei driver cost time reduce from 108.4ms to 27.2ms Eric Dong

[edk2] [Patch v3 3/3] UefiCpuPkg/MpInitLib: Load uCode once for each core.

2018-07-15 Thread Eric Dong
The SDM requires only one thread per core to load the microcode. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/Microcode.c | 9 + 1 file changed, 9

[edk2] [Patch v3 1/3] UefiCpuPkg/MpInitLib: Relocate uCode to memory to save time.

2018-07-15 Thread Eric Dong
will reduce some time if load uCode from memory. This change enable this optimization. V3 changes: Remove the ASSERT which is not correct. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c

[edk2] [Patch v3 2/3] UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.

2018-07-15 Thread Eric Dong
Search uCode costs much time, if AP has same processor type with BSP, AP can use BSP saved uCode info to get better performance. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch v3 0/3] Optimize load uCode performance

2018-07-15 Thread Eric Dong
core when hyper threading is enabled. v2 changes: Fix potential issue if allocate memory failed. V3 Changes: Remove the ASSERT code which is not correct. Test: Use an sample platform which has 1 socket, 4 core, 8 threads, the CpuMpPei driver cost time reduce from 108.4ms to 27.2ms Eric Dong

[edk2] [Patch v2 0/3] Optimize load uCode performance

2018-07-12 Thread Eric Dong
core when hyper threading is enabled. v2 changes: Fix potential issue if allocate memory failed. Test: Use an sample platform which has 1 socket, 4 core, 8 threads, the CpuMpPei driver cost time reduce from 108.4ms to 27.2ms Eric Dong (3): UefiCpuPkg/MpInitLib: Use BSP uCode for APs if

[edk2] [Patch v2 2/3] UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.

2018-07-12 Thread Eric Dong
Search uCode costs much time, if AP has same processor type with BSP, AP can use BSP saved uCode info to get better performance. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch v2 3/3] UefiCpuPkg/MpInitLib: Load uCode once for each core.

2018-07-12 Thread Eric Dong
The SDM requires only one thread per core to load the microcode. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/Microcode.c | 9 + 1 file changed, 9

[edk2] [Patch v2 1/3] UefiCpuPkg/MpInitLib: Relocate uCode to memory to save time.

2018-07-12 Thread Eric Dong
will reduce some time if load uCode from memory. This change enable this optimization. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 34 +- 1 file

[edk2] [Patch 3/3] UefiCpuPkg/MpInitLib: Load uCode once for one core.

2018-07-11 Thread Eric Dong
SDM requires one core only needs to load uCode once. Also load uCode once can save some time. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/Microcode.c | 9

[edk2] [Patch 2/3] UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.

2018-07-11 Thread Eric Dong
Search uCode costs much time, if AP has same processor type with BSP, AP can use BSP saved uCode info to get better performance. This change enables this solution. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch 0/3] Optimize load uCode performance

2018-07-11 Thread Eric Dong
core when hyper threading is enabled. Test: Use an sample platform which has 1 socket, 4 core, 8 threads, the CpuMpPei driver cost time reduce from 108.4ms to 27.2ms Eric Dong (3): UefiCpuPkg/MpInitLib: Relocate uCode to memory to save time. UefiCpuPkg/MpInitLib: Use BSP uCode for APs if

[edk2] [Patch 1/3] UefiCpuPkg/MpInitLib: Relocate uCode to memory to save time.

2018-07-11 Thread Eric Dong
will reduce some time if load uCode from memory. This change enable this optimization. Cc: Laszlo Ersek Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 13 - 1 file changed, 12 insertions

[edk2] [Patch 1/2] SecurityPkg/TcgStorageOpalLib: Return AUTHORITY_LOCKED_OUT error.

2018-07-09 Thread Eric Dong
Caller need to known this error to handle specially, but current error status not has specified value for this type. In order to keep compatibility, here use TcgResultFailureInvalidType as an replacement. Cc: Hao, Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric

[edk2] [Patch 0/2] Fixed correct password not works issue

2018-07-09 Thread Eric Dong
rejected. New solution will check both count, either cout exceed will cause opal driver report count exceed and a shutdown required. Eric Dong (2): SecurityPkg/TcgStorageOpalLib: Return AUTHORITY_LOCKED_OUT error. SecurityPkg/OpalPassword: Fixed input correct password not works issue

[edk2] [Patch 2/2] SecurityPkg/OpalPassword: Fixed input correct password not works issue

2018-07-09 Thread Eric Dong
Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 9 + 1 file changed, 9 insertions(+) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c index 5d1638d5cf..cf1f4cd64e 100644 --- a

[edk2] [Patch] UefiCpuPkg/MpInitLib: Optimize get processor number performance.

2018-07-04 Thread Eric Dong
: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib

[edk2] [Patch] MdeModulePkg/S3SmmInitDone.h: Fix copyright coding style error.

2018-07-04 Thread Eric Dong
Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Include/Guid/S3SmmInitDone.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Include/Guid/S3SmmInitDone.h b/MdeModulePkg/Include/Guid/S3SmmInitDone.h

[edk2] [Patch V2] UefiCpuPkg/MpInitLib: Remove redundant parameter.

2018-06-28 Thread Eric Dong
: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 11 +-- UefiCpuPkg/Library/MpInitLib/MpLib.h | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index 3945771764..52c9679099 100644

[edk2] [Patch 1/2] UefiCpuPkg/MpInitLib: Not use disabled AP.

2018-06-28 Thread Eric Dong
disabled. The possible change process is: Idel -> busy -> Idle Idle -> disabled -> Idle Done Tests: 1.PI SCT Test 2.Boot OS / S3 Cc: Ruiyu Ni Cc: Jeff Fan Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/

[edk2] [Patch 2/2] UefiCpuPkg/MpInitLib: Remove redundant parameter.

2018-06-28 Thread Eric Dong
Parameter StartCount duplicates with RunningCount. After this change, RunningCount means the running AP count. Done Tests: 1.PI SCT Test 2.Boot OS / S3 Cc: Ruiyu Ni Cc: Jeff Fan Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg

[edk2] [Patch 2/2] MdePkg/TcgStorage*.h: Fix ECC reported issues.

2018-05-21 Thread Eric Dong
Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Include/Library/TcgStorageCoreLib.h| 2 +- SecurityPkg/Include/Library/TcgStorageOpalLib.h| 12 ++-- SecurityPkg/Library/TcgStorageOpalLib

[edk2] [Patch 0/2] Fix ECC reported issues.

2018-05-21 Thread Eric Dong
Fix ECC reported issues. Eric Dong (2): MdePkg/TcgStorage*.h: Fixed ECC reported issues. MdePkg/TcgStorage*.h: Fix ECC reported issues. MdePkg/Include/IndustryStandard/TcgStorageCore.h | 2 +- MdePkg/Include/IndustryStandard/TcgStorageOpal.h | 8 SecurityPkg

[edk2] [Patch 1/2] MdePkg/TcgStorage*.h: Fixed ECC reported issues.

2018-05-21 Thread Eric Dong
Cc: Dandan Bi Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/IndustryStandard/TcgStorageCore.h | 2 +- MdePkg/Include/IndustryStandard/TcgStorageOpal.h | 8 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MdePkg

[edk2] [Patch 2/2] SecurityPkg/OpalPassword: Fix PSID revert no hint message.

2018-05-14 Thread Eric Dong
-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 29 ++ 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c b/SecurityPkg/Tcg/Opal/OpalPassword

[edk2] [Patch 0/2] Fix 2 regression caused by enabling pyrite 2.0 feature changes.

2018-05-14 Thread Eric Dong
Fix GCC build failure and PSID revert no hint message issues caused by enabling pyrite 2.0 feature. Eric Dong (2): SecurityPkg/TcgStorageOpalLib: Fix GCC build failure. SecurityPkg/OpalPassword: Fix PSID revert no hint message. .../Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 4

[edk2] [Patch 1/2] SecurityPkg/TcgStorageOpalLib: Fix GCC build failure.

2018-05-14 Thread Eric Dong
Function definition different with function implementation caused this build failure. Change code to make them consistent to pass the build. Done Unit Test: 1. Pass GCC build. Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Library

[edk2] [Patch 2/2] SecurityPkg/TcgSTorage*Lib.h: Add referenced spec information.

2018-05-07 Thread Eric Dong
Add link and version info for the referenced spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Cc: Hao Wu Cc: Jiewen yao --- SecurityPkg/Include/Library/TcgStorageCoreLib.h | 7 ++- SecurityPkg/Include/Library/TcgStorageOpalLib.h | 22

[edk2] [Patch 2/2] SecurityPkg/TcgSTorage*Lib.h: Add referenced spec information.

2018-05-07 Thread Eric Dong
Add link and version info for the referenced spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Cc: Hao Wu Cc: Jiewen yao --- SecurityPkg/Include/Library/TcgStorageCoreLib.h | 7 ++- SecurityPkg/Include/Library/TcgStorageOpalLib.h | 22

[edk2] [Patch 1/2] MdePkg/TcgStorage*.h: Add referenced spec information.

2018-05-07 Thread Eric Dong
Add link and version info for the referenced spec. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Cc: Hao Wu Cc: Jiewen yao --- MdePkg/Include/IndustryStandard/TcgStorageCore.h | 7 ++- MdePkg/Include/IndustryStandard/TcgStorageOpal.h | 16

[edk2] [Patch 0/2] Add referenced spec information.

2018-05-07 Thread Eric Dong
Add link and version info for the referenced spec. Cc: Hao Wu Cc: Jiewen yao Eric Dong (2): MdePkg/TcgStorage*.h: Add referenced spec information. SecurityPkg/TcgSTorage*Lib.h: Add referenced spec information. MdePkg/Include/IndustryStandard/TcgStorageCore.h | 7 ++- MdePkg/Include

[edk2] [Patch 0/3] Enable Pyrite 2.0 for opal driver.

2018-05-02 Thread Eric Dong
Eanble the pyrite 2.0 devices for opal driver. Eric Dong (3): MdePkg: Add Feature definitions add in pyrite 2.0 spec. SecurityPkg/TcgStorageOpalLib: Add supports for pyrite 2.0 spec. SecurityPkg/OpalPassword: Add support for pyrite 2.0 devices. MdePkg/Include/IndustryStandard

[edk2] [Patch 2/3] SecurityPkg/TcgStorageOpalLib: Add supports for pyrite 2.0 spec.

2018-05-02 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Include/Library/TcgStorageOpalLib.h| 41 ++ .../Library/TcgStorageOpalLib/TcgStorageOpalCore.c | 426 ++--- .../TcgStorageOpalLib/TcgStorageOpalLib.inf| 1

[edk2] [Patch 3/3] SecurityPkg/OpalPassword: Add support for pyrite 2.0 devices.

2018-05-02 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c | 60 ++-- SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.h | 9 +++ SecurityPkg/Tcg/Opal/OpalPassword/OpalHii.c| 84

[edk2] [Patch 1/3] MdePkg: Add Feature definitions add in pyrite 2.0 spec.

2018-05-02 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/IndustryStandard/TcgStorageCore.h | 2 + MdePkg/Include/IndustryStandard/TcgStorageOpal.h | 54 2 files changed, 56 insertions(+) diff --git a/MdePkg/Include

<    1   2   3   4   5   >