[edk2] [Patch] UefiCpuPkg: Update package version.

2018-01-21 Thread Eric Dong
Cc: Star Zeng Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 2 +- UefiCpuPkg/UefiCpuPkg.dsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg

[edk2] [Patch 1/2] UefiCpuPkg/CpuFeaturesDxe.inf: Add missed Depex protocol.

2017-11-06 Thread Eric Dong
The gEfiMpServiceProtocolGuid protocol is used by CpuFeaturesDxe.inf during feature detection. Should be included in the [DepEx] section but actually not. This patch add it. Cc: Liming Gao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 2/2] UefiCpuPkg/CpuFeaturesPei.inf: Add missed Depex Ppi.

2017-11-06 Thread Eric Dong
The gEfiPeiMpServicesPpiGuid Ppi is used by CpuFeaturesPei.inf during feature detection. Should be included in the [DepEx] section but actually not. This patch add it. Cc: Liming Gao Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 0/2] Add missed Depex Protocol/Ppi.

2017-11-06 Thread Eric Dong
The Protocol/Ppi used in the drivers but the it not add them in the dependence section, it may cause driver assert. This patch series add the missed Protocol/Ppi. Eric Dong (2): UefiCpuPkg/CpuFeaturesDxe.inf: Add missed Depex protocol. UefiCpuPkg/CpuFeaturesPei.inf: Add missed Depex Ppi

[edk2] [Patch] UefiCpuPkg/MpInitLib: Keep compatible with former solution.

2017-10-25 Thread Eric Dong
ill workable if platform owner still set a long time for PcdCpuApInitTimeOutInMicroSeconds. It's platform owner's response to decide which solution to use. Cc: Ruiyu Ni Cc: Laszlo Ersek Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --

[edk2] [Patch] UefiCpuPkg/CpuFeatures: Export HOB if CPU initialized in PEI.

2017-10-25 Thread Eric Dong
this HOB, it just install gEdkiiCpuFeaturesInitDoneGuid protocol, else it will also do the CPU initialization. Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuFeatures/CpuFeaturesDxe.c | 19

[edk2] [Patch 2/2] UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic.

2017-10-23 Thread Eric Dong
AP let NumApsExecuting++ when begin to initialize itself and let NumApsExecuting-- when it finish the initialization. BSP base on whether NumApsExecuting == 0 to finished the collect AP process. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 1/2] UefiCpuPkg/MpInitLib: Change AP Index variable name.

2017-10-23 Thread Eric Dong
Original AP index variable name not well express the meaning of the variable. Also this name is better used in later patch. So change the variable name for better understanding. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library

[edk2] [Patch 0/2] Enhance collect AP Count logic

2017-10-23 Thread Eric Dong
variable name for the current code for better understanding. Eric Dong (2): UefiCpuPkg/MpInitLib: Change AP Index variable name. UefiCpuPkg/MpInitLib: Enhance waiting for AP initialization logic. UefiCpuPkg/Library/MpInitLib/Ia32/MpEqu.inc| 3 ++- UefiCpuPkg/Library/MpInitLib/Ia32

[edk2] [Patch] UefiCpuPkg/MpInitLib: Avoid call PcdGe* in Ap & Bsp.

2017-10-18 Thread Eric Dong
: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/Microcode.c | 10 +++--- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 ++ UefiCpuPkg/Library/MpInitLib/MpLib.h | 2 ++ 3 files changed, 7 insertions(+), 7

[edk2] [Patch] UefiCpuPkg/S3Resume2Pei: Handle Communicate Ppi not exist issue.

2017-10-12 Thread Eric Dong
Signed-off-by: Eric Dong --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c index c2171cb..e0c2d36

[edk2] [Patch] UefiCpuPkg/S3Resume2Pei: Handle Communicate Ppi not exist issue.

2017-10-12 Thread Eric Dong
Signed-off-by: Eric Dong --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c b/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c index c2171cb..975bb6f

[edk2] [Patch v3 3/3] MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished.

2017-10-11 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 69 +++ MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 24 +++ MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf | 1 + 3 files changed, 87 insertions

[edk2] [Patch 1/3] MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition.

2017-10-11 Thread Eric Dong
Add gEdkiiSmmEndOfS3ResumeProtocolGuid which used by SmmCore to notify smm drives that S3 resume has finished. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Include/Protocol/SmmEndOfS3Resume.h | 26

[edk2] [Patch v3 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-11 Thread Eric Dong
Changes: 1. Change structure name for better understanding. 2. Enhance communication buffer calculate logic to more accurate. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 87

[edk2] [Patch v3 0/3] Add SmmEndOfS3Resume event.

2017-10-11 Thread Eric Dong
stall it to avoid run out of memory. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Eric Dong (3): MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to Sm

[edk2] [Patch v2 1/3] MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition.

2017-10-10 Thread Eric Dong
Add gEdkiiSmmEndOfS3ResumeProtocolGuid which used by SmmCore to notify smm drives that S3 resume has finished. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Include/Protocol/SmmEndOfS3Resume.h | 26

[edk2] [Patch v2 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-10 Thread Eric Dong
: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 87 ++ .../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf | 4 + 2 files changed, 91 insertions(+) diff --git a

[edk2] [Patch v2 3/3] MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished.

2017-10-10 Thread Eric Dong
Install EdkiiSmmEndOfS3ResumeProtocol when S3 resume finished. S3ResumePei will send S3 resume finished event to SmmCore through communication buffer. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Core/PiSmmCore

[edk2] [Patch v2 0/3] Add SmmEndOfS3Resume event.

2017-10-10 Thread Eric Dong
oCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Eric Dong (3): MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore. MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished. MdeModulePkg/Core/PiSm

[edk2] [Patch 3/3] MdeModulePkg/PiSmmCore: Install Protocol when S3 resume finished.

2017-10-10 Thread Eric Dong
Install EdkiiSmmEndOfS3ResumeProtocol when S3 resume finished. S3ResumePei will send S3 resume finished event to SmmCore through communication buffer. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Core/PiSmmCore

[edk2] [Patch 0/3] Add SmmEndOfS3Resume event.

2017-10-10 Thread Eric Dong
r the EndOfPei event in S3 resume phase. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong Eric Dong (3): MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition. UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to Sm

[edk2] [Patch 1/3] MdeModulePkg/SmmEndOfS3Resume.h: Add new protocol definition.

2017-10-10 Thread Eric Dong
Add gEdkiiSmmEndOfS3ResumeProtocolGuid which used by SmmCore to notify smm drives that S3 resume has finished. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdeModulePkg/Include/Protocol/SmmEndOfS3Resume.h | 26

[edk2] [Patch 2/3] UefiCpuPkg/S3Resume2Pei: Send S3 resume finished event to SmmCore.

2017-10-10 Thread Eric Dong
Driver will send S3 resume finished event to SmmCore through communicate buffer after it signals EndOfPei event. Cc: Ruiyu Ni Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 85

[edk2] [Patch] UefiCpuPkg/PiSmmCpuDxeSmm: Add check to void use null pointer.

2017-10-08 Thread Eric Dong
Current code logic not check the pointer before use it. This may has potential issue, this patch add code to check it. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 5 + 1 file changed, 5 insertions

[edk2] [Patch v2 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Enhance S3 code.

2017-09-28 Thread Eric Dong
Combine INIT-SIPI-SIPI code and remove the duplicate code. V2: Change patch 2 to includes: Change function parameter to avoid touch global info in function. Enhance function name, make it more user friendly Eric Dong (2): UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI. UefiCpuPkg

[edk2] [Patch v2 2/2] UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code.

2017-09-28 Thread Eric Dong
: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 84 +++ 1 file changed, 24 insertions(+), 60 deletions(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c b/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c index ae4b516..ef72b9b 100644 --- a/UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c

[edk2] [Patch v2 1/2] UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI.

2017-09-28 Thread Eric Dong
In S3 resume path, current implementation do 2 separate INIT-SIPI-SIPI, this is not necessary. This change combine these 2 INIT-SIPI-SIPI to 1 and add CpuPause between them. Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 2/2] UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code.

2017-09-28 Thread Eric Dong
Refine code to avoid duplicate code to set processor register. Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 78 ++- 1 file changed, 20 insertions(+), 58

[edk2] [Patch 0/2] UefiCpuPkg/PiSmmCpuDxeSmm: Enhance S3 code.

2017-09-28 Thread Eric Dong
Combine INIT-SIPI-SIPI code and remove the duplicate code. Eric Dong (2): UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI. UefiCpuPkg/PiSmmCpuDxeSmm: Refine code to avoid duplicated code. UefiCpuPkg/PiSmmCpuDxeSmm/CpuS3.c | 123 +- 1 file changed, 43

[edk2] [Patch 1/2] UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI.

2017-09-28 Thread Eric Dong
In S3 resume path, current implementation do 2 separate INIT-SIPI-SIPI, this is not necessary. This change combine these 2 INIT-SIPI-SIPI to 1 and add CpuPause between them. Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch] UefiCpuPkg/PiSmmCpuDxeSmm: Combine INIT-SIPI-SIPI.

2017-09-28 Thread Eric Dong
In S3 resume path, current implementation do 2 separate INIT-SIPI-SIPI, this is not necessary. This change combine these 2 INIT-SIPI-SIPI to 1 and add CpuPause between them. Cc: Jiewen Yao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch] UefiCpuPkg/CpuCommonFeaturesLib: Add check for input parameter.

2017-09-25 Thread Eric Dong
The ConfigData parameter initialized in *GetConfigData function should not be NULL in later *Support, *Initilize function, so just add ASSERT code check in these functions. Cc: Ming Shao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch] AppPkg/WebServer: Fix build failure.

2017-09-13 Thread Eric Dong
Fix build failure caused by UefiCpuPkg/MtrrLib removes deprecated macros. Cc: Daryl McDaniel Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- AppPkg/Applications/Sockets/WebServer/Mtrr.c | 31

[edk2] [Patch] MdePkg/PiMmCis.h: Fix build failure.

2017-09-05 Thread Eric Dong
Include the missed header file to fix build failure. Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/Pi/PiMmCis.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/Pi/PiMmCis.h b/MdePkg/Include/Pi/PiMmCis.h

[edk2] [Patch] UefiCpuPkg/Lmce.c Remove useless file.

2017-08-31 Thread Eric Dong
Merge the code to MachineCheck.c file, remove this file. Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/CpuCommonFeaturesLib/Lmce.c | 97 -- 1 file changed, 97 deletions(-) delete mode 100644

[edk2] [Patch] UefiCpuPkg/Mplib.c: Perform complete initialization when enable AP.

2017-08-29 Thread Eric Dong
is not follow spec. This patch fix it. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/MpInitLib

[edk2] [Patch v2 0/2] Add Management Mode infrastructure support.

2017-08-27 Thread Eric Dong
use typedefs and #define statements that allow code developed with these earlier versions of the specification to compile unchanged. V2: 1. clean up the old Smm/SMI/Smram keywords in the new files 2. Remove the whitespace at the end. 3. Update the copyright time. Eric Dong (2): MdePkg: Add new

[edk2] [Patch 1/2] MdePkg: Add new definitions for Management Mode.

2017-08-27 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/Pi/PiMmCis.h| 350 + MdePkg/Include/PiMm.h | 25 ++ MdePkg/Include/Protocol/DxeMmReadyToLock.h | 25 ++ MdePkg/Include

[edk2] [Patch 2/2] MdePkg: Reference new definitions for Management Mode.

2017-08-27 Thread Eric Dong
: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/Pi/PiMultiPhase.h | 32 ++- MdePkg/Include/Pi/PiSmmCis.h | 183 ++-- MdePkg/Include/Protocol/DxeSmmReadyToLock.h

[edk2] [Patch 4/4] UefiCpuPkg: Update default for PcdCpuProcTraceMemSize/PcdCpuProcTraceOutputScheme.

2017-08-23 Thread Eric Dong
1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 22 -- UefiCpuPkg/UefiCpuPkg.uni | 16 +--- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index b4e099d..3bd8740 100644 --- a

[edk2] [Patch 2/4] UefiCpuPkg/CpuCommonFeaturesLib: Use MSR data structure when change MSR value.

2017-08-23 Thread Eric Dong
inney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../Library/CpuCommonFeaturesLib/ProcTrace.c | 116 +++-- 1 file changed, 61 insertions(+), 55 deletions(-) diff --git a/UefiCpuPkg/Library/CpuCommonFeaturesLib/ProcTrace

[edk2] [Patch 0/4] Enhance the implementation for Proc Trace feature.

2017-08-23 Thread Eric Dong
V2: 1. Move RTIT_TOPA_MEMORY_SIZE definition to architecturalMsr.h file. 2. Use strcture menbers to do value assignment. 3. Enhance the comments for PCD PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme. Eric Dong (4): UefiCpuPkg/ArchitecturalMsr.h: Add RTIT TOPA table entry definition

[edk2] [Patch 3/4] UefiCpuPkg/CpuCommonFeaturesLib: Remove redundant definition.

2017-08-23 Thread Eric Dong
The EnumProcTraceMemDisable/OutputSchemeInvalid are redundant definitions. These definitions can be handled by other code, so remove them. V2: Change enum members name. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 1/4] UefiCpuPkg/ArchitecturalMsr.h: Add RTIT TOPA table entry definition.

2017-08-23 Thread Eric Dong
Add RTIT TOPA table entry definition to architecturalMsr.h file. V2: Add RTIT_TOPA_MEMORY_SIZE definition to architecturalMsr.h file. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register

[edk2] [Patch] UefiCpuPkg/MpLib: fix potential overflow issue.

2017-08-23 Thread Eric Dong
: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 43 +++- 1 file changed, 33 insertions(+), 10 deletions(-) diff --git a/UefiCpuPkg/Library/MpInitLib/MpLib.c b/UefiCpuPkg/Library/MpInitLib/MpLib.c index ed1f55e

[edk2] [Patch] UefiCpuPkg/MpLib: fix potential overflow issue.

2017-08-22 Thread Eric Dong
Current calculate timeout logic may have overflow if the input timeout value too large. This patch fix this potential overflow issue. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 30

[edk2] [Patch 1/2] UefiCpuPkg/CpuCommonFeaturesLib: Remove redundant definition.

2017-08-22 Thread Eric Dong
The EnumProcTraceMemDisable/OutputSchemeInvalid are redundant definitions. These definitions can be handled by other code, so remove them. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library

[edk2] [Patch 2/2] UefiCpuPkg: Update default for PcdCpuProcTraceMemSize/PcdCpuProcTraceOutputScheme.

2017-08-22 Thread Eric Dong
These two definitions have redundant definition which can be handle by code. This patch update them to follow new code definitions. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 14

[edk2] [Patch 0/2] Remove redundant definition for PcdCpuProcTraceMemSize/PcdCpuProcTraceOutputScheme

2017-08-22 Thread Eric Dong
These two PCD have redundant definition which can be handle by code. This patch series update the code and default value for these two PCDs. Eric Dong (2): UefiCpuPkg/CpuCommonFeaturesLib: Remove redundant definition. UefiCpuPkg: Update default for PcdCpuProcTraceMemSize

[edk2] [Patch v2 2/2] UefiCpuPkg/CpuCommonFeaturesLib: Use MSR data structure when change MSR value.

2017-08-17 Thread Eric Dong
When update MSR values, current code use BITxx to modify it. Enhance the code to use corresponding MSR's data structures to make it more user friendly. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../Li

[edk2] [Patch v2 0/2] Add new definition for TOPA table entry

2017-08-17 Thread Eric Dong
This patch series add new definition for RTIT Topa table entry and update code to use MSR structure instead of BITxx style to make code more user friendly. Eric Dong (2): UefiCpuPkg/ArchitecturalMsr.h: Add RTIT TOPA table entry definition. UefiCpuPkg/CpuCommonFeaturesLib: Use MSR data

[edk2] [Patch v2 1/2] UefiCpuPkg/ArchitecturalMsr.h: Add RTIT TOPA table entry definition.

2017-08-17 Thread Eric Dong
Add RTIT TOPA table entry definition to architecturalMsr.h file. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Register/ArchitecturalMsr.h | 55 ++ 1 file changed, 55 insertions

[edk2] [Patch] UefiCpuPkg/CpuCommonFeaturesLib: Use MSR data structure when change MSR value.

2017-08-16 Thread Eric Dong
When update MSR values, current code use BITxx to modify the MSR values. Enhance the code to use corresponding MSR's data structures to make it more user friendly. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../Li

[edk2] [Patch 0/2] Add CPUID MCA supports check

2017-08-16 Thread Eric Dong
This patch series add CPUID MCA supports check before check the LMCE capability. Patch also change LMCE code position for easy maintenance. Eric Dong (2): UefiCpuPkg/CpuCommonFeaturesLib: Add CPUID MCA support check UefiCpuPkg/CpuCommonFeaturesLib: Merge machine check code to same file

[edk2] [Patch 1/2] UefiCpuPkg/CpuCommonFeaturesLib: Add CPUID MCA support check

2017-08-16 Thread Eric Dong
Add CPUID check to see if the CPU supports the Machine Check Architecture before accessing the Machine Check Architecture related MSRs. Cc: Michael Kinney Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/CpuCommonFeaturesLib

[edk2] [Patch 2/2] UefiCpuPkg/CpuCommonFeaturesLib: Merge machine check code to same file.

2017-08-16 Thread Eric Dong
: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | 1 - .../Library/CpuCommonFeaturesLib/MachineCheck.c| 81 ++ 2 files changed, 81 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library

[edk2] [Patch v4] UefiCpuPkg RegisterCpuFeaturesLib: Fix buffer pointer error usage.

2017-08-15 Thread Eric Dong
riable. V4 enhanced to keep the functions to get the pcd values. Cc: Ruiyu Ni Cc: Shao Ming Cc: Kinney, Michael D Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 16 1 file changed, 8

[edk2] [Patch] UefiCpuPkg RegisterCpuFeaturesLib: Fix buffer pointer error usage.

2017-08-15 Thread Eric Dong
Cc: Ruiyu Ni Cc: Shao Ming Cc: Kinney Michael D Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 55 +- 1 file changed, 11 insertions(+), 44 deletions(-) diff --git a/UefiCpuP

[edk2] [Patch v2] UefiCpuPkg RegisterCpuFeaturesLib: Fix buffer pointer error usage.

2017-08-14 Thread Eric Dong
TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c b/UefiCpuP

[edk2] [Patch] UefiCpuPkg BaseUefiCpuLib: remove error reference code.

2017-08-14 Thread Eric Dong
UefiCpuLib inf file reference itself in [LibraryClasses] section, this is not necessary. This patch remove it. Cc: Ruiyu Ni Cc: Ming Shao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf | 6 +- 1

[edk2] [Patch] UefiCpuPkg RegisterCpuFeaturesLib: Enhance debug messages.

2017-08-14 Thread Eric Dong
Current debug message when enable/disable CPU feature not correct. This patch enhances it to make it more accurate. Cc: Ruiyu Ni Cc: Shao, Ming Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Library/RegisterCpuFeaturesLib

[edk2] [Patch] UefiCpuPkg RegisterCpuFeaturesLib: Fix buffer pointer error usage.

2017-08-14 Thread Eric Dong
Current code allocate buffer for the pointer which later get value from PCD database. but current code error use "=" for this case. Use CopyMem instead to fix it. Cc: Ruiyu Ni Cc: Shao, Ming Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong ---

[edk2] [Patch 1/2] MdePkg: Add new definitions for Management Mode.

2017-08-14 Thread Eric Dong
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- MdePkg/Include/Pi/PiMmCis.h| 350 + MdePkg/Include/PiMm.h | 25 ++ MdePkg/Include/Protocol/DxeMmReadyToLock.h | 41 +++ MdePkg/Include

[edk2] [Patch 2/2] MdePkg: Update exited SMM related definition.

2017-08-14 Thread Eric Dong
function parameters type. If the name or type has Smi/Smm/Smram keywords, the old definition will be kept, else code use typedef/#define to reference the new add definition. Cc: Michael D Kinney Cc: Liming Gao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong

[edk2] [Patch 0/2] Add Management Mode infrastructure support.

2017-08-14 Thread Eric Dong
typedefs and #define statements that allow code developed with these earlier versions of the specification to compile unchanged. Eric Dong (2): MdePkg: Add new definitions for Management Mode. MdePkg: Update exited SMM related definition. MdePkg/Include/Pi/PiMmCis.h

[edk2] [Patch 1/2] UefiCpuPkg: Add comments for PCDs definition.

2017-08-14 Thread Eric Dong
Add valid/default values for PCD PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme in the comment part. Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 28

[edk2] [Patch 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments.

2017-08-14 Thread Eric Dong
Add prompt/help string for pcd PcdCpuProcTraceOutputScheme and PcdCpuProcTraceMemSize in UefiCpuPkg.uni file. Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.uni | 30

[edk2] [Patch 0/2] Add comments for two new added Pcds.

2017-08-14 Thread Eric Dong
.uni file to include valid value information added in .dec file. Eric Dong (2): UefiCpuPkg: Add comments for PCDs definition. UefiCpuPkg UefiCpupkg.uni: Add new pcds comments. UefiCpuPkg/UefiCpuPkg.dec | 28 ++-- UefiCpuPkg/UefiCpuPkg.uni | 30

[edk2] [Patch v2 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments.

2017-08-09 Thread Eric Dong
Add prompt/help string for pcd PcdCpuProcTraceOutputScheme and PcdCpuProcTraceMemSize in UefiCpuPkg.uni file. Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.uni | 8 1 file changed, 8 insertions

[edk2] [Patch v2 1/2] UefiCpuPkg: Add comments for PCDs definition.

2017-08-09 Thread Eric Dong
Add valid values for PCD PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme in the comment part. Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 22 ++ 1

[edk2] [Patch v2 0/2] Add comments for two new added Pcds.

2017-08-09 Thread Eric Dong
v2 changes includes: Add valid values and prompt/help string for new add pcd PcdCpuProcTraceMemSize and PcdCpuProcTraceOutputScheme. Eric Dong (2): UefiCpuPkg: Add comments for PCDs definition. UefiCpuPkg UefiCpupkg.uni: Add new pcds comments. UefiCpuPkg/UefiCpuPkg.dec | 22

[edk2] [Patch 0/2] Add comments for new Pcds

2017-08-08 Thread Eric Dong
Add missed Pcds definition and comments in dec and inf files. Eric Dong (2): UefiCpuPkg: Add comments for PCDs definition. UefiCpuPkg UefiCpupkg.uni: Add new pcds comments. UefiCpuPkg/UefiCpuPkg.dec | 22 ++ UefiCpuPkg/UefiCpuPkg.uni | 8 2 files changed, 30

[edk2] [Patch 1/2] UefiCpuPkg: Add comments for PCDs definition.

2017-08-08 Thread Eric Dong
Cc: Liming Gao Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 22 ++ 1 file changed, 22 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec

[edk2] [Patch 2/2] UefiCpuPkg UefiCpupkg.uni: Add new pcds comments.

2017-08-08 Thread Eric Dong
Cc: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.uni | 8 1 file changed, 8 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.uni b/UefiCpuPkg/UefiCpuPkg.uni index cd0ecab..dd62fc0 100644 --- a

[edk2] [Patch v2] Vlv2TbltDevicePkg: Remove reference deprecated macro.

2017-08-03 Thread Eric Dong
v2 changes include: 1. Use MSR data structure instead of redefin local macro. Cc: Jeff Fan Cc: Ruiyu Ni Cc: David Wei Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c | 29 ++ 1 file

[edk2] [Patch] Edk2: Update UefiCpuPkg owner.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- Maintainers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Maintainers.txt b/Maintainers.txt index 39b5b67..9d1b9fb 100644 --- a/Maintainers.txt +++ b/Maintainers.txt

[edk2] [Patch v4 3/3] UefiCpuPkg: Enable Processor Trace feature.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../CpuCommonFeaturesLib/CpuCommonFeatures.h | 66 +++ .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c| 11 + .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | 4

[edk2] [Patch v4 0/3] Enable Processor Trace feature

2017-08-03 Thread Eric Dong
of input processor number. Eric Dong (3): UefiCpuPkg: Add Pcds used by processor trace feature. UefiCpuPkg: Add Processor Trace feature definition. UefiCpuPkg: Enable Processor Trace feature. .../Include/Library/RegisterCpuFeaturesLib.h | 1 + .../CpuCommonFeaturesLib

[edk2] [Patch v4 1/3] UefiCpuPkg: Add Pcds used by processor trace feature.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 8 1 file changed, 8 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index e5b0334..2ddeab4 100644 --- a

[edk2] [Patch v4 2/3] UefiCpuPkg: Add Processor Trace feature definition.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h b/UefiCpuPkg/Include

[edk2] [Patch 0/7] Remove deprecated macro.

2017-08-03 Thread Eric Dong
Remove the deprecated macro and change code which use the macro. Eric Dong (7): QuarkSocPkg MtrrLib: Enhance get mtrr mask logic. Vlv2TbltDevicePkg: Enhance get mtrr mask logic. UefiCpuPkg CpuDxe: Enhance get mtrr mask logic. QuarkSocPkg MtrrLib: Remove reference deprecated macro

[edk2] [Patch 7/7] UefiCpuPkg MtrrLib: Remove deprecated micro.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/MtrrLib.h | 27 --- 1 file changed, 27 deletions(-) diff --git a/UefiCpuPkg/Include/Library/MtrrLib.h b/UefiCpuPkg/Include/Library

[edk2] [Patch 2/7] Vlv2TbltDevicePkg: Enhance get mtrr mask logic.

2017-08-03 Thread Eric Dong
In order to not use the deprecated macro, refine get mtrr mask value logic. Cc: Jeff Fan Cc: Ruiyu Ni Cc: David Wei Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c | 45 ++ 1 file

[edk2] [Patch 1/7] QuarkSocPkg MtrrLib: Enhance get mtrr mask logic.

2017-08-03 Thread Eric Dong
In order to not use the deprecated macro, refine get mtrr mask value logic. Cc: Jeff Fan Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- QuarkSocPkg/QuarkNorthCluster/Library/MtrrLib/MtrrLib.c | 9 - 1 file

[edk2] [Patch 5/7] Vlv2TbltDevicePkg: Remove reference deprecated macro.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Cc: David Wei Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- Vlv2TbltDevicePkg/PlatformInitPei/MemoryPeim.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Vlv2TbltDevicePkg/PlatformInitPei

[edk2] [Patch 4/7] QuarkSocPkg MtrrLib: Remove reference deprecated macro.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- .../QuarkNorthCluster/Library/MtrrLib/MtrrLib.c| 26 +- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/QuarkSocPkg

[edk2] [Patch 3/7] UefiCpuPkg CpuDxe: Enhance get mtrr mask logic.

2017-08-03 Thread Eric Dong
In order to not use the deprecated macro, refine get mtrr mask value logic. Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuDxe/CpuDxe.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

[edk2] [Patch 6/7] UefiCpuPkg CpuDxe: Remove reference deprecated macro.

2017-08-03 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuDxe/CpuDxe.c | 22 +++--- UefiCpuPkg/CpuDxe/CpuDxe.h | 1 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c

[edk2] [Patch 2/3] UefiCpuPkg CpuCommonFeaturesLib: Enable LMCE feature.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- .../CpuCommonFeaturesLib/CpuCommonFeatures.h | 56 +- .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c| 12 +++ .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf

[edk2] [Patch 3/3] UefiCpuPkg PiSmmCpuDxeSmm: Check LMCE capability when wait for AP.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 57 ++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c b

[edk2] [Patch 0/3] Enable LMCE feature

2017-08-01 Thread Eric Dong
This patch series enable local machine check exception feature and used it in wait for ap logic. Eric Dong (3): UefiCpuPkg: Add definition for LMCE feature. UefiCpuPkg CpuCommonFeaturesLib: Enable LMCE feature. UefiCpuPkg PiSmmCpuDxeSmm: Check LMCE capability when wait for AP

[edk2] [Patch 1/3] UefiCpuPkg: Add definition for LMCE feature.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h b/UefiCpuPkg/Include

[edk2] [Patch 0/3] Enable Processor trace feature.

2017-08-01 Thread Eric Dong
Enable processor trace feature. V2 update: 1. Add device capability check logic in Support function. 2. Correct the function comments. V3 update: 1. Get device capability in Suport function instead of GetConfigData function. Eric Dong (3): UefiCpuPkg: Add Pcds used by processor trace

[edk2] [Patch v3 3/3] UefiCpuPkg: Enable Processor Trace feature.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../CpuCommonFeaturesLib/CpuCommonFeatures.h | 66 +++ .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c| 11 + .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | 4

[edk2] [Patch v3 2/3] UefiCpuPkg: Add Processor Trace feature definition.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h b/UefiCpuPkg/Include

[edk2] [Patch v3 1/3] UefiCpuPkg: Add Pcds used by processor trace feature.

2017-08-01 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 8 1 file changed, 8 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index e5b0334..2ddeab4 100644 --- a

[edk2] [Patch v2 2/3] UefiCpuPkg: Add Processor Trace feature definition.

2017-07-31 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiCpuPkg/Include/Library/RegisterCpuFeaturesLib.h b/UefiCpuPkg/Include

[edk2] [Patch v2 1/3] UefiCpuPkg: Add Pcds used by processor trace feature.

2017-07-31 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/UefiCpuPkg.dec | 10 ++ 1 file changed, 10 insertions(+) diff --git a/UefiCpuPkg/UefiCpuPkg.dec b/UefiCpuPkg/UefiCpuPkg.dec index e5b0334..8779138 100644 --- a

[edk2] [Patch v2 3/3] UefiCpuPkg: Enable Processor Trace feature.

2017-07-31 Thread Eric Dong
Cc: Jeff Fan Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../CpuCommonFeaturesLib/CpuCommonFeatures.h | 66 +++ .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.c| 11 + .../CpuCommonFeaturesLib/CpuCommonFeaturesLib.inf | 4

<    1   2   3   4   5   >