[edk2-devel] [PATCH v2] UefiCpuPkg/PiSmmCpuDxeSmm: Pre-allocate PROCEDURE_TOKEN buffer

2019-12-26 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2388 Token is new introduced by MM MP Protocol. Current logic allocate Token every time when need to use it. The logic caused SMI latency raised to very high. Update logic to allocate Token buffer at driver's entry point. Later use the token from

Re: [edk2-devel] HTTPS Certificate Validation During Enrollment

2019-12-26 Thread Siyuan, Fu
Yes Best Regards Siyuan From: Sivaraman Nainar Sent: 2019年12月27日 15:26 To: Fu, Siyuan ; devel@edk2.groups.io; Wu, Jiaxin Cc: Madhan B. Santharam ; Arun Subramanian B ; Arun Sura Soundara Pandian ; Bhuvaneshwari M R ; Ramesh R. Subject: RE: HTTPS Certificate Validation During Enrollment Si

[edk2-devel] [PATCH v4 3/6] UefiCpuPkg: Add definitions for EDKII microcode patch HOB

2019-12-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2430 This commit will add the definitions for EDKII microcode patch HOB. The intention of adding this HOB is to provide a scheme to store the below information: A. The base address and size of the microcode patches that are being loaded (from

[edk2-devel] [PATCH v4 4/6] UefiCpuPkg/MpInitLib: Produce EDKII microcode patch HOB

2019-12-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2430 This commit will update the MpInitLib to: A. Collect the base address and size information after microcode patches being loaded into memory; B. Collect the detected microcode patch for each processor within system; C. Based on the collect

[edk2-devel] [PATCH v4 6/6] UefiCpuPkg/MpInitLib: Remove redundant microcode fields in CPU_MP_DATA

2019-12-26 Thread Wu, Hao A
Previous commits have introduced below fields in structure CPU_AP_DATA: UINT32 ProcessorSignature; UINT8 PlatformId; UINT64 MicrocodeEntryAddr; which store the information of: A. CPUID B. Platform ID C. Detected micro

[edk2-devel] [PATCH v4 5/6] UefiCpuPkg/MpInitLib: Relocate microcode patch fields in CPU_MP_DATA

2019-12-26 Thread Wu, Hao A
The below 2 microcode patch related fields in structure CPU_MP_DATA: UINT64 MicrocodePatchAddress; UINT64 MicrocodePatchRegionSize; They will be passed from PEI phase and be reused DXE phase. Previously, these 2 fields were placed after some fi

[edk2-devel] [PATCH v4 0/6] Microcode related optimizations

2019-12-26 Thread Wu, Hao A
Series is also available at: https://github.com/hwu25/edk2/tree/mpinitlib_opt_v4 V4 changes: A. For patch 2, keep the calling sequence of functions: MicrocodeDetect() and MtrrGetAllMtrrs() unchanged for BSP. B. For patch 2, in function LoadMicrocodePatch(), add the missing logic that handles

[edk2-devel] [PATCH v4 2/6] UefiCpuPkg/MpInitLib: Reduce the size when loading microcode patches

2019-12-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2429 This commit will attempt to reduce the copy size when loading the microcode patches data from flash into memory. Such optimization is done by a pre-process of the microcode patch headers (on flash). A microcode patch will be loaded into memo

[edk2-devel] [PATCH v4 1/6] UefiCpuPkg/MpInitLib: Collect processors' CPUID & Platform ID info

2019-12-26 Thread Wu, Hao A
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2429 This commit will collect the CPUID and Platform ID information for each processor within system. They will be stored in the CPU_AP_DATA structure. These information will be used in the next commit to decide whether a microcode patch will be

Re: [edk2-devel] HTTPS Certificate Validation During Enrollment

2019-12-26 Thread Sivaraman Nainar
Siyuan: I agree. The basic check whatever we are doing here is the file extension only. Do you mean that could be enough and TLS will take care of validating the certificate during the connection State? -Siva From: Fu, Siyuan [mailto:siyuan...@intel.com] Sent: Tuesday, December 24, 2019 1:30 PM

[edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: Fix PYTHON_VERSION usage

2019-12-26 Thread Nate DeSimone
From: Nate DeSimone PYTHON_VERSION in set_version_and_build_wheels.py is only being used for Windows right now. This patch adds Linux support. Cc: Ashley DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Signed-off-by: Nate DeSimone --- build-scripts/set_version_and_build_wheels.p

[edk2-devel] [edk2-staging/EdkRepo] [PATCH] EdkRepo: build_linux_installer.py path fixes

2019-12-26 Thread Nate DeSimone
From: Nate DeSimone Make path handling in build_linux_installer.py more platform agnostic Cc: Ashley DeSimone Cc: Puja Pandya Cc: Erik Bjorge Cc: Bret Barkelew Signed-off-by: Nate DeSimone --- build-scripts/build_linux_installer.py | 8 1 file changed, 4 insertions(+), 4 deletions