Re: [edk2-devel] [PATCH] MinPlatformPkg: FSP Python script to python 3.x.

2019-06-27 Thread Bob Feng
Patch looks good. Reviewed-by: Bob Feng -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42973): https://edk2.groups.io/g/devel/message/42973 Mute This Topic: https://groups.io/mt/32192703/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH] ArmVirtPkg: handle NETWORK_TLS_ENABLE in ArmVirtQemu*

2019-06-27 Thread Gary Lin
On Mon, Jun 24, 2019 at 09:13:36PM +0200, Laszlo Ersek wrote: > Port the [LibraryClasses], [PcdsFixedAtBuild] and [Components] settings > that are related to NETWORK_TLS_ENABLE from OvmfPkg to ArmVirtPkg. > ArmVirtXen is not modified because it doesn't include the edk2 network > stack. > > (This

[edk2-devel] [PATCH 3/3] MdePkg/BaseLib: Base64Decode: Add decription for RETURN_SUCCESS

2019-06-27 Thread Gao, Zhichao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1891 While the convertion Base64 ascii string is null string (the string only contain white space would be regard as null string), there would be no decodeable data. Set *DestinationSize to zero and return RETURN_SUCCESS. But it is not mention

[edk2-devel] [PATCH] EmbeddedPkg: Fix various typos

2019-06-27 Thread Cœur
Fix various typos in EmbeddedPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Coeur --- .../AndroidFastboot/AndroidBootImg.c          |  2 +- .../AndroidFastboot/AndroidFastbootApp.c      |  2 +- .../Drivers/ConsolePrefDxe/ConsolePrefDxe.c   |  2 +-

[edk2-devel] [PATCH] ArmPlatformPkg: Fix various typos

2019-06-27 Thread Cœur
>From 0fdb05b34e5bfdcbd92d21cdf446eec06cf9035f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20C=C5=93ur?= Date: Wed, 6 Feb 2019 23:40:38 +0800 Subject: [PATCH] ArmPlatformPkg: Fix various typos Fix various typos in ArmPlatformPkg. Contributed-under: TianoCore Contribution Agreement 1.1

[edk2-devel] [Patch 1/1] BaseTools: Detect the change of env variable used in tooldef.txt

2019-06-27 Thread Bob Feng
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1921 Add TOOLS_DEF.ARCH file to all workspace meta files list. TOOLS_DEF.ARCH include the evaluated Tool definition information which is filtered by current tool_chain. With this change, when the environment variable which is used in ToolDef.txt

[edk2-devel] [PATCH] ArmPkg: Fix various typos

2019-06-27 Thread Cœur
Fix various typos in ArmPkg. Same as https://github.com/tianocore/edk2/pull/143/files -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42964): https://edk2.groups.io/g/devel/message/42964 Mute This Topic:

Re: [edk2-devel] [PATCH] SecurityPkg/DxeDeferImageLoadLib: Remove DxeDeferImageLoadLib

2019-06-27 Thread Wang, Jian J
Reviewed-by: Jian J Wang > -Original Message- > From: Zhang, Shenglei > Sent: Thursday, June 20, 2019 9:31 AM > To: devel@edk2.groups.io > Cc: Zhang, Chao B ; Yao, Jiewen > ; Wang, Jian J > Subject: [PATCH] SecurityPkg/DxeDeferImageLoadLib: Remove > DxeDeferImageLoadLib > > The library

Re: [edk2-devel] [PATCH] IntelFsp2Pkg: FSP Python scripts to support 3.x.

2019-06-27 Thread Chiu, Chasel
Yes. It works! I will update patch. Thanks! Chasel > -Original Message- > From: Zeng, Star > Sent: Friday, June 28, 2019 10:28 AM > To: devel@edk2.groups.io; Chiu, Chasel > Cc: Ma, Maurice ; Desimone, Nathaniel L > ; Zeng, Star > Subject: RE: [edk2-devel] [PATCH] IntelFsp2Pkg: FSP

Re: [edk2-devel] [edk2-platofrms] [patch v2] Platform/PurleyOpenBoardPkg: Remove --nt32 flag of edkseup

2019-06-27 Thread Liming Gao
Dandan: Don't need to add version info in the commit log. And, please also remove pushd %WORKSPACE% & popd. They are not used after nmake is removed. With those changes, Reviewed-by: Liming Gao Thanks Liming >-Original Message- >From: devel@edk2.groups.io

[edk2-devel] [edk2-platofrms] [patch v2] Platform/PurleyOpenBoardPkg: Remove --nt32 flag of edkseup

2019-06-27 Thread Dandan Bi
V2: Remove nmake -f %BASE_TOOLS_PATH%\Makefile, since it has been covered by edksetup.bat Rebuild option. Since Nt32Pkg has been removed from edk2 repo, and we will also remove the --nt32 flag in edksetup.bat. So here update platform to pass build. Cc: Shifei A Lu Cc: Xiaohu Zhou Cc: Isaac W

Re: [edk2-devel] [PATCH] IntelFsp2Pkg: FSP Python scripts to support 3.x.

2019-06-27 Thread Zeng, Star
It is ok to directly use below code without python version check? +for loop in range(int(unit)): +bytearray.append("0x%02X" % (value & 0xFF)) +value = value >> 8 Thanks, Star -Original Message- From: devel@edk2.groups.io

Re: [edk2-devel] [edk2-platofrms] [patch] Platform/PurleyOpenBoardPkg: Remove --nt32 flag of edkseup

2019-06-27 Thread Liming Gao
If use Rebuild option, below nmake is not required. @if defined PYTHON_HOME ( nmake -f %BASE_TOOLS_PATH%\Makefile ) >-Original Message- >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >Dandan Bi >Sent: Friday, June 28, 2019 10:03 AM >To: devel@edk2.groups.io

[edk2-devel] [edk2-platofrms] [patch] Platform/PurleyOpenBoardPkg: Remove --nt32 flag of edkseup

2019-06-27 Thread Dandan Bi
Since Nt32Pkg has been removed from edk2 repo, and we will also remove the --nt32 flag in edksetup.bat. So here update platform to pass build. Cc: Shifei A Lu Cc: Xiaohu Zhou Cc: Isaac W Oram Signed-off-by: Dandan Bi --- .../PurleyOpenBoardPkg/BoardMtOlympus/GitEdk2MinMtOlympus.bat | 2 +-

[edk2-devel] Upcoming Event: TianoCore Design Meeting - APAC/NAMO - Thu, 06/27/2019 6:30pm-7:30pm #cal-reminder

2019-06-27 Thread devel@edk2.groups.io Calendar
*Reminder:* TianoCore Design Meeting - APAC/NAMO *When:* Thursday, 27 June 2019, 6:30pm to 7:30pm, (GMT-07:00) America/Los Angeles *Where:* https://zoom.us/j/969264410 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=458029 ) *Organizer:* Stephano Cetola stephano.cet...@intel.com

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Dandan Bi
Hi Liming and Bob, Thanks for the review. So we reach the agreement that remove the --nt32 flag, right? If so, I will address Liming's comments and then push these two patches. Thanks, Dandan > -Original Message- > From: Gao, Liming > Sent: Thursday, June 27, 2019 11:17 PM > To: Feng,

Re: [edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add missing NULL pointer check.

2019-06-27 Thread Zhang, Chao B
HI Hao: I think the patch is to complete the security check both in info and code logic to ValidateCapsuleNameCapsuleIntegrity . It is OK to keep it in one patch. From: Wu, Hao A Sent: Friday, June 28, 2019 8:54 AM To: Xu, Wei6 ; devel@edk2.groups.io Cc: Wang, Jian J ; Zhang, Chao B

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-27 Thread Wu, Hao A
> -Original Message- > From: Sumit Garg [mailto:sumit.g...@linaro.org] > Sent: Thursday, June 27, 2019 9:39 PM > To: Ard Biesheuvel > Cc: edk2-devel-groups-io; Wu, Hao A; Marcin Wojtas; Albecki, Mateusz > Subject: Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: > Implement

Re: [edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add missing NULL pointer check.

2019-06-27 Thread Wu, Hao A
> -Original Message- > From: Xu, Wei6 > Sent: Friday, June 28, 2019 12:26 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J; Wu, Hao A; Zhang, Chao B > Subject: [edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add > missing NULL pointer check. > > Add missing NULL pointer check for

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

2019-06-27 Thread devel@edk2.groups.io Calendar
*Reminder:* TianoCore Bug Triage - APAC / NAMO *When:* Thursday, 27 June 2019, 5:00pm to 5:30pm, (GMT-07:00) America/Los Angeles *Where:* https://zoom.us/j/251103409 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=458032 ) *Organizer:* Stephano Cetola stephano.cet...@intel.com

Re: [edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add missing NULL pointer check.

2019-06-27 Thread Zhang, Chao B
Reviewed-by: Chao Zhang -Original Message- From: Xu, Wei6 Sent: Friday, June 28, 2019 12:26 AM To: devel@edk2.groups.io Cc: Wang, Jian J ; Wu, Hao A ; Zhang, Chao B Subject: [edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add missing NULL pointer check. Add missing NULL pointer

Re: [edk2-devel] [PATCH v3 4/4] OvmfPkg: don't assign PCI BARs above 4GiB when CSM enabled

2019-06-27 Thread David Woodhouse
On Thu, 2019-06-27 at 21:01 +0200, Laszlo Ersek wrote: > > To clarify -- this is by no means to say that *SeaBIOS* is a relic. I > absolutely don't imply that. Users should use the firmware they need, > especially in the virtual world, where choosing is really easy. Choosing is easy if you're

Re: [edk2-devel] [PATCH v3 4/4] OvmfPkg: don't assign PCI BARs above 4GiB when CSM enabled

2019-06-27 Thread Laszlo Ersek
On 06/27/19 20:43, Laszlo Ersek wrote: > On 06/27/19 18:36, Alexander Graf wrote: >> That way we could have CSM enabled OVMF for everyone ;) > > Well, as long as we're discussing "everyone": we should forget about the > CSM altogether, in the long term. The CSM is a concession towards OSes >

Re: [edk2-devel] [Experiment] GitHub pull requests for some low-priority corrections

2019-06-27 Thread Laszlo Ersek
On 06/27/19 13:31, co...@gmx.fr wrote: > About a year ago, I changed 8000+ lines of text in edk2 to fix various typos. > But I didn't split it all and I didn't create a hundred of patches by email > to get it all applied (except for a few folders of them). > > As it's still a lot of work to

Re: [edk2-devel] [PATCH v3 4/4] OvmfPkg: don't assign PCI BARs above 4GiB when CSM enabled

2019-06-27 Thread Laszlo Ersek
On 06/27/19 18:36, Alexander Graf wrote: > Hi David and Laszlo, > > (with broken threading because gmane still mirrors the old ML ...) > >> Mostly, this is only necessary for devices that the CSM might have >> native support for, such as VirtIO and NVMe; PciBusDxe will already >> degrade devices

Re: [edk2-devel] [PATCH v3 4/4] OvmfPkg: don't assign PCI BARs above 4GiB when CSM enabled

2019-06-27 Thread Alexander Graf via Groups.Io
Hi David and Laszlo, (with broken threading because gmane still mirrors the old ML ...) Mostly, this is only necessary for devices that the CSM might have native support for, such as VirtIO and NVMe; PciBusDxe will already degrade devices to 32-bit if they have an OpROM. However, there

[edk2-devel][Patch] MdeModulePkg/DxeCapsuleLibFmp: Add missing NULL pointer check.

2019-06-27 Thread Xu, Wei6
Add missing NULL pointer check for CapsuleNameBufStart. Also add comments to notice that capsule name integrity check assumes the capsule has been validated by IsValidCapsuleHeader(). Cc: Jian J Wang Cc: Hao A Wu Cc: Chao B Zhang Signed-off-by: Wei6 Xu ---

[edk2-devel] [Experiment] GitHub pull requests for some low-priority corrections

2019-06-27 Thread coeur
About a year ago, I changed 8000+ lines of text in edk2 to fix various typos. But I didn't split it all and I didn't create a hundred of patches by email to get it all applied (except for a few folders of them). As it's still a lot of work to rebase it, split it, patch it and get it reviewed, I

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Liming Gao
Yes. Those script needs to be updated together. > -Original Message- > From: Feng, Bob C > Sent: Thursday, June 27, 2019 11:14 PM > To: Gao, Liming ; Bi, Dandan ; > devel@edk2.groups.io > Subject: RE: [patch 0/2] Edk2Setup: Enahnce edk2setup batch files > > OK. I think it may break

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Bob Feng
OK. I think it may break some pre-build script if the pre-build script have "edksetup --nt32"... -Original Message- From: Gao, Liming Sent: Thursday, June 27, 2019 10:48 PM To: Feng, Bob C ; Bi, Dandan ; devel@edk2.groups.io Subject: RE: [patch 0/2] Edk2Setup: Enahnce edk2setup batch

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Liming Gao
Bob: --nt32 option is added for Nt32Pkg. Now, Nt32Pkg has been removed. So, I think it is fine to remove --nt32 option. > -Original Message- > From: Feng, Bob C > Sent: Thursday, June 27, 2019 7:56 PM > To: Bi, Dandan ; devel@edk2.groups.io > Cc: Gao, Liming > Subject: RE: [patch

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-27 Thread Sumit Garg
On Thu, 27 Jun 2019 at 13:40, Ard Biesheuvel wrote: > > (+ Sumit) > > On Thu, 27 Jun 2019 at 08:29, Wu, Hao A wrote: > > > > > -Original Message- > > > From: Marcin Wojtas [mailto:m...@semihalf.com] > > > Sent: Thursday, June 27, 2019 2:25 PM > > > To: Albecki, Mateusz > > > Cc:

Re: [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms

2019-06-27 Thread Alexei Fedorov
Reviewed-by: Alexei Fedorov -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42936): https://edk2.groups.io/g/devel/message/42936 Mute This Topic: https://groups.io/mt/32230896/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs

2019-06-27 Thread Alexei Fedorov
Reviewed-by: Alexei Fedorov -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42934): https://edk2.groups.io/g/devel/message/42934 Mute This Topic: https://groups.io/mt/32230898/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

Re: [edk2-devel] [PATCH edk2-platforms 1/2] Platform/ARM: Juno: Fix usage of deprecated macros

2019-06-27 Thread Alexei Fedorov
Reviewed-by: Alexei Fedorov -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42935): https://edk2.groups.io/g/devel/message/42935 Mute This Topic: https://groups.io/mt/32230897/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe:

[edk2-devel] [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs

2019-06-27 Thread Sami Mujawar
Add DISABLE_NEW_DEPRECATED_INTERFACES macro to the Arm platform build flags to disable the use of deprecated APIs. Signed-off-by: Sami Mujawar --- Notes: v1: - Disable the use of deprecated APIs for Arm Platforms. [SAMI] Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 5 -

[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms

2019-06-27 Thread Sami Mujawar
edk2 implements the DISABLE_NEW_DEPRECATED_INTERFACES macro that prevents the usage of unsafe/deprecated APIs/macros by reporting errors at build time. This patch series: - defines DISABLE_NEW_DEPRECATED_INTERFACES macro as part of the build options for Arm platforms so that the

[edk2-devel] [PATCH edk2-platforms 1/2] Platform/ARM: Juno: Fix usage of deprecated macros

2019-06-27 Thread Sami Mujawar
Replaced the use of unsafe/deprecated macros with alternate safe options. Signed-off-by: Sami Mujawar --- Notes: v1: - Replace unsafe/deprecated macros with alternate safe options. [SAMI] Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c | 12 +++- 1 file changed, 7

Re: [edk2-devel] [RFC][PATCH 1/1] Maintainers.txt: Drop deprecated SourceForge SVN link

2019-06-27 Thread Laszlo Ersek
+Jordan On 06/27/19 07:50, Hao A Wu wrote: > The commit will remove the deprecated edk2 SVN mirror at: > https://svn.code.sf.net/p/edk2/code/trunk/edk2 > > After this commit, the above minnor will not be synced with the changes (1) s/minnor/mirror/ > made in the GitHub upstream. > > Cc:

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Bob Feng
The patches look good. I think removing --nt32 option is incompatible change. What about keep the --nt32 ? For the Patch 2 setup for different VS tool chains. Reviewed-by: Bob Feng Thanks, Bob -Original Message- From: Bi, Dandan Sent: Sunday, June 23, 2019 9:59 PM To:

[edk2-devel] [PATCH] MdeModulePkg SmbiosMeasurementDxe: Add Type4 Voltage field to blacklist

2019-06-27 Thread Zeng, Star
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1922 The Type4 Voltage field may be various. So this patch adds it into the blacklist. Signed-off-by: Star Zeng Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Cc: Donald Kuo Cc: Chasel Chiu ---

Re: [edk2-devel] [patch 0/2] Edk2Setup: Enahnce edk2setup batch files

2019-06-27 Thread Liming Gao
Dandan: One minor comment. Help message shows two ForceRebuild options. Please remove one. And, this change retire --nt32 option. Please update wiki page on edksetup usage in https://github.com/tianocore/tianocore.github.io/wiki/Getting-Started-Writing-Simple-Application. With those change,

Re: [edk2-devel] [RFC][PATCH 0/1] Drop the SourceForge SVN mirror

2019-06-27 Thread Leif Lindholm
On Thu, Jun 27, 2019 at 01:50:43PM +0800, Hao A Wu wrote: > The patch proposes to: > > A. Remove the information on the SourceForge SVN mirror repository from >the Maintainers.txt file. > B. Stop the sync of the SourceForge SVN mirror from the upstream Github >Git repository. (At this

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-27 Thread Ard Biesheuvel
(+ Sumit) On Thu, 27 Jun 2019 at 08:29, Wu, Hao A wrote: > > > -Original Message- > > From: Marcin Wojtas [mailto:m...@semihalf.com] > > Sent: Thursday, June 27, 2019 2:25 PM > > To: Albecki, Mateusz > > Cc: edk2-devel-groups-io; Wu, Hao A > > Subject: Re: [edk2-devel] [PATCH v4 0/2]

Re: [edk2-devel] [PATCH] Fix indentation in edksetup.sh SetupPython3

2019-06-27 Thread Liming Gao
So, this is just indentation update. There is no functionality impact. What test have you done? Thanks Liming > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > rebe...@bluestop.org > Sent: Thursday, June 27, 2019 12:55 AM > To:

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-27 Thread Wu, Hao A
> -Original Message- > From: Marcin Wojtas [mailto:m...@semihalf.com] > Sent: Thursday, June 27, 2019 2:25 PM > To: Albecki, Mateusz > Cc: edk2-devel-groups-io; Wu, Hao A > Subject: Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: > Implement revision 3 of SdMmcOverrideProtocol >

Re: [edk2-devel] [PATCH v4 0/2] MdeModulePkg/SdMmcHcDxe: Implement revision 3 of SdMmcOverrideProtocol

2019-06-27 Thread Marcin Wojtas
Hi Mateusz, Can you please push those patches somewhere (github?) so that I can easily do a quick check for regression? Thanks, Marcin śr., 26 cze 2019 o 15:10 Albecki, Mateusz napisał(a): > > To allow platform greater control over the bus settings for SD card and eMMC > card we have added a

Re: [edk2-devel] [PATCH] Platform/Vlv2TbltDevicePkg: Remove dependency of DxeDeferImageLoadLib

2019-06-27 Thread Sun, Zailiang
Reviewed-By: Zailiang Sun -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42919): https://edk2.groups.io/g/devel/message/42919 Mute This Topic: https://groups.io/mt/32201140/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: