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

2019-12-30 Thread Wu, Hao A
> -Original Message- > From: Dong, Eric > Sent: Monday, December 30, 2019 2:18 PM > To: Wu, Hao A; devel@edk2.groups.io > Cc: Ni, Ray; Laszlo Ersek; Zeng, Star; Fu, Siyuan; Kinney, Michael D > Subject: RE: [PATCH v4 4/6] UefiCpuPkg/MpInitLib: Produce EDKII microcode > patch HOB > > > > >

Re: [edk2-devel] [PATCH 1/2] SdMmcPciHcDxe: Send EdkiiSdMmcSwitchClockFreq after SD clock start

2019-12-30 Thread Marcin Wojtas
Hi, wt., 24 gru 2019 o 10:54 Ard Biesheuvel napisał(a): > > On Tue, 24 Dec 2019 at 03:52, Wu, Hao A wrote: > > > > > -Original Message- > > > From: Albecki, Mateusz > > > Sent: Saturday, December 21, 2019 1:13 AM > > > To: devel@edk2.groups.io > > > Cc: Albecki, Mateusz; Wu, Hao A; Marci

Re: [edk2-devel] [edk2] [PATCH 2/2] MdeModulePkg/Usb/UsbMouse: Fix endpoint selection

2019-12-30 Thread newexplorerj
Reviewed-by: GuoMinJ -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52610): https://edk2.groups.io/g/devel/message/52610 Mute This Topic: https://groups.io/mt/68284836/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://ed

Re: [edk2-devel] [edk2] [PATCH 1/2] MdeModulePkg/Usb/EfiKey: Fix endpoint selection

2019-12-30 Thread newexplorerj
On Fri, Dec 13, 2019 at 03:38 AM, MrChromebox wrote: > > (EndpointDescriptor.EndpointAddress & USB_ENDPOINT_DIR_IN) Reviewed-by: GuoMinJ -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52609): https://edk2.groups.io/g/devel/message/526

[edk2-devel] [edk2-platforms][PATCH] Platform/RPi4: Fix SDHC interrupt numbers.

2019-12-30 Thread Jared McNeill
According to the bcm2711 devicetree, the Arasan SDHCI uses GIC SPI 126 and the Broadcom SDHost uses GIC SPI 120. Signed-off-by: Jared McNeill --- Platform/RaspberryPi/RPi4/AcpiTables/Sdhc.asl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/RaspberryPi/RPi4/AcpiTa

[edk2-devel] [edk2-staging/UEFI_PCI_ENHANCE-2 PATCH V7] MdePkg/Protocols: New PCI Express Platform Protocol, EFI encodings

2019-12-30 Thread Javeed, Ashraf
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1954 Three interfaces added to PCI Express Platform Protocol:- (1) GetDevicePolicy() -> to retrieve device-specific platform policies (2) NotifyDeviceState() -> to notify platform about device PCI Express configuration state (3) GetPolicy() ->

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

2019-12-30 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 v5 5/6] UefiCpuPkg/MpInitLib: Relocate microcode patch fields in CPU_MP_DATA

2019-12-30 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 v5 6/6] UefiCpuPkg/MpInitLib: Remove redundant microcode fields in CPU_MP_DATA

2019-12-30 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 v5 2/6] UefiCpuPkg/MpInitLib: Reduce the size when loading microcode patches

2019-12-30 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 v5 3/6] UefiCpuPkg: Add definitions for EDKII microcode patch HOB

2019-12-30 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 v5 0/6] Microcode related optimizations

2019-12-30 Thread Wu, Hao A
Series is also available at: https://github.com/hwu25/edk2/tree/mpinitlib_opt_v5 V5 changes: A. For patch 2, address a typo to resolve enlarging the microcode patch information buffer too early when it is not full; B. For patch 4, relocate the logic of storing detected microcode patch before

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

2019-12-30 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] [PATCH v5 4/6] UefiCpuPkg/MpInitLib: Produce EDKII microcode patch HOB

2019-12-30 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Wu, Hao A > Sent: Tuesday, December 31, 2019 8:49 AM > To: devel@edk2.groups.io > Cc: Wu, Hao A ; Dong, Eric ; Ni, > Ray ; Laszlo Ersek ; Zeng, Star > ; Fu, Siyuan ; Kinne

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

2019-12-30 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Wu, Hao A > Sent: Tuesday, December 31, 2019 8:49 AM > To: devel@edk2.groups.io > Cc: Wu, Hao A ; Dong, Eric ; Ni, > Ray ; Laszlo Ersek ; Zeng, Star > ; Fu, Siyuan ; Kinney, Michael > D > Subject: [PATCH v5 2/6] UefiCpuPkg/MpInitLib: Re

Re: [edk2-devel][edk2-platforms][PATCH] IntelSiliconPkg/Feature/SmmAccess/*: Fix incorrect Docygen comment

2019-12-30 Thread Zhang, Shenglei
Reviewed-by: Shenglei Zhang > -Original Message- > From: Chen, Marc W > Sent: Thursday, December 26, 2019 2:53 PM > To: devel@edk2.groups.io > Cc: Kubacki, Michael A ; Chaganty, Rangasai V > ; Gao, Liming ; > Zhang, Shenglei ; Chen, Marc W > > Subject: [edk2-devel][edk2-platforms][PATCH]

[edk2-devel] [PATCH 1/6] SecurityPkg/Guid: Add TCG 800-155 event GUID definition.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 The PEIM can produce the 800-155 event and the event will be recorded to TCG event log by the TCG2 DXE. Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Jiewen Yao --- SecurityPkg/Include/Guid/TcgEventHob.h | 11 +++ SecurityPkg/Se

[edk2-devel] [PATCH 3/6] MdeModulePkg/Smbios: Done measure Smbios multiple times.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 In current implementation, the SMBIOS table is measured multiple time in every readytoboot event. This causes Smbios Table record appears multiple time in the TCG event log and confuses people. This issue makes it hard to implement 800-155

[edk2-devel] [PATCH 2/6] SecurityPkg/Tcg2Dxe: Add Tcg2Dxe to support 800-155 event.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 The TCG2 DXE supports to parse the 800-155 event GUID from PEI and puts to the beginning of the TCG2 event. The TCG2 DXE also supports a DXE driver produces 800-155 event and let TCG2 DXE driver record. The 800-155 is a NO-ACTION event whi

[edk2-devel] [PATCH 0/6] TCG: Add TCG PFP rev 105 and 800-155 event support.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 This patch series adds TCG PFP rev 105 and 800-155 event support. TCG published Platform Firmware Profile spec revision 105 (https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_05_3feb20.pdf) and Firmware Integrity M

[edk2-devel] [PATCH 6/6] SecurityPkg/Tcg2Pei: Add TCG PFP 105 support.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 Use EV_EFI_PLATFORM_FIRMWARE_BLOB2 if the TCG PFP revision is >= 105. Use FvName as the description for the FV. Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Jiewen Yao --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 91 ++

[edk2-devel] [PATCH 4/6] MdeModulePkg/dec: add PcdTcgPfpMeasurementRevision PCD

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 This PCD is to control the TCG PFP spec revision. The PFP 105 added new event type to support NIST SP800-155, and deprecated old event type. Cc: Jian J Wang Cc: Hao A Wu Cc: Chao Zhang Signed-off-by: Jiewen Yao --- MdeModulePkg/MdeMod

[edk2-devel] [PATCH 5/6] MdeModulePkg/Smbios: Add TCG PFP rev 105 support.

2019-12-30 Thread Yao, Jiewen
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439 Report EV_EFI_HANDOFF_TABLES2 if the platform chooses PFP >= 105. Cc: Jian J Wang Cc: Hao A Wu Cc: Dandan Bi Cc: Star Zeng Signed-off-by: Jiewen Yao --- .../SmbiosMeasurementDxe.c| 35 +-- .../Smbio