Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Leif Lindholm
CC: Feng Tian
---
UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib
DEBUG_AGENT_INIT_POSTMEM_SEC case.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
CC: Brian J. Johnson
---
.../SecPeiDebugAgent/SecPeiDebugAgentLib.c | 29 ++
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git
a
Add exception type decoder to print exception name string beside print
exception type value. The exception names are from IA32 SDM.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
Reviewed-by: Feng Tian
---
.../CpuExceptionHandlerLib/CpuExceptionCommon.c| 48
This PCD is used to specify timeout value for BSP to detect all APs for the
first time.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/UefiCpuPkg.dec | 7 ++-
1 file changed, 6 insertions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.h| 23 +++
UefiCpuPkg/CpuMpPei/Ia32/MpFuncs.asm | 16
UefiCpuPkg/CpuMpPei/Ia32
Invoke InitializeFloatingPointUnits() to initialize FPU per UEFI specification
before call C function in assembly code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.h
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 87 +
UefiCpuPkg/CpuMpPei/PeiMpServices.h | 50 +
2 files changed
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/Include/Register/LocalApic.h | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/UefiCpuPkg/Include/Register/LocalApic.h
b
h Aps BIST information.
Jeff Fan (28):
UefiCpuPkg: Add CpuMpPei module
UefiCpuPkg/CpuMpPei: Load GDT table on BSP
UefiCpuPkg/CpuMpPei: Find available memory < 1MB for AP reset code
UefiCpuPkg/CpuMpPei: Add MP exchange structure definition
UefiCpuPkg/CpuMpPei: Add AP reset IA32 assem
Get AP wakeup buffer and copy AP reset code into it. Allocate APs' stack and CPU
MP data buffer. Fill CPU MP data fields accordingly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/Cpu
Add PCDs PcdCpuMicrocodePatchAddress and PcdCpuMicrocodePatchRegionSize that
are used to detect microcode patch from microcode region.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/UefiCpuPkg.dec
Get CPU BIST information from SEC Platform Information(2) PPIs and update them
accordingly. Install(Reinstall) SEC Platform Information2 PPI to published the
new CPU BIST.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 8
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 2 ++
UefiCpuPkg/CpuMpPei/CpuMpPei.inf | 1 +
3 files changed, 11 insertions
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/Ia32/MpEqu.inc| 12
UefiCpuPkg/CpuMpPei/Ia32/MpFuncs.asm | 117 ++
UefiCpuPkg/CpuMpPei/Ia32
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 82 +
UefiCpuPkg/CpuMpPei/PeiMpServices.h | 46 +
2 files changed
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 126
UefiCpuPkg/CpuMpPei/PeiMpServices.h | 62 ++
2 files changed
This module is to provide MP PPI services defined in PI 1.4.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c| 41 +++
UefiCpuPkg/CpuMpPei
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 14 +++
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 34 +++
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 188
Add DetectMicrocode() to load microcode on BSP and APs.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 8 +-
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 5 +
UefiCpuPkg/CpuMpPei
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.h b/UefiCpuPkg/CpuMpPei
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.h| 12
UefiCpuPkg/CpuMpPei/Ia32/MpEqu.inc| 4 ++
UefiCpuPkg/CpuMpPei/Ia32/MpFuncs.asm | 79
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b/UefiCpuPkg
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 60 ++
1 file changed, 60 insertions(+)
diff --git a/UefiCpuPkg/CpuMpPei/CpuMpPei.c b
Add CpuMpEndOfPeiCallback () to restore wakeup buffer data on S3 path and flag
flag wakeup buffer to be un-used type on normal boot path. Set one EndOfPei
flag save/restore wakeup buffer when wakeup APs every time.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
Load new GDT table and update segment accordingly.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c| 28 ++
UefiCpuPkg/CpuMpPei/CpuMpPei.h| 30
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 191
UefiCpuPkg/CpuMpPei/PeiMpServices.h | 36 +++
2 files changed, 227
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 1 +
UefiCpuPkg/CpuMpPei/CpuMpPei.inf| 2 +
UefiCpuPkg/CpuMpPei/PeiMpServices.c | 94
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 9 +++--
UefiCpuPkg/CpuMpPei/CpuMpPei.h | 2 ++
UefiCpuPkg/CpuMpPei/CpuMpPei.inf| 1 +
UefiCpuPkg/CpuMpPei
Add AsmHltLoop () in assembly code, it will not be copied into AP wakeup
buffer and invoked at end of ApCFunction (). To make sure AP work in case
AP wakeup buffer is restored to original data.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC
Search memory resource HOB list to find one available system memory under 1MB
for AP reset code and exchange information between BSP and APs.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/X64/MpEqu.inc| 17
UefiCpuPkg/CpuMpPei/X64/MpFuncs.asm | 154 +++
UefiCpuPkg/CpuMpPei/X64
BSP will send broadcast INIT Startup IPI to all APs and collect APs count and
BIST information.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
CC: Jiewen Yao
CC: Michael Kinney
---
UefiCpuPkg/CpuMpPei/CpuMpPei.c | 119
OffsetHigh is 16bit value and its type is UINT32 and defined in structure.
If its high bit is 1, it will sign extension when do 16-bit left-shift
operation. Need to typecast if after left-shift operation on GCC.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC
CPU MP DXE driver to get CPU BIST
information. And PiCis.h could pass build.
C. Update UefiCpuPkg/CpuDxe drive to get CPUs' BIST information by Guided HOB.
Jeff Fan (3):
MdePkg: Add Sec Platform Information2 PPI
MdePkg: Include PiCis.h in SecPlatformInformation.h
UefiCpuPkg/CpuDxe: Ge
This is a new PPI introduced in PI 1.4 to pass multiple CPU information from
SEC phase to PEI/DXE phases.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Liming Gao
---
MdePkg/Include/Ppi/SecPlatformInformation2.h | 85
MdePkg
This file references EFI_PEI_SERVICES but it will be used by CPU MP DXE driver
to get CPU BIST information. And PiCis.h could pass build.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Liming Gao
---
MdePkg/Include/Ppi/SecPlatformInformation.h | 4 +++-
1
Get CPU BIST information from gEfiSecPlatformInformation2PpiGuid or
gEfiSecPlatformInformationPpiGuid Guided HOB and update the CPU healthy status
for CPU MP Service.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Feng Tian
---
UefiCpuPkg/CpuDxe/CpuDxe.inf
ff-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c| 10 ++
1 file changed, 10 insertions(+)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
b/SourceLevelDebugPkg/Library/DebugAgent/DxeDebug
InitializeDebugTimer () to avoid Debug
Timer interrupt happens during debug port and debug agent initialization phase.
And enable Debug Timer interrupt after debug agent is initialized.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library
Check PcdDebugPortHandleBufferSize before allocate buffer.
PeriodicMode is BOOLEAN type, needn't to use == TRUE in if condition.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/SecPeiDebugAgent/SecPeiDebugAgent
ution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c
b/SourceLevelDeb
Add one parameter DumpFlag to indicate if need to dump Local APIC time's
parameter.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/DebugAgentCommon/DebugAgent.c | 2 +-
.../Library/DebugAgent/DebugAgentC
APIC timer's parameter.
Changes since v1:
Per Ray's off-line comments, add DumpFlag to indicate if dump Local APIC
timer's parameter instead of making use of TimerFrequency value.
Jeff Fan (2):
SourceLevelDebugPkg/SmmDebugAgent: Initialize Local APIC Timer
SourceLevelDebugPkg/De
Dump Debug Timer's parameter only if TimerFrequency is not NULL.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/DebugAgentCommon/DebugTimer.c | 15 +--
1 file changed, 9 insertions(+), 6 dele
ution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/SmmDebugAgent/SmmDebugAgentLib.c
b/SourceLevelDeb
rameter if TimerFrequency is not NULL.
Jeff Fan (2):
SourceLevelDebugPkg/SmmDebugAgent: Initialize Local APIC Timer
SourceLevelDebugPkg/DebugTimer: Dump Debug Timer parameter
.../Library/DebugAgent/DebugAgentCommon/DebugTimer.c | 15 +--
.../Library/DebugAgent/Smm
useful information
as early as possible.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
Cc: Ruiyu Ni
---
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c | 42 +-
.../DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c| 29 ---
2 files
of
SetupDebugAgentEnvironment() name.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
CC: Ruiyu Ni
---
.../DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c| 39 +++---
1 file changed, 19 insertions(+), 20 deletions(-)
diff --git
a
SetupDebugAgentEnvironment().
b) Fix typo of SetupDebugAgentEnviroment().
Jeff Fan (2):
SourceLevelDebugPkg/DxeDebugAgent: Initialize Local APIC Timer early
SourceLevelDebugPkg/DebugAgentDxe: Move help info from DxeDebugAgent
SourceLevelDebugPkg/DebugAgentDxe/DebugAgentDxe.c | 42 -
.../DebugAgent
useful information
as early as possible.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
SourceLevelDebugPkg/DebugAgentDxe: Move help info from DxeDebugAgent
Now DxeDebugAgent Library instance will print help information on how to load
DebugAgentDxe.efi in UEFI shell
DxeDebugAgent library instance initialize Local APIC timer is too late to be
used for time-out mechanism. Also move help information for serial debug port
to DebugAgentDxe module to help developer as early as possible.
Jeff Fan (2):
SourceLevelDebugPkg/DxeDebugAgent: Initialize Local APIC Timer
Signed-off-by: Jeff Fan
Cc: Ruiyu Ni
---
.../Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/DxeDebugAgentLib.c
b/SourceLevelDebugPkg/Library/DebugAgent
nds to logical GPI[1], and so on, and GpiNum of N corresponds to
GPI[N], where N can span from 0 to 2^64-1.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
MdePkg/Include/Protocol/SmmGpiDispatch2.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
d
Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
MdePkg/Include/Pi/PiSmmCis.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/MdePkg/Include/Pi/PiSmmCis.h b/MdePkg/Include/Pi/PiSmmCis.h
index 26880b8..66e2dd5 100644
--- a/MdePkg/Include/Pi/PiSmmCis.h
+++ b/MdePkg/Include
SmmRegisterProtocolNotify() already followed this new
rule, needn't to be updated.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
MdeModulePkg/Core/PiSmmCore/Notify.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/MdeModulePkg/Core/PiSm
SmmRegisterProtocolNotify() already followed this new
rule, needn't to be updated.
Jeff Fan (2):
MdePkg/PiSmmCis.h: SMM register protocol notify function clarify
MdeModulePkg/SmmCore: SMM register protocol notify function clarify
MdeModulePkg/Core/PiSmmCore/Notify.c | 6 +++---
MdePkg/Inclu
-by: Jeff Fan
---
.../DebugAgent/DebugAgentCommon/DebugAgent.c | 49 ++
1 file changed, 41 insertions(+), 8 deletions(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
.../Library/DebugAgent/DebugAgentCommon/DebugAgent.c | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
Add InterruptFlag field in DEBUG_AGENT_FLAG. This field is used to
save/restore EFLAGS.IF across Stepping command execution.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h | 4 +++-
1 file
This series does the following enhancement to handle exception during
execution Stepping command.
a) In case the instruction executing Stepping command generates other
exception. Such as, #GP or #PF exception.
b) Clear EFLAGS.IF before do IRET for Stepping command, it could avoid
the pending interr
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c | 4
1 file changed, 4 insertions(+)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
b
-off-by: Jeff Fan
---
.../DebugAgent/DebugAgentCommon/DebugAgent.c | 53 ++
1 file changed, 44 insertions(+), 9 deletions(-)
diff --git
a/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.c
b/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon
This series does the following enhancement to handle exception during execution
Stepping command.
a) In case the instruction executing Stepping command generates other
exception. Such as, #GP or #PF exception.
b) Clear EFLAGS.IF before do IRET for Stepping command, it could avoid the
pending int
This field is used to save/restore EFLAGS.IF across Stepping command execution.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan
---
SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/DebugAgent.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
64 matches
Mail list logo