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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
.
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
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
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
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
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
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
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
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
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
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
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
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
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
_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
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 ---
..
://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
://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
/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
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 ---
..
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
: 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
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
: 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
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/
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
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
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
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
-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
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
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
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
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
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
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
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
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
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
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
101 - 200 of 471 matches
Mail list logo