Re: [edk2] [PATCH V2] MdeModulePkg/Gcd: Filter gCpu->SetMemoryAttributes() calls

2018-04-04 Thread Zeng, Star
Thanks all. Push the patch at 0c9f2cb10b7ddec56a3440e77219fd3ab1725e5c. :) Star -Original Message- From: Kinney, Michael D Sent: Thursday, April 5, 2018 4:28 AM To: Yao, Jiewen ; Zeng, Star ; edk2-devel@lists.01.org; Kinney, Michael D Cc: Ni, Ruiyu ; Yi Li ; Dong, Eric ; Renhao Liang

Re: [edk2] [Patch 0/9] Add DisplayUpdateProgressLib for capsules

2018-04-04 Thread Kinney, Michael D
Jiewen, Responses below. Mike > -Original Message- > From: Yao, Jiewen > Sent: Wednesday, April 4, 2018 5:03 PM > To: Kinney, Michael D ; > edk2-devel@lists.01.org > Cc: Sean Brogan ; Zeng, Star > ; Dong, Eric > ; Wei, David > ; Guo, Mang ; > Steele, Kelly > Subject: RE: [Patch 0/9] Add

Re: [edk2] [RFC 0/4] Add FmpDevicePkg

2018-04-04 Thread Kinney, Michael D
Hi Jiewen, Responses below. A couple require some comments from Sean or Bret. Mike > -Original Message- > From: Yao, Jiewen > Sent: Wednesday, April 4, 2018 4:29 PM > To: Kinney, Michael D ; > edk2-devel@lists.01.org > Cc: Sean Brogan > Subject: RE: [RFC 0/4] Add FmpDevicePkg > > Hi

Re: [edk2] [Patch 0/9] Add DisplayUpdateProgressLib for capsules

2018-04-04 Thread Yao, Jiewen
Thanks Mike. It is a good feature to add progress support. Some thought below: 1) for EDKII_FIRMWARE_MANAGEMENT_PROGRESS_PROTOCOL Do you think if we need add full support for WatchdogTimer services? Such as WatchdogCode, WatchdogData? Or should we add a version field for the protocol for future e

Re: [edk2] [RFC 0/4] Add FmpDevicePkg

2018-04-04 Thread Yao, Jiewen
Hi Mike It is great to see this feature. Thanks for doing this. Some thought below: 1) Do we must add V1 as suffix for the FmpPayloadHeaderLib? I think we can just use that FmpPayloadHeaderLib. If we have second version, we can use FmpPayloadHeaderLibV2. 2) The check in GetFmpPayloadHeaderSize()

[edk2] [RFC 3/4] FmpDevicePkg: Add FmpDxe module

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=922 Based on content from the following branch: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg The FmpDxe directory contains 2 INF files. FmpDxe.inf is a DXE driver that is used in a

[edk2] [RFC 4/4] FmpDevicePkg: Add DSC file to build all package components

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=922 Based on content from the following branch: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg Adds a DSC file that is used to verify that all of the FmpDevicePkg libraries and modules

[edk2] [RFC 1/4] FmpDevicePkg: Add package, library classes, and PCDs

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=922 Based on content from the following branch: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg Create FmpDevicePkg with library classes and PCDs used to customize the behavior of a Fir

[edk2] [RFC 2/4] FmpDevicePkg: Add library instances

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=922 Based on content from the following branch: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg Add library instances for FmpDeviceLib, CapsuleUpdatePolicyLib, and FmpPayloadHeaderLib.

[edk2] [RFC 0/4] Add FmpDevicePkg

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=922 Based on content from the following branch: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg Branch for review: https://github.com/mdkinney/edk2/tree/Bug_922_FmpDevicePkg This package provides an implementati

Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH

2018-04-04 Thread jbrasen . qdt
-Original Message- From: Ard Biesheuvel Sent: Wednesday, April 4, 2018 3:06 PM To: jbrasen.qdt Cc: edk2-devel@lists.01.org Subject: Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH On 4 April 2018 at 19:00, jbrasen.qdt wrote: > Hello, > > I am trying to update my build sof

Re: [edk2] GenFds issue with multiple paths in PACKAGES_PATH

2018-04-04 Thread Ard Biesheuvel
On 4 April 2018 at 19:00, jbrasen.qdt wrote: > Hello, > > I am trying to update my build software to the current edk2-platforms > layout and am running into some issues with the final part of the build. > > It seems that the output is being generated under > edk2/Build/Qdf_RBL/DEBUG_CLANG

[edk2] [PATCH v1 2/3] BaseTools: Autogen - change from list to set

2018-04-04 Thread Jaben Carsey
by changing from list to set(), we can skip all the preprocessing to prevent duplication and we dont need to convert to a set() later on for each use Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey --- BaseTools/Source/Python/

[edk2] [PATCH v1 0/3] BaseTools: refactor and cleanup

2018-04-04 Thread Jaben Carsey
no real functional change. just code cleanup. Jaben Carsey (3): BaseTools: move RegEx to root of file and share it BaseTools: Autogen - change from list to set BaseTools: small cleanup BaseTools/Source/Python/AutoGen/AutoGen.py| 51 ++-- BaseTools/Source/Python/Com

[edk2] [PATCH v1 3/3] BaseTools: small cleanup

2018-04-04 Thread Jaben Carsey
just deleting else: then pass as they have no effect. Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey --- BaseTools/Source/Python/AutoGen/AutoGen.py | 15 --- 1 file changed, 15 deletions(-) diff --git a/BaseTools

[edk2] [PATCH v1 1/3] BaseTools: move RegEx to root of file and share it

2018-04-04 Thread Jaben Carsey
make it easy to import and use by others Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey --- BaseTools/Source/Python/Common/Expression.py | 4 ++-- BaseTools/Source/Python/Common/RangeExpression.py | 5 ++--- 2 files chan

Re: [edk2] [Patch 0/9] Add DisplayUpdateProgressLib for capsules

2018-04-04 Thread Kinney, Michael D
This patch series is also available for review on the following branch: https://github.com/mdkinney/edk2/tree/Bug_801_DisplayUpdateProgressLib Mike > -Original Message- > From: edk2-devel [mailto:edk2-devel- > boun...@lists.01.org] On Behalf Of Michael D Kinney > Sent: Wednesday, April

Re: [edk2] [PATCH V2] MdeModulePkg/Gcd: Filter gCpu->SetMemoryAttributes() calls

2018-04-04 Thread Kinney, Michael D
Star, Thanks for adding the comments Reviewed-by: Michael D Kinney Mike > -Original Message- > From: Yao, Jiewen > Sent: Wednesday, April 4, 2018 1:13 AM > To: Zeng, Star ; edk2- > de...@lists.01.org > Cc: Ni, Ruiyu ; Yi Li > ; Dong, Eric > ; Renhao Liang > ; Gao, Liming > ; Heyi Guo ;

[edk2] [Patch 3/9] Vlv2Tbl2DevicePkg: Add DisplayUpdateProgressLib mapping

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport Cc: Sean Brogan Cc: David Wei Cc: Mang Guo Signed-off-by: Michael D Kinney Contributed-under: TianoCore Contribution Agreemen

[edk2] [Patch 2/9] MdeModulePkg: Add DisplayUpdateProgressLib instances

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport Add DisplayUpdateProgressLib instances for text consoles and graphical consoles. Cc: Sean Brogan Cc: Star Zeng Cc: Eric Dong

[edk2] [Patch 7/9] Vlv2TbltDevicePkg/PlatformFlashAccessLib: Add progress API

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Add PerformFlashWriteWithProgress() to the PlatformFlashAccessLib. This allows the platform to inform the user of progress when a firmware storage device is being updated with a new firmware image. Cc: David Wei Cc: Mang Guo Signed-off-by: Mich

[edk2] [Patch 9/9] SignedCapsulePkg/SystemFirmwareUpdateDxe: Use progress API

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=801 Use PlatformFlashWriteWithProgress() instead of PlatformFLashWrite() so the user can be informed of the progress as a capsule is used to update a firmware image in a firmware device. Cc: Jiewen Yao Signed-off-by: Mich

[edk2] [Patch 6/9] SignedCapsulePkg/PlatformFlashAccessLib: Add progress API

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Add a new API to the PlatformFlashAccessLib that passes in an optional Progress() function along with a start and end percentage to call the Progress() function with. If the Progress() function is not NULL, then it is the Progress() function that

[edk2] [Patch 4/9] QuarkPlatformPkg: Add DisplayUpdateProgressLib mapping

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport Cc: Sean Brogan Cc: Kelly Steele Signed-off-by: Michael D Kinney Contributed-under: TianoCore Cont

[edk2] [Patch 1/9] MdeModulePkg: Add DisplayUpdateProgressLib class

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport Add the DisplayUpdateProgressLib class that is used to inform the user of progress during updates of firmware images in firmware

[edk2] [Patch 8/9] QuarkPlatformPkg/PlatformFlashAccessLib: Add progress API

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Add PerformFlashWriteWithProgress() to the PlatformFlashAccessLib. This allows the platform to inform the user of progress when a firmware storage device is being updated with a new firmware image. Cc: Kelly Steele Signed-off-by: Michael D Kinne

[edk2] [Patch 5/9] MdeModulePkg/DxeCapsuleLibFmp: Add progress bar support

2018-04-04 Thread Michael D Kinney
From: "Kinney, Michael D" https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from the following branch/commits: https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport * Change Update_Image_Progress() to UpdateImageProcess() * Call DisplayUpdateProgressLib from UpdateI

[edk2] [Patch 0/9] Add DisplayUpdateProgressLib for capsules

2018-04-04 Thread Michael D Kinney
https://bugzilla.tianocore.org/show_bug.cgi?id=801 Based on content from: https://github.com/Microsoft/MS_UEFI/blob/share/MsCapsuleSupport/MsCapsuleUpdatePkg/Include/Library/DisplayUpdateProgressLib.h https://github.com/Microsoft/MS_UEFI/tree/share/MsCapsuleSupport/MsCapsuleUpdatePkg/Library/Disp

[edk2] GenFds issue with multiple paths in PACKAGES_PATH

2018-04-04 Thread jbrasen . qdt
Hello, I am trying to update my build software to the current edk2-platforms layout and am running into some issues with the final part of the build. It seems that the output is being generated under edk2/Build/Qdf_RBL/DEBUG_CLANG35/AARCH64/edk2-QDT-platforms-restricted/Silicon/QualcommD

Re: [edk2] [PATCH v2 00/15] rid PiSmmCpuDxeSmm of DB-encoded instructions

2018-04-04 Thread Laszlo Ersek
On 04/04/18 10:56, Gao, Liming wrote: > Laszlo: > I have no other comments. The patch is good to me. Reviewed-by: Liming Gao > Thank you Liming! I also thank Mike for the initial idea with the labels after the instructions, and for his v1 review. Commit range aae02dccf5b0..d22c995a4814. Lasz

[edk2] [PATCH v1 1/2] BaseTools: copy a dictionary from InfClassObject to BuildReport

2018-04-04 Thread Jaben Carsey
InfClassObject will be deleted. Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jaben Carsey --- BaseTools/Source/Python/build/BuildReport.py | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/BaseTools/So

[edk2] [PATCH v1 2/2] BaseTools: Remove unneeded files

2018-04-04 Thread Jaben Carsey
These files are not used by any tool: BaseTools/Source/Python/Common/DecClassObject.py BaseTools/Source/Python/Common/DscClassObject.py BaseTools/Source/Python/Common/FdfClassObject.py BaseTools/Source/Python/Common/InfClassObject.py Cc: Liming Gao Cc: Yonghong Zhu Contributed-under: TianoCore C

[edk2] [PATCH v1 0/2] BaseTools: remove files not needed

2018-04-04 Thread Jaben Carsey
Delete 4 files that we dont need (first copying the one dictionary we do need) Jaben Carsey (2): BaseTools: copy a dictionary from InfClassObject to BuildReport BaseTools: Remove unneeded files BaseTools/Source/Python/Common/DecClassObject.py | 553 BaseTools/Source/Python/Common/D

Re: [edk2] [PATCH 02/13] MdePkg/Include/Protocol/Tls.h: pack structures from the TLS RFC

2018-04-04 Thread Laszlo Ersek
On 04/03/18 17:08, Gao, Liming wrote: > Laszlo: > Could you use one pack to scope all structure definitions? I didn't do that originally because the affected structure definitions are spread out over a larger part of the code, intermixed with enums, #defines, and other structures, *and* it is not

Re: [edk2] [PATCH v2 00/15] rid PiSmmCpuDxeSmm of DB-encoded instructions

2018-04-04 Thread Gao, Liming
Laszlo: I have no other comments. The patch is good to me. Reviewed-by: Liming Gao Thanks Liming >-Original Message- >From: Laszlo Ersek [mailto:ler...@redhat.com] >Sent: Tuesday, April 03, 2018 8:57 PM >To: edk2-devel-01 >Cc: Kinney, Michael D ; Dong, Eric >; Gao, Liming >Subject: R

[edk2] [PATCH] SignedCapsulePkg SystemCapsuleLib: Change some dbg level to DEBUG_INFO

2018-04-04 Thread Star Zeng
This debug message should be info instead of error. This patch is to change the debug level to DEBUG_INFO. DEBUG((DEBUG_ERROR, "checking FV0x%08x - 0x%x\n", FvHeader, FvHeader->FvLength));// "Mark" This comment is inaccurate. This patch is to remove it. // // Check section // This

Re: [edk2] [PATCH V2] MdeModulePkg/Gcd: Filter gCpu->SetMemoryAttributes() calls

2018-04-04 Thread Yao, Jiewen
Thanks. Reviewed-by: jiewen@intel.com > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Star > Zeng > Sent: Wednesday, April 4, 2018 10:08 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Yi Li ; Dong, > Eric > ; Renhao Liang ; Gao, Limin

Re: [edk2] OVMF UsbBulkTransfer returns EFI_OUT_OF_RESOURCES

2018-04-04 Thread Zeng, Star
Good news. Thanks, Star From: Rob Taglang [mailto:r...@taglang.io] Sent: Wednesday, April 4, 2018 12:49 AM To: Laszlo Ersek Cc: Ni, Ruiyu ; edk2-devel@lists.01.org; Ming Huang ; Zeng, Star Subject: Re: [edk2] OVMF UsbBulkTransfer returns EFI_OUT_OF_RESOURCES Hello, Thanks for you help, I got