Re: [edk2] [Patch v2 5/6] UefiCpuPkg/CpuS3DataDxe: Keep old data if value already existed.

2018-10-17 Thread Ni, Ruiyu
On 10/17/2018 10:16 AM, Eric Dong wrote: AcpiCpuData add new fields, keep these fields if old data already existed. Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- UefiCpuPkg/CpuS3DataDxe/CpuS3Data.c | 2 ++ 1 file

Re: [edk2] [Patch v2 4/6] UefiCpuPkg/PiSmmCpuDxeSmm: Add logic to support semaphore type.

2018-10-17 Thread Ni, Ruiyu
On 10/17/2018 10:16 AM, Eric Dong wrote: Because this driver needs to set MSRs saved in normal boot phase, sync semaphore logic from RegisterCpuFeaturesLib code which used for normal boot phase. Detail see below change for RegisterCpuFeaturesLib: UefiCpuPkg/RegisterCpuFeaturesLib: Add logic

Re: [edk2] [Patch v2 3/6] UefiCpuPkg/RegisterCpuFeaturesLib: Add logic to support semaphore type.

2018-10-17 Thread Ni, Ruiyu
On 10/17/2018 10:16 AM, Eric Dong wrote: V2 changes include: 1. Add more description for the code part which need easy to understand. 2. Refine some code base on feedback for V1 changes. V1 changes include: In a system which has multiple cores, current set register value task costs huge times.

[edk2] [Patch] BaseTools: Remove Arch specific build options for PcdValueInit tool.

2018-10-17 Thread BobCF
PcdValueInit tool is Arch independent, the Arch specific build options should be removed from PcdValueInit makefile. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob C Feng Cc: Liming Gao --- BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +- 1 file changed, 1

[edk2] [PATCH V2] BaseTools: Convert "Unicode string" to "byte array" if value type diff

2018-10-17 Thread Zhaozh1x
V2: Fixed 3 typo. Use startswith(('L"',"L'")) to check if a string is Unicode string. Use a set PcdValueTypeSet instead of a list PcdValueTypeList to save memory. V1: For the same one VOID* pcd, if the default value type of one SKU is "Unicode string", the other SKUs are "OtherVOID*"(ASCII string

Re: [edk2] [PATCH v2] IntelFsp2Pkg: Support FSP Dispatch mode

2018-10-17 Thread Yao, Jiewen
Good unit test result. Thank you Chasel. Here is my thought. 1) Can we change FspApiModeEnabled to FspMode? And we can define mode below: #define FSP_API_MODE 0 #define FSP_DISPATCH_MODE 1 2) Can we change gFspApiModePpiGuid to gFspApiModeEnablePpiGuid to make it clear? Other seems

Re: [edk2] [Patch] NetworkPkg/IpSecDxe: Fix issue to parse SA Payload.

2018-10-17 Thread Wu, Jiaxin
Thanks Ting, I will update the comments against the function. > -Original Message- > From: Ye, Ting > Sent: Thursday, October 18, 2018 11:26 AM > To: Wu, Jiaxin ; edk2-devel@lists.01.org > Cc: Fu, Siyuan ; Wu, Jiaxin > Subject: RE: [edk2] [Patch] NetworkPkg/IpSecDxe: Fix issue to parse

Re: [edk2] [Patch v2 2/6] UefiCpuPkg/RegisterCpuFeaturesLib.h: Add new dependence types.

2018-10-17 Thread Ni, Ruiyu
On 10/17/2018 10:16 AM, Eric Dong wrote: Add new core/package dependence types which consumed by different MSRs. Cc: Ruiyu Ni Cc: Laszlo Ersek Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Eric Dong --- .../Include/Library/RegisterCpuFeaturesLib.h | 25

Re: [edk2] [Patch] NetworkPkg/IpSecDxe: Fix issue to parse SA Payload.

2018-10-17 Thread Ye, Ting
Hi Jiaxin, I am confused why we need set values to following local variables when Ikev2ParseProposalData marks them as 'out' attribute. Please adds more comments why '0' is required and updates 'out' to 'in out' if '0' is necessary. +IntegrityAlgorithm = 0; +EncryptAlgorithm

[edk2] [PATCH v2] IntelFsp2Pkg: Support FSP Dispatch mode

2018-10-17 Thread Chasel, Chiu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1241 Add support for both API (original mode) and DISPATCH mode: 1. Add FspApiModeEnabled field from reserved byte of Global Data Structure to tell which mode is selected by boot loader. If boot loader invoking FSP-M API this field will

Re: [edk2] [Patch v2 1/6] UefiCpuPkg/Include/AcpiCpuData.h: Add Semaphore related Information.

2018-10-17 Thread Ni, Ruiyu
On 10/17/2018 10:16 AM, Eric Dong wrote: v2 changes: 1. Add more description about why we do this change. 2. Change structure field type from pointer to EFI_PHYSICAL_ADDRESS because it will be share between PEI and DXE. In order to support semaphore related logic, add new definition for

Re: [edk2] [Patch 0/3] Add more checker for Tianocompress and Ueficompress

2018-10-17 Thread Zeng, Star
On 2018/10/16 10:06, Liming Gao wrote: https://bugzilla.tianocore.org/show_bug.cgi?id=686 Liming Gao (3): MdePkg: Add more checker in UefiDecompressLib to access the valid buffer only IntelFrameworkModulePkg: Add more checker in UefiTianoDecompressLib BaseTools: Add more checker

Re: [edk2] [Patch] NetworkPkg: Correct the time stamp and fix the integer overflow issue.

2018-10-17 Thread Ye, Ting
Reviewed-by: Ye Ting -Original Message- From: Wu, Jiaxin Sent: Tuesday, October 16, 2018 1:36 PM To: edk2-devel@lists.01.org Cc: Fu, Siyuan ; Ye, Ting ; Wu, Jiaxin Subject: [Patch] NetworkPkg: Correct the time stamp and fix the integer overflow issue. Ref:

Re: [edk2] [Patch v2 1/6] UefiCpuPkg/Include/AcpiCpuData.h: Add Semaphore related Information.

2018-10-17 Thread Ni, Ruiyu
Thanks for the detailed comments. Very minor comments in below. On 10/17/2018 10:16 AM, Eric Dong wrote: v2 changes: 1. Add more description about why we do this change. 2. Change structure field type from pointer to EFI_PHYSICAL_ADDRESS because it will be share between PEI and DXE. In

Re: [edk2] [PATCH v2] Edk2Platforms: Replace FatBinPkg with FatPkg

2018-10-17 Thread Yao, Jiewen
Hi Would you please share what test has been done? Thank you Yao Jiewen > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > shenglei > Sent: Thursday, October 18, 2018 10:35 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH v2]

Re: [edk2] [Patch] NetworkPkg/TlsDxe: Remove the redundant library class.

2018-10-17 Thread Ye, Ting
Reviewed-by: Ye Ting -Original Message- From: Wu, Jiaxin Sent: Tuesday, October 16, 2018 9:55 AM To: edk2-devel@lists.01.org Cc: Fu, Siyuan ; Ye, Ting ; Wu, Jiaxin Subject: [Patch] NetworkPkg/TlsDxe: Remove the redundant library class. Ref:

Re: [edk2] CVE-2018-3613 [was: MdeModulePkg Variable: Fix Timestamp zeroing issue on APPEND_WRITE]

2018-10-17 Thread Zeng, Star
Hi Laszlo, On 2018/10/18 2:27, Laszlo Ersek wrote: +Stephano On 10/17/18 16:58, Zeng, Star wrote: On 2018/10/17 21:10, Laszlo Ersek wrote: I have requested earlier [1], and now I'm doing so again, that CVE fixes please all mention the CVE number in the *subject line*. When people look at

Re: [edk2] [Patch v2 0/6] Fix performance issue caused by Set MSR task.

2018-10-17 Thread Dong, Eric
Hi Ruiyu, Below link with my changes: https://github.com/ydong10/edk2/tree/MSR Thanks, Eric > -Original Message- > From: Ni, Ruiyu > Sent: Thursday, October 18, 2018 10:13 AM > To: Dong, Eric ; edk2-devel@lists.01.org > Cc: Laszlo Ersek > Subject: RE: [Patch v2 0/6] Fix performance

[edk2] [PATCH v2] Edk2Platforms: Replace FatBinPkg with FatPkg

2018-10-17 Thread shenglei
In order to remove FatBinPkg, relationships depend on FatBinPkg need to be replaced by FatPkg. v2: 1.Replace FatBinPkg with FatPkg in CoreUefiBootInclude.fdf. 2.Update the subject. Change-Id: I8949ad1c7d18abc56deac2d4b4381e00f030dcb2 Contributed-under: TianoCore Contribution Agreement 1.1

[edk2] [PATCH] Edk2Platforms: Replace FatBinPkg with FatPkg in DSC

2018-10-17 Thread shenglei
In order to remove FatBinPkg, relationships depend on FatBinPkg needs to be replaced by FatPkg. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang --- Platform/Intel/MinPlatformPkg/Include/Dsc/CoreDxeInclude.dsc | 2 +- 1 file changed, 1 insertion(+), 1

Re: [edk2] [PATCH] MdePkg/BaseStackCheckLib: add MSFT toolchain support

2018-10-17 Thread Wang, Jian J
Mike, All those functions are declared in source files in Visual Studio except to __GSHandlerCheck(). But I can't find there's online link or document to those files and APIs. Is it ok to just list the file names? VC\INCLUDE\vcruntime.h: __security_check_cookie __report_gsfailure

Re: [edk2] [PATCH] FatBinPkg: Remove FatBinPkg and modify document

2018-10-17 Thread Leif Lindholm
On Thu, Oct 18, 2018 at 09:08:04AM +0800, Ard Biesheuvel wrote: > On 17 October 2018 at 19:18, Laszlo Ersek wrote: > > On 10/16/18 09:11, shenglei wrote: > >> Remove FatBinPkg and modify Maintainers.txt. > >> https://bugzilla.tianocore.org/show_bug.cgi?id=1105 > >> > >> Cc: Ruiyu Ni > >>

Re: [edk2] [Patch v2 0/6] Fix performance issue caused by Set MSR task.

2018-10-17 Thread Ni, Ruiyu
Eric, Can you post your changes to github yours mirror repo? I found #3/6 cannot be applied to my code properly. Thanks/Ray > -Original Message- > From: Dong, Eric > Sent: Wednesday, October 17, 2018 10:16 AM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Laszlo Ersek > Subject: [Patch

Re: [edk2] [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance

2018-10-17 Thread Ni, Ruiyu
On 10/18/2018 1:57 AM, Laszlo Ersek wrote: Hi Jian, On 10/17/18 10:34, Jian J Wang wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1237 Sometimes the memory will be contaminated by random data left in last boot (warm reset). The code should not assume the allocated memory is

Re: [edk2] [PATCH 1/5] MdePkg/BaseSynchronizationLib GCC: fix whitespace and comments

2018-10-17 Thread Ni, Ruiyu
On 9/30/2018 6:23 AM, Laszlo Ersek wrote: The "GccInline.c" files have some inconsistent whitespace, and missing (or incorrect) operand comments. Fix and unify them. This patch doesn't change behavior. Cc: Liming Gao Cc: Michael D Kinney Ref:

Re: [edk2] FDF Specification Updates for PI 1.6 Standalone MM Components

2018-10-17 Thread Zhu, Yonghong
Hi Eugene, Could you help to file a bugzilla ? thanks. Refer to https://github.com/tianocore/tianocore.github.io/wiki/Reporting-Issues Best Regards, Zhu Yonghong -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Cohen, Eugene Sent: Thursday,

Re: [edk2] [PATCH] MdePkg/BaseStackCheckLib: add MSFT toolchain support

2018-10-17 Thread Kinney, Michael D
Jian, Is there a link to the documentation for these new functions? We should put the link in the file headers. The link to docs should also be added to the BZ. Also, which VS compilers was this tested with? Are different implementations required for different VS compilers? Mike >

Re: [edk2] [PATCH] MdePkg/BaseStackCheckLib: add MSFT toolchain support

2018-10-17 Thread Gao, Liming
Jian: The patch is good to me. Reviewed-by: Liming Gao Thanks Liming >-Original Message- >From: Wang, Jian J >Sent: Thursday, October 18, 2018 9:19 AM >To: edk2-devel ; edk2-devel@lists.01.org >Cc: Kinney, Michael D ; Yao, Jiewen >; Andrew Fish ; Gao, Liming > >Subject: RE: [edk2]

[edk2] [PATCH V2] BaseTools/ECC: Add a checkpoint to check no usage for deprecated functions.

2018-10-17 Thread Yonghong Zhu
From: Hess Chen V2: change list to set Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen --- BaseTools/Source/Python/Ecc/Check.py | 60 BaseTools/Source/Python/Ecc/Configuration.py | 3 ++

Re: [edk2] [PATCH] MdePkg/BaseStackCheckLib: add MSFT toolchain support

2018-10-17 Thread Wang, Jian J
Ping ... :) Regards, Jian > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] > Sent: Tuesday, October 16, 2018 8:59 AM > To: edk2-devel ; edk2-devel@lists.01.org > Cc: Kinney, Michael D ; Yao, Jiewen > ; Andrew Fish ; Gao, Liming > > Subject: Re: [edk2]

Re: [edk2] [PATCH] FatBinPkg: Remove FatBinPkg and modify document

2018-10-17 Thread Andrew Fish
> On Oct 17, 2018, at 6:08 PM, Ard Biesheuvel wrote: > > On 17 October 2018 at 19:18, Laszlo Ersek wrote: >> On 10/16/18 09:11, shenglei wrote: >>> Remove FatBinPkg and modify Maintainers.txt. >>> https://bugzilla.tianocore.org/show_bug.cgi?id=1105 >>> >>> Cc: Ruiyu Ni >>>

Re: [edk2] [PATCH] FatBinPkg: Remove FatBinPkg and modify document

2018-10-17 Thread Ard Biesheuvel
On 17 October 2018 at 19:18, Laszlo Ersek wrote: > On 10/16/18 09:11, shenglei wrote: >> Remove FatBinPkg and modify Maintainers.txt. >> https://bugzilla.tianocore.org/show_bug.cgi?id=1105 >> >> Cc: Ruiyu Ni >> Contributed-under: TianoCore Contribution Agreement 1.1 >> Signed-off-by: Shenglei

Re: [edk2] [Patch] BaseTools: Fix a bug --pcd option enable and use the pcd in expression

2018-10-17 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Wednesday, October 17, 2018 8:36 AM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch] BaseTools: Fix a bug --pcd option enable and use the >pcd in

Re: [edk2] [Patch] BaseTools: Fix bug caused by 03c36c36a3

2018-10-17 Thread Gao, Liming
Reviewed-by: Liming Gao >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Wednesday, October 17, 2018 8:18 PM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch] BaseTools: Fix bug caused by 03c36c36a3 > >In the expression

Re: [edk2] [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance

2018-10-17 Thread Dong, Eric
Reviewed-by: Eric Dong > -Original Message- > From: Wang, Jian J > Sent: Wednesday, October 17, 2018 4:35 PM > To: edk2-devel@lists.01.org > Cc: Dong, Eric ; Laszlo Ersek ; Ni, > Ruiyu > Subject: [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear > descriptor data in advance > >

Re: [edk2] [PATCH] BaseTools/ECC: Add a checkpoint to check no usage for deprecated functions.

2018-10-17 Thread Chen, Hesheng
Good suggestion, will update the patch. Chen, Hess Intel China Software Center Tel: +86-21-6116-6740 Email: hesheng.c...@intel.com -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Carsey, Jaben Sent: Wednesday, October 17, 2018 11:49 PM To: Zhu,

Re: [edk2] [PATCH] BaseTools: covert "unicode string" to "byte array" if value type diff.

2018-10-17 Thread Feng, YunhuaX
Unicode string should be start with 'L"' or "L'", but like as "Less" is not Unicode string > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Carsey, Jaben > Sent: Thursday, October 18, 2018 2:49 AM > To: Laszlo Ersek ; Zhao, ZhiqiangX > >

Re: [edk2] [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance

2018-10-17 Thread Wang, Jian J
Laszlo, Thanks for the comments. I'll update the code. Regards, Jian > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Thursday, October 18, 2018 1:57 AM > To: Wang, Jian J ; edk2-devel@lists.01.org > Cc: Dong, Eric ; Ni, Ruiyu > Subject: Re: [PATCH]

Re: [edk2] [PATCH] BaseTools: covert "unicode string" to "byte array" if value type diff.

2018-10-17 Thread Carsey, Jaben
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Laszlo Ersek > Sent: Wednesday, October 17, 2018 11:37 AM > To: Zhao, ZhiqiangX > Cc: edk2-devel@lists.01.org; Gao, Liming > Subject: Re: [edk2] [PATCH] BaseTools: covert "unicode string"

Re: [edk2] [PATCH] BaseTools: covert "unicode string" to "byte array" if value type diff.

2018-10-17 Thread Laszlo Ersek
Hi, On 10/17/18 13:08, Zhaozh1x wrote: > For the same one VOID* pcd, if the default value type of one sku is > "unicode string", the other skus are "OtherVOID*"(ascii string or > byte array),Then covert "unicode string" to "byte array". > > Contributed-under: TianoCore Contribution Agreement 1.1

Re: [edk2] CVE-2018-3613 [was: MdeModulePkg Variable: Fix Timestamp zeroing issue on APPEND_WRITE]

2018-10-17 Thread Laszlo Ersek
+Stephano On 10/17/18 16:58, Zeng, Star wrote: > On 2018/10/17 21:10, Laszlo Ersek wrote: >> I have requested earlier [1], and now I'm doing so again, that CVE fixes >> please all mention the CVE number in the *subject line*. When people >> look at the commit log, or even just patch traffic on

Re: [edk2] [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance

2018-10-17 Thread Laszlo Ersek
Hi Jian, On 10/17/18 10:34, Jian J Wang wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1237 > > Sometimes the memory will be contaminated by random data left in last > boot (warm reset). The code should not assume the allocated memory is > always filled with zero. This patch add

Re: [edk2] [Patch v2 0/6] Fix performance issue caused by Set MSR task.

2018-10-17 Thread Laszlo Ersek
Hi Eric, On 10/17/18 04:16, Eric Dong wrote: > V2 changes include: > 1. Include the change for CpuCommonFeaturesLib which used to set MSR base on > its scope info. > 2. Include the change for CpuS3DataDxe driver which also handle the > AcpiCpuData data. > 3. Update code base on feedback for V1

Re: [edk2] [PATCH 0/5] MdePkg/BaseSynchronizationLib GCC: fixes, cleanups

2018-10-17 Thread Laszlo Ersek
On 10/16/18 03:32, Gao, Liming wrote: > Laszlo: > Sorry for the delay. Your change is good. > > Reviewed-by: Liming Gao > > Thanks > Liming >> -Original Message- >> From: Kinney, Michael D >> Sent: Tuesday, October 16, 2018 3:29 AM >> To: Laszlo Ersek ; Gao, Liming ; >> Kinney,

[edk2] FDF Specification Updates for PI 1.6 Standalone MM Components

2018-10-17 Thread Cohen, Eugene
The FDF spec appears to be missing definitions for the new PI 1.6 component types like MM_CORE_STANDALONE and MM_STANDALONE. Is there a plan to update the spec to reflect these new types? See

Re: [edk2] [PATCH] BaseTools/ECC: Add a checkpoint to check no usage for deprecated functions.

2018-10-17 Thread Carsey, Jaben
Propose to use a set not a list when the data is unordered and unique names of functions. With that: reviewed-by:Jaben.carsey Sent from my iPad > On Oct 16, 2018, at 7:25 PM, Yonghong Zhu wrote: > > From: Hess Chen > > Contributed-under: TianoCore Contribution Agreement 1.0 >

Re: [edk2] CVE-2018-3613 [was: MdeModulePkg Variable: Fix Timestamp zeroing issue on APPEND_WRITE]

2018-10-17 Thread Zeng, Star
Hi Laszlo, On 2018/10/17 21:10, Laszlo Ersek wrote: Hi Star, On 10/16/18 04:41, Star Zeng wrote: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=415 When SetVariable() to a time based auth variable with APPEND_WRITE attribute, and if the EFI_VARIABLE_AUTHENTICATION_2.TimeStamp in the

Re: [edk2] [PATCH] FatBinPkg: Remove FatBinPkg and modify document

2018-10-17 Thread Gao, Liming
Laszlo: Thanks for your suggestion. I will wait for one more week. Thanks Liming > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Laszlo > Ersek > Sent: Wednesday, October 17, 2018 7:18 PM > To: Zhang, Shenglei ; edk2-devel@lists.01.org >

Re: [edk2] [Patch] edk2-BaseTools-win32: Add notes to announce BaseTools Win32 doesn't work

2018-10-17 Thread Gao, Liming
Good suggestion. I have updated this wiki. Please review. > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > krishnaLee > Sent: Wednesday, October 10, 2018 12:10 PM > To: edk2-devel@lists.01.org > Subject: Re: [edk2] [Patch]

Re: [edk2] [PATCH] Edk2Platforms: Replace FatBinPkg with FatPkg

2018-10-17 Thread Gao, Liming
Ard: Do you know who can review this patch? Thanks Liming > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > shenglei > Sent: Tuesday, October 16, 2018 11:43 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH] Edk2Platforms: Replace

[edk2] CVE-2018-3613 [was: MdeModulePkg Variable: Fix Timestamp zeroing issue on APPEND_WRITE]

2018-10-17 Thread Laszlo Ersek
Hi Star, On 10/16/18 04:41, Star Zeng wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=415 > > When SetVariable() to a time based auth variable with APPEND_WRITE > attribute, and if the EFI_VARIABLE_AUTHENTICATION_2.TimeStamp in > the input Data is earlier than current value, it will

Re: [edk2] [Patch] MdeModulePkg BrotliDecompressLib: Add the checker to avoid array out of bound

2018-10-17 Thread Gao, Liming
Yes. I will add those information. Thanks! > -Original Message- > From: Zeng, Star > Sent: Wednesday, October 17, 2018 4:45 PM > To: Gao, Liming ; edk2-devel@lists.01.org > Cc: Zeng, Star > Subject: RE: [edk2] [Patch] MdeModulePkg BrotliDecompressLib: Add the checker > to avoid array

[edk2] [Patch] BaseTools: Fix bug caused by 03c36c36a3

2018-10-17 Thread Yonghong Zhu
In the expression for unicode string and general string compare, it should check whether it startswith "L'" or 'L"', but not "L". Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yonghong Zhu --- BaseTools/Source/Python/Common/Expression.py | 4 ++-- 1 file changed, 2

Re: [edk2] [PATCH] uefi-sct/SctPkg:Add conformance test cases for deprecated EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS attribute.

2018-10-17 Thread Laszlo Ersek
Hi Leif, On 10/16/18 04:28, Leif Lindholm wrote: > Laszlo: a few years ago, you also posted a _really_ useful email about > the process of being a maintainer, and helpful workflows (like "sort > emails to review immediately on reception, even if you don't have time > to review now"). I have

Re: [edk2] [PATCH v4 0/1] Add ArmPkg/Optee library APIs

2018-10-17 Thread Sumit Garg
Gentle reminder. Please let me know if you have any further review comments. -Sumit On Wed, 10 Oct 2018 at 10:49, Sumit Garg wrote: > > Changes in v4: > Replaced abbreviations with full name which are not defined in [1]. Also > used EFI_GUID for Trusted Application UUIDs. > > [1] >

Re: [edk2] [Patch 0/4] Fix performance issue caused by Set MSR task.

2018-10-17 Thread Laszlo Ersek
On 10/16/18 03:39, Dong, Eric wrote: > Hi Laszlo, > > [...] Thanks for your answers, it's all much clearer now. Laszlo ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [PATCH] FatBinPkg: Remove FatBinPkg and modify document

2018-10-17 Thread Laszlo Ersek
On 10/16/18 09:11, shenglei wrote: > Remove FatBinPkg and modify Maintainers.txt. > https://bugzilla.tianocore.org/show_bug.cgi?id=1105 > > Cc: Ruiyu Ni > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Shenglei Zhang > --- > FatBinPkg/EnhancedFatDxe/AArch64/Fat.efi |

[edk2] [PATCH] BaseTools: covert "unicode string" to "byte array" if value type diff.

2018-10-17 Thread Zhaozh1x
For the same one VOID* pcd, if the default value type of one sku is "unicode string", the other skus are "OtherVOID*"(ascii string or byte array),Then covert "unicode string" to "byte array". Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: ZhiqiangX Zhao Cc: Liming Gao

Re: [edk2] Regression with PXE boot on OvmfPkg/VirtioNetDxe driver on aarch64 system

2018-10-17 Thread Laszlo Ersek
Hi Aaron, On 10/16/18 03:55, Ard Biesheuvel wrote: > On 15 October 2018 at 22:52, wrote: >> On 10/04/18 06:06, Laszlo Ersek wrote: >>> On 10/04/18 11:24, Leif Lindholm wrote: +Peter On Wed, Oct 03, 2018 at 04:59:54PM -0700, aaron.yo...@oracle.com wrote: > > I am

Re: [edk2] [Patch] MdeModulePkg BrotliDecompressLib: Add the checker to avoid array out of bound

2018-10-17 Thread Zeng, Star
Liming, They are reported by some static analysis tool, right? I think you add some information about it in the commit log. You can do that when pushing the patch. Thanks, Star -Original Message- From: Zeng, Star Sent: Wednesday, October 17, 2018 4:43 PM To: Gao, Liming ;

Re: [edk2] [Patch] MdeModulePkg BrotliDecompressLib: Add the checker to avoid array out of bound

2018-10-17 Thread Zeng, Star
Reviewed-by: Star Zeng Thanks, Star -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Liming Gao Sent: Tuesday, October 16, 2018 3:27 PM To: edk2-devel@lists.01.org Subject: [edk2] [Patch] MdeModulePkg BrotliDecompressLib: Add the checker to

[edk2] [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: always clear descriptor data in advance

2018-10-17 Thread Jian J Wang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1237 Sometimes the memory will be contaminated by random data left in last boot (warm reset). The code should not assume the allocated memory is always filled with zero. This patch add code to clear data structure used for stack switch to

Re: [edk2] [Patch] BaseTools: Remove the step to freeze python tool

2018-10-17 Thread Zhu, Yonghong
Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -Original Message- From: Gao, Liming Sent: Tuesday, October 16, 2018 11:09 PM To: edk2-devel@lists.01.org Cc: Zhu, Yonghong Subject: [Patch] BaseTools: Remove the step to freeze python tool