[edk2] [patch] PcAtChipsetPkg: Add description for new added PCD in commit e78aab9d2

2017-11-27 Thread Dandan Bi
Cc: Leo Duran <leo.du...@amd.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- PcAtChipsetPkg/PcAtChipsetPkg.uni | 9 + 1 file changed, 9 insertions(+) diff --gi

[edk2] [patch] PcAtChipsetPkg/IsaAcpiDxe: Fix VS2012 build failure

2017-11-21 Thread Dandan Bi
er declaration. Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/PcAtChipsetPkg/IsaAcpiDxe/PcatIsaAcpi.c b/P

[edk2] [PATCH v2 2/2] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-11-05 Thread Dandan Bi
: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../VarCheckHiiLib/InternalVarCheckStructure.h |

[edk2] [PATCH v2 1/2] MdeModulePkg/VarCheckHiiLib: Replace EFI_D_INFO with DEBUG_INFO

2017-11-05 Thread Dandan Bi
d-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/VarCheckHiiLib/VarCheckHiiGen.c| 148 ++--- .../Library/VarCheckHiiLib/VarCheckHiiGenFromFv.c | 14 +- .../Library/VarCheckHiiLib/VarCheckHiiGenFromHii.c |

[edk2] [PATCH v2 0/2] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-11-05 Thread Dandan Bi
,like update oneof", "checkbox", "numeric" to "OneOf", "CheckBox", "Numeric". Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Dandan Bi (2): MdeModulePkg/VarC

[edk2] [PATCH v3] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-11-05 Thread Dandan Bi
le value listed in the vfr file. Since we have enhanced vfr to support Question value stored in bit field, so now enhance VarCheckHiiLib to support bit field check. Cc: Star Zeng <star.z...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contrib

[edk2] [patch] BaseTools/VfrCompile: Add check to avoid using NULL pointer

2017-11-01 Thread Dandan Bi
<eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[edk2] [patch] UefiCpuPkg/MpInitLib:Make function comments align with function

2017-10-31 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Library/MpInitLib/MpLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UefiCpuPkg/Library/MpInitLi

[edk2] [patch 1/3] ShellPkg/Dp: make sure memory is freed before exit

2018-05-13 Thread Dandan Bi
on Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 70 ++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpD

[edk2] [patch 2/3] ShellPkg/Dp: Initialize summary date when run DP

2018-05-13 Thread Dandan Bi
data "SummaryData" when the dp dymanic command is called. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynami

[edk2] [patch 3/3] ShellPkg/Dp: Make the help info align with code

2018-05-13 Thread Dandan Bi
Remove -T, -P, -h flags in the help info of DP to align with current code implementation. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- Shell

[edk2] [patch v2] BaseTools/VfrCompile: Avoid using uninitialized pointer

2018-05-08 Thread Dandan Bi
gt; Cc: Gary Lin <g...@suse.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/BaseT

[edk2] [patch] BaseTools/VfrCompile: Avoid using uninitialized pointer

2018-05-08 Thread Dandan Bi
r: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- BaseTools/Source/C/VfrCompile/VfrSyntax.g | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/BaseTools/Source/C/VfrCompile/VfrSyntax.g b/BaseTools/Source/C/VfrCompile/VfrSyntax.g

[edk2] [patch] IntelFrameworkPkg/UefiLib: Fix build fail caused by commit b6d5def2fa

2018-05-18 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c b/IntelFrameworkPkg/Librar

[edk2] [patch V2 1/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
Make the function comments follow EDK2 coding style. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 130

[edk2] [patch V2 2/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 44 ++-- .../UefiShellAcpiViewCommandLib/AcpiTableParser.c | 50 +-- .../Library/UefiShellAcpiViewCommandLib/AcpiView.c | 58 ++ .../Library/UefiShellAcpiViewCommandLib/AcpiView.h | 10

[edk2] [patch V2 0/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-06 Thread Dandan Bi
ECC tool report some coding style issue in UefiShellAcpiViewCommandLib. This patch series is to clean these issues. V2: Remove the updates of guard macros in header files in patch 2. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Dandan Bi (2): ShellPkg

[edk2] [patch V2 1/3] ShellPkg/Dp: make sure memory is freed before exit

2018-06-11 Thread Dandan Bi
-by: Dandan Bi Reviewed-by: Ruiyu Ni --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 70 ++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c index aa9c2cdf7a8

[edk2] [patch 0/9] Add new Perf macros

2018-06-19 Thread Dandan Bi
: Liming Gao Cc: Star Zeng Cc: Michael Kinney Dandan Bi (9): MdeModulePkg: Add PERFORMANCE_MEASUREMENT_PROTOCOL MdeModulePkg: Update Performance instances to use new protocol MdePkg/PerformanceLib.h: Add new Perf macros MdeModulePkg/ExtendedFirmwarePerf: Remove PerfId definitions

[edk2] [patch 0/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
ECC tool report some coding style issue in UefiShellAcpiViewCommandLib. This patch series is to clean these issues. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Dandan Bi (2): ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues ShellPkg

[edk2] [patch 1/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
Make the function comments follow EDK2 coding style. Cc: Sami Mujawar Cc: Evan Lloyd Cc: Sami Mujawar Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 130

[edk2] [patch 2/2] ShellPkg/UefiShellAcpiViewCommandLib: Fix ECC issues

2018-06-05 Thread Dandan Bi
Cc: Evan Lloyd Cc: Jaben Carsey Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../UefiShellAcpiViewCommandLib/AcpiParser.c | 44 ++-- .../UefiShellAcpiViewCommandLib/AcpiParser.h | 6

[edk2] [patch 1/3] ShellPkg/Dp: make sure memory is freed before exit

2018-06-05 Thread Dandan Bi
-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 70 ++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c index aa9c2cdf7a8..fe85937f557 100644

[edk2] [patch 3/3] ShellPkg/Dp: Make the help info align with code

2018-06-05 Thread Dandan Bi
Remove -T, -P, -h flags in the help info of DP to align with current code implementation. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.uni | 4 +--- 1 file changed

[edk2] [patch 2/3] ShellPkg/Dp: Initialize summary date when run DP

2018-06-05 Thread Dandan Bi
data "SummaryData" when the dp dymanic command is called. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 23 +++ 1 file changed,

[edk2] [RFC] MdePkg/PerformanceLib.h: Add new Perf macros

2018-06-06 Thread Dandan Bi
updating. Cc: Liming Gao Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdePkg/Include/Library/PerformanceLib.h | 407 +++- MdePkg/MdePkg.dec | 9 +- 2 files changed, 414 insertions(+), 2

[edk2] [patch] MdeModulePkg/SmmCorePerformanceLib: Update mPerformanceLength

2018-07-01 Thread Dandan Bi
the mPerformanceLength to fix this issue: updated mPerformanceLength = FPDT table header length + existing FPDT records length. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../Library/SmmCorePerformanceLib/SmmCorePerformanceLib.c | 8

[edk2] [patch] ShellPkg/DP: Add more check for input parameters

2018-06-25 Thread Dandan Bi
New added checkers includes: 1. Too many invalid parameters 2. Too few parameter 3. Invalid number parameter for -n and -t flag 4. Conflict parameter of -A and -R. Cc: Liming Gao Cc: Ruiyu Ni Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi

[edk2] [patch] MdeModulePkg/CapsuleRuntimeDxe: Fix ECC issue

2018-06-24 Thread Dandan Bi
Add guard macro for new added header file. Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Universal/CapsuleRuntimeDxe/Arm/CapsuleReset.c | 2 +- MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleService.h | 5 + 2 files

[edk2] [patch] MdeModulePkg/PiSmmCore: Remove SMM Perf entry

2018-06-27 Thread Dandan Bi
The perf measurement entry in SmmEntryPoint function doesn't have significant meaning. So remove it now. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Core/PiSmmCore/PiSmmCore.c | 4 1 file changed, 4

[edk2] [patch] MdeModulePkg/PerformanceLib: Add NULL pointer check

2018-06-27 Thread Dandan Bi
Agreement 1.1 Signed-off-by: Dandan Bi --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 18 -- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 13 - .../SmmCorePerformanceLib/SmmCorePerformanceLib.c | 18 -- 3 files changed, 32

[edk2] [patch 3/4] MdeModulePkg/DxeIplPeim: Refine coding style in function comments

2017-10-19 Thread Dandan Bi
Make the comments align with the function. And add some missing function comments. Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Eric Dong <eric.d...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModuleP

[edk2] [patch 4/4] UefiCpuPkg/MtrrLib: Make comments align with function

2017-10-19 Thread Dandan Bi
Cc: Eric Dong <eric.d...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Include/Library/MtrrLib.h | 2 +- UefiCpuPkg/Library/MtrrLib/MtrrLib.c | 2 +- 2 files cha

[edk2] [patch 0/4] Fix coding style issue

2017-10-19 Thread Dandan Bi
This pacth series maily refine the coding style, such as adding some missing comments, making comments alin with function... Dandan Bi (4): IntelFrameworkModulePkg/Csm: Refine coding style in comments IntelFrameworkModule/LegacyBios: not use explicit comparisons for BOOLEAN type

[edk2] [patch 1/4] IntelFrameworkModulePkg/Csm: Refine coding style in comments

2017-10-19 Thread Dandan Bi
1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkModulePkg/Csm/BiosThunk/KeyboardDxe/BiosKeyboard.c | 8 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c | 8 IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBiosInterface.h | 8 3 files chan

[edk2] [patch 2/4] IntelFrameworkModule/LegacyBios: Avoid explicit comparison for BOOLEAN

2017-10-19 Thread Dandan Bi
Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkModulePkg/Csm/LegacyBiosDxe/LegacyBios.c | 4 ++-- 1 file changed, 2 insertio

[edk2] [patch] MdeModulePkg/VarCheckHii: Enhance VarCheckHiiLib to support bit check

2017-10-27 Thread Dandan Bi
lt;eric.d...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../VarCheckHiiLib/InternalVarCheckStructure.h | 17 +- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHii.h | 4 +- ..

[edk2] [patch] MdeModulePkg/VarCheckHii: Update data type for variable "ArrayIndex"

2018-01-08 Thread Dandan Bi
nder: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MdeModulePkg/Library/VarCheckHiiLib/VarCheckHiiGen.c b/MdeModulePkg/L

[edk2] [PATCH v2 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-01-30 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../SmmCorePerformanceLib/SmmCorePerformanceLib.c | 1145 .../SmmCorePerformanceLib.inf | 10 +- .../SmmCorePerfor

[edk2] [PATCH v2 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-01-30 Thread Dandan Bi
Updated to convert Pref entry to FPDT record in PEI phase and then report the records to DxeCorePerfLib through GUID hob. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH v2 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-01-30 Thread Dandan Bi
to FirmwarePerformanceDxe. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1389 +++- .../DxeCore

[edk2] [PATCH v2 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-01-30 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

[edk2] [PATCH v2 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-01-30 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming@intel.com> Signed-off-by: Dandan Bi <danda

[edk2] [PATCH v2 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-01-30 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v2 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-01-30 Thread Dandan Bi
1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c | 271 ++--- .../FirmwarePerformanceDxe.inf | 4 +- 2 files changed, 18 insertions(+), 257 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerfo

[edk2] [PATCH v2 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-01-30 Thread Dandan Bi
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c | 29 +- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerfo

[edk2] [PATCH v2 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-01-30 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jaben Carsey <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/D

[edk2] [PATCH v3 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-02 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v3 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-02 Thread Dandan Bi
o the ACPI table. (3)Update DP to dump the performance info from the FPDT records in FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePer

[edk2] [PATCH v3 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-02 Thread Dandan Bi
to save the record and report the address of boot performance table to FirmwarePerformanceDxe. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dand

[edk2] [PATCH v3 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-02 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jaben Carsey <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/D

[edk2] [PATCH v3 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-02 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v3 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-02 Thread Dandan Bi
records instead of records contents. Updated to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Danda

[edk2] [PATCH v3 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-02 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c | 294 - .../FirmwarePerformanceDxe.inf | 4 +- 2 files changed, 51 insertions

[edk2] [PATCH v3 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-02 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v3 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-02 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v2] UefiCpuPkg/S3Resume: Add more perf entry for S3 phase

2018-02-07 Thread Dandan Bi
g@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/

[edk2] [patch 1/2] ShellPkg/Dp: Add null pointer check

2018-02-08 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Hao Wu <hao.a...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[edk2] [patch 2/2] ShellPkg/DP: Update the error message info

2018-02-08 Thread Dandan Bi
Make the error message clearer if fail to get ACPI/FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Jiewen Yao <jiewen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/DynamicCommand/DpD

[edk2] [patch] MdeModulePkg/PerfLib: Add NULL pointer check for "Token"

2018-02-09 Thread Dandan Bi
ion Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 6 +- MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c | 6 +- MdeModulePkg/Library/SmmCorePerformanceLib/SmmCorePerformanceLib

[edk2] [PATCH v2 2/7] UefiCpuPkg/S3Resume: Remove useless pref code

2018-02-09 Thread Dandan Bi
date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Eric Dong <eric.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 5/7] IntelFrameworkModulePkg/BdsDxe: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- IntelFrameworkModulePkg/Universal/BdsDxe/Bds.h | 3 +- .../Universal/BdsDxe/BdsDxe.inf

[edk2] [PATCH v2 4/7] MdeModulePkg/UefiBootManagerLib: Remove the useless pref codes

2018-02-09 Thread Dandan Bi
performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 3/7] MdeModulePkg/BdsDxe: Remove useless Pref Code

2018-02-09 Thread Dandan Bi
performance date form ACPI table in OS. So we can remove the old pref code to write performance data to OS. Cc: Liming Gao <liming@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v2 6/7] IntelFrameworkModulePkg/GenericBdsLib: Remove the useless Perf codes

2018-02-09 Thread Dandan Bi
: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/GenericBdsLib/BdsBoot.c| 29 +- .../Library/GenericBdsLib/GenericBdsLi

[edk2] [PATCH v2 1/7] MdeModulePkg/Performance.h: Remove the useless definition

2018-02-09 Thread Dandan Bi
Remove the definitions related to old perf codes. Cc: Star Zeng <star.z...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Include/Guid/

[edk2] [PATCH v2 0/7] Remove the useless pref codes

2018-02-09 Thread Dandan Bi
ic.d...@intel.com> Cc: Laszlo Ersek <ler...@redhat.com> Cc: David Wei <david@intel.com> Cc: Mang Guo <mang@intel.com> Dandan Bi (7): MdeModulePkg/Performance.h: Remove the useless definition UefiCpuPkg/S3Resume: Remove useless pref code MdeModulePkg/BdsDx

[edk2] [PATCH v5 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
DxeCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c

[edk2] [PATCH v5 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-06 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v5 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-06 Thread Dandan Bi
to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Smm

[edk2] [PATCH v5 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-06 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1367 +++- .../DxeCorePerformanceLib.inf

[edk2] [PATCH v5 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-06 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [PATCH v5 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v5 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-06 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jaben Carsey <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/D

[edk2] [PATCH v5 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-06 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v5 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-06 Thread Dandan Bi
info from the FPDT records in FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DX

[edk2] [patch] MdeModulePkg/PciBusDxe: Fix VS2012 build failure

2018-02-06 Thread Dandan Bi
Initialize local variable to suppress warning C4703: potentially uninitialized local pointer variable. Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> ---

[edk2] [PATCH v4 6/8] MdeModulePkg/FirmwarePerfDxe:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
DxeCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceDxe.c

[edk2] [PATCH v4 4/8] MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SMM phase

2018-02-06 Thread Dandan Bi
to convert Pref entry to FPDT record in SMM phase and then export records to FPDT table. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Smm

[edk2] [PATCH v4 8/8] ShellPkg/Dp: Updated to dump perf log based on FPDT table

2018-02-06 Thread Dandan Bi
Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Ruiyu Ni <ruiyu...@intel.com> Cc: Jaben Carsey <jaben.car...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- ShellPkg/D

[edk2] [PATCH v4 7/8] MdeModulePkg/FirmwarePerfSmm:Enhance for new pref infrastructure

2018-02-06 Thread Dandan Bi
by SmmCorePerformanceLib. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformanceSmm.c

[edk2] [PATCH v4 3/8] MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase

2018-02-06 Thread Dandan Bi
ing@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 1367 +++- .../DxeCorePerformanceLib.inf

[edk2] [PATCH v4 2/8] MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase

2018-02-06 Thread Dandan Bi
Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../Library/PeiPerformanceLib/PeiPerformanceLib.c | 567 ++--- .../PeiPerformanceLib/PeiPerformanceLib.inf| 14 +- 2 files changed, 382 insertions(+), 199 deletions(-) diff --git a/Md

[edk2] [PATCH v4 0/8] Update EDKII Performance infrastructure based on ACPI FPDT table

2018-02-06 Thread Dandan Bi
ao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Dandan Bi (7): MdeModulePkg/PeiPerformance:Updated to track FPDT record in PEI phase MdeModulePkg/DxeCorePerformanceLib:Track FPDT record in DXE phase MdeModulePkg/SmmCorePerformanceLib:Track FPDT record in SM

[edk2] [PATCH v4 1/8] MdeModulePkg:Add definitions for new Performance infrastructure

2018-02-06 Thread Dandan Bi
From: "Gao, Liming" <liming@intel.com> V3: Add "FPDT_" prefix for related definitions. Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <limin

[edk2] [PATCH v4 5/8] MdeModulePkg/FirmwarePerformancePei:Add FPDT records for S3 phase

2018-02-06 Thread Dandan Bi
Add FPDT records into boot performance table for S3 phase Cc: Liming Gao <liming@intel.com> Cc: Star Zeng <star.z...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- .../FirmwarePerformancePei.c

[edk2] [patch] MdeModulePkg/DriverSampleDxe: Make bit fields aligned in C structure

2018-02-08 Thread Dandan Bi
intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.com> --- MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MdeModulePkg/Universal/DriverSampleDxe/NVDataStruc.h b/MdeM

[edk2] [patch] MdePkg/BaseSafeIntLib: Fix VS2015 IA32 NOOPT build failure

2018-02-25 Thread Dandan Bi
replaces direct shift/multiplication of 64-bit integer with related function call to fix these failure. Cc: Liming Gao <liming@intel.com> Cc: Michael Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan...@intel.c

[edk2] [patch 5/9] MdeModulePkg: Update performance library instances

2018-06-19 Thread Dandan Bi
Update the performance library instances in MdeModulePkg to implement the APIs used for new added Perf macros. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 664

[edk2] [patch 7/9] MdeModulePkg: Use new added Perf macros

2018-06-19 Thread Dandan Bi
Replace old Perf macros with the new added ones. Cc: Liming Gao Cc: Star Zeng Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c | 7 + MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c

[edk2] [patch 8/9] SecurityPkg: Use new added Perf macros

2018-06-19 Thread Dandan Bi
Replace old Perf macros with the new added ones. Cc: Liming Gao Cc: Chao Zhang Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../DxeRsa2048Sha256GuidedSectionExtractLib.c| 16 .../PeiRsa2048Sha256GuidedSectionExtractLib.c

[edk2] [patch 2/9] MdeModulePkg: Update Performance instances to use new protocol

2018-06-19 Thread Dandan Bi
Update Update Performance instances in MdeModulePkg to use new PerformanceMeasurement protocol. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../DxeCorePerformanceLib/DxeCorePerformanceLib.c | 325

[edk2] [patch 1/9] MdeModulePkg: Add PERFORMANCE_MEASUREMENT_PROTOCOL

2018-06-19 Thread Dandan Bi
Add PerformanceMeasurement protocol to log performance info. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Include/Guid/PerformanceMeasurement.h | 91 ++ MdeModulePkg/MdeModulePkg.dec

[edk2] [patch 3/9] MdePkg/PerformanceLib.h: Add new Perf macros

2018-06-19 Thread Dandan Bi
1. Add new Perf macros for performance measurement and related APIs and definitions in Performance library class. 2. Update NULL performance library instance in MdePkg. Cc: Liming Gao Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi

[edk2] [patch 6/9] ShellPkg/dp: Update dp tool to parse new Perf record

2018-06-19 Thread Dandan Bi
: Liming Gao Cc: Ruiyu Ni Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 75 +++ ShellPkg/DynamicCommand/DpDynamicCommand/Dp.h | 1 + 2 files changed, 66 insertions(+), 10 deletions(-) diff

[edk2] [patch 9/9] UefiCpuPkg: Use new added Perf macros

2018-06-19 Thread Dandan Bi
Replace old Perf macros with the new added ones. Cc: Liming Gao Cc: Eric Dong Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[edk2] [patch 4/9] MdeModulePkg/ExtendedFirmwarePerf: Remove PerfId definitions

2018-06-19 Thread Dandan Bi
Remove the definitions of performance identifier since they have been added into PerformanceLib.h. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../Include/Guid/ExtendedFirmwarePerformance.h | 25

[edk2] [patch] SignedCapsulePkg/SystemFirmwareUpdateDxe: Fix ECC issues

2018-06-19 Thread Dandan Bi
Make function comments align with functions. Cc: Star Zeng Cc: Michael D Kinney Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- .../Universal/SystemFirmwareUpdate/SystemFirmwareUpdateDxe.c | 5 + 1 file changed, 5 insertions

[edk2] [patch V2 1/9] MdeModulePkg: Add PERFORMANCE_MEASUREMENT_PROTOCOL

2018-06-22 Thread Dandan Bi
Add PerformanceMeasurement protocol to log performance info. Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi --- MdeModulePkg/Include/Guid/PerformanceMeasurement.h | 91 ++ MdeModulePkg/MdeModulePkg.dec

[edk2] [patch V2 3/9] MdePkg/PerformanceLib.h: Add new Perf macros

2018-06-22 Thread Dandan Bi
1. Add new Perf macros for performance measurement and related APIs and definitions in Performance library class. 2. Update NULL performance library instance in MdePkg. Cc: Liming Gao Cc: Michael Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi

<    1   2   3   4   5   6   7   >