Re: [edk2-devel] [Patch 09/12] CryptoPkg IntrinsicLib: Make _fltused always be used

2019-09-28 Thread Liming Gao
Jiewen: When CLANG9 is used, CLANG compiler always removes _fltused symbol, and cause the linker issue. __attribute__((used)) variable attribute informs the compiler that a static variable is to be retained in the object file, even if it is unreferenced. So, I add this attribute for _fltuse

[edk2-devel] [PATCH 1/3] MdePkg/Include: correct Lasa in Tpm2Acpi.

2019-09-28 Thread Yao, Jiewen
Correct Lasa according to TCG ACPI spec. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Jiewen Yao --- MdePkg/Include/IndustryStandard/Tpm2Acpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Tpm2Acpi.h b/MdePkg/Include/IndustryStandar

[edk2-devel] [PATCH 3/3] SecurityPkg/Tcg2: Add Support Laml, Lasa for TPM2 ACPI.

2019-09-28 Thread Yao, Jiewen
Tcg2Dxe produces PcdTpm2AcpiTableLaml/Lasa for event log address. Tcg2Smm consumes PcdTpm2AcpiTableLaml/Lasa to fill TPM2 ACPI table. Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Jiewen Yao --- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 32 +++-- SecurityPkg/Tcg/Tcg2Dxe/Tcg

[edk2-devel] [PATCH 0/3] Add Laml/Lasa to TPM2 acpi table

2019-09-28 Thread Yao, Jiewen
Bugzilla https://bugzilla.tianocore.org/show_bug.cgi?id=978 This patch series adds Laml/Lasa to TPM2 ACPI table. This is defined by TPM2 ACPI table Version 1.2, Revision 8. It only impacts the TPM2 ACPI table version 4 or above. The default TPM2 ACPI table version is still 3 to keep maximum compa

[edk2-devel] [PATCH 2/3] SecurityPkg/dsc: Add PCD for Laml, Lasa for TPM2.

2019-09-28 Thread Yao, Jiewen
Those PCDs will be used for TPM2 ACPI table. Tcg2Dxe need produce those for event log address. Tcg2Smm need consume those to fill TPM2 ACPI table. Cc: Jian J Wang Cc: Chao Zhang Signed-off-by: Jiewen Yao --- SecurityPkg/SecurityPkg.dec | 8 SecurityPkg/SecurityPkg.uni | 9 + 2

Re: [edk2-devel] [PATCH v1 0/4] Support HTTPS HostName validation feature(CVE-2019-14553)

2019-09-28 Thread Wang, Jian J
For this patch series, 1. " Contributed-under: TianoCore Contribution Agreement 1.1" is not needed any more. Remove it at push time and no need to send a v2. 2. Since it's security patch which had been reviewed separately, I see no reason for new r-b required. Please raise it asap if any obje

Re: [edk2-devel] [edk2-test][Patch] uefi-sct/SctPkg: Add MediaPresentSupported check

2019-09-28 Thread Eric Jin
Pushed at 9ca84f7ec62d04a43648858c8cd5fadaf2b5f1fa -Original Message- From: devel@edk2.groups.io On Behalf Of Eric Jin Sent: Friday, September 27, 2019 2:37 PM To: Heinrich Schuchardt ; Liu, XianhuiX ; devel@edk2.groups.io Cc: Supreeth Venkatesh Subject: Re: [edk2-devel] [edk2-test][Pat

Re: [edk2-devel] [Patch 1/1] BaseTools: Fix the lib order in static_library_files.lst

2019-09-28 Thread Liming Gao
Reviewed-by: Liming Gao >-Original Message- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Bob Feng >Sent: Friday, September 27, 2019 7:35 PM >To: devel@edk2.groups.io >Cc: Gao, Liming ; dann frazier >; Feng, Bob C >Subject: [edk2-devel] [Patch 1/1] BaseTools: Fi

Re: [edk2-devel] BaseTools --hash malfunction after migrate from stable201905 to stable201908

2019-09-28 Thread Steven Shi
Hi Derek, Thank you for the data. I will continue to enhance the –hash performance, and will let you know after I figure out new solution. Thanks Steven Shi Intel\SSG\SFE\FIE Firmware Infrastructure From: Lin, Derek (HPS SW) [mailto:derek.l...@hpe.com] Sent: Friday, September 27, 2019 3:57 PM

[edk2-devel] Upcoming Event: TianoCore Community Meeting - APAC/NAMO - Thu, 10/03/2019 7:30pm-8:00pm #cal-reminder

2019-09-28 Thread devel@edk2.groups.io Calendar
*Reminder:* TianoCore Community Meeting - APAC/NAMO *When:* Thursday, 3 October 2019, 7:30pm to 8:00pm, (GMT-07:00) America/Los Angeles *Where:* https://zoom.us/j/769108409 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=484144 ) *Organizer:* Stephano Cetola stephano.cet...@intel

Re: [edk2-devel] [PATCHv2 0/3] Fix eMMC bus timing switch issue

2019-09-28 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Wu, Hao A > Sent: Friday, September 27, 2019 10:50 AM > To: Albecki, Mateusz; devel@edk2.groups.io > Cc: Marcin Wojtas > Subject: Re: [edk2-devel] [PATCHv2 0/3] Fix eMMC bus timing switch issue >

Re: [edk2-devel] [Patch 1/1] BaseTools: Fix a bug of genffs command generation

2019-09-28 Thread Liming Gao
Bob: Can BaseTools base on make command to generate Makefile? The different make command will use the different Makefile type. Thanks Liming >-Original Message- >From: Feng, Bob C >Sent: Friday, September 27, 2019 10:30 AM >To: devel@edk2.groups.io >Cc: Gao, Liming ; Feng, Bob C >Subj

[edk2-devel] Upcoming Event: TianoCore Bug Triage - APAC / NAMO - Thu, 10/03/2019 5:00pm-5:30pm #cal-reminder

2019-09-28 Thread devel@edk2.groups.io Calendar
*Reminder:* TianoCore Bug Triage - APAC / NAMO *When:* Thursday, 3 October 2019, 5:00pm to 5:30pm, (GMT-07:00) America/Los Angeles *Where:* BlueJeans Meeting View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=484142 ) *Organizer:* Stephano Cetola stephano.cet...@intel.com ( stephan

Re: [edk2-devel] [edk2-platforms PATCH 1/1] Platforms/RPi3: DisplayDxe virtual resolution improvements

2019-09-28 Thread Leif Lindholm
On Fri, Sep 27, 2019 at 10:20:15AM +0100, Pete Batard wrote: > From: Andrei Warkentin > > The Pi GPU decouples requested resolution from actual physical resolution > and can perform scaling of virtual resolutions. This enables platform users > to do something like ask for 1024x768 and get a frame

Re: [edk2-devel] [edk2-platforms: PATCH] Marvell/Drivers: XenonDxe: Use new enums for SD card initialization

2019-09-28 Thread Leif Lindholm
On Fri, Sep 27, 2019 at 05:08:14PM +0200, Marcin Wojtas wrote: > MdeModulePkg/SdMmcHcDxe update to use rev 3 of SdMmcOverrideProtocol > reworked SD card initialization and added new enums describing lower > speeds. Include this in XenonDxe, which fixes Armada70x0Db SD interface. > > Signed-off-b

Re: [edk2-devel] [edk2-platforms: PATCH] Marvell/Drivers: MvPhyDxe: Fill MdioIndex field in PhyDev

2019-09-28 Thread Leif Lindholm
On Mon, Sep 09, 2019 at 05:53:10PM +0200, Patryk Duda wrote: > This patch fixes missing MdioIndex copying during initialization. > This bug appeared as inability to communicate with PHY connected > to MDIO other than first. > > Signed-off-by: Patryk Duda Reviewed-by: Leif Lindholm Pushed as e4d

Re: [edk2-devel] [edk2-platforms: PATCH 2/2] Marvell/Drivers: MvSpiFlashDxe: Implement progress bar

2019-09-28 Thread Leif Lindholm
On Mon, Sep 09, 2019 at 05:52:12PM +0200, Patryk Duda wrote: > This patch implements TFTP-like progress bar in > MvSpiFlashUpdateWithProgress. This is necessary because > CapsuleRuntimeDxe uses DxeRuntimeCapsuleLib which uses > CapsuleProcessLibNull implementation of capsule process. I would prefe

Re: [edk2-devel] [edk2-platforms: PATCH 1/2] Marvell/Drivers: MvSpiFlashDxe: Fix sector number obtaining

2019-09-28 Thread Leif Lindholm
On Mon, Sep 09, 2019 at 05:52:11PM +0200, Patryk Duda wrote: > This commit fixes bug which was causing one sector of bytes to be > ommited. It was discovered when bytes to be written was 0 in last block, > but total count of bytes was multiplication of sector size. It turned > out that in every cas

[edk2-devel] Upcoming Event: TianoCore Community Meeting - EMEA/NAMO - Thu, 10/03/2019 9:00am-10:00am #cal-reminder

2019-09-28 Thread devel@edk2.groups.io Calendar
*Reminder:* TianoCore Community Meeting - EMEA/NAMO *When:* Thursday, 3 October 2019, 9:00am to 10:00am, (GMT-07:00) America/Los Angeles *Where:* https://zoom.us/j/188375690 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=484143 ) *Organizer:* Stephano Cetola stephano.cet...@inte