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
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
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
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
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
--
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
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
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
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
: 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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
: 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
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
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
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
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
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
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
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
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
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
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
: 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
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
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
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
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
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
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
---
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
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
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
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
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
.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
201 - 300 of 471 matches
Mail list logo