[edk2] [RFC] Edk2 BaseTools Python3 Migration Update

2018-12-24 Thread Gao, Liming
Hi, all On Python3 migration https://bugzilla.tianocore.org/show_bug.cgi?id=55, we update Edk2 BaseTools python source code with the compatible syntax to support Python2 and Python3 both. Here is code https://github.com/lgao4/edk2/tree/Python3 for dry run. To enable Python3, you just need to

[edk2] [PATCH] SecurityPkg: Incorrect warning message for Opal admin revert action

2018-12-24 Thread Maggie Chu
https://bugzilla.tianocore.org/show_bug.cgi?id=1421 "revert action will take long time..." warning should be removed from pop up message when keep user data selected. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Maggie Chu Cc: Chao Zhang Cc: Jiewen Yao Cc: Eric Dong -

Re: [edk2] [PATCH v1] MinPlatformPkg/Test: Update to consume SpeculationBarrier

2018-12-24 Thread Yao, Jiewen
Reviewed-by: jiewen@intel.com > -Original Message- > From: Wu, Hao A > Sent: Tuesday, December 25, 2018 9:24 AM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A ; Kubacki, Michael A > ; Yao, Jiewen > Subject: [PATCH v1] MinPlatformPkg/Test: Update to consume > SpeculationBarrier > > REF

[edk2] [PATCH v1] MinPlatformPkg/Test: Update to consume SpeculationBarrier

2018-12-24 Thread Hao Wu
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1417 Since BaseLib API AsmLfence() is a x86 arch specific API and should be avoided using in generic codes, this commit replaces the usage of AsmLfence() with arch-generic API SpeculationBarrier(). Cc: Michael A Kubacki Cc: Jiewen Yao Contribut

[edk2] [Patch 4/5] BaseTools tools_def.template: Remove obsolete ICC/ICC11 tool chains

2018-12-24 Thread Liming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 1103 - 1 file changed, 1103 deletions(-) diff --git a/BaseTools/Conf/tools_def.templ

[edk2] [Patch 2/5] BaseTools tools_def.template: Remove obsolete ELFGCC/UNIXGCC/CYGGCC tool chain

2018-12-24 Thread Liming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 387 -- 1 file changed, 387 deletions(-) diff --git a/BaseTools/Conf/tools_def.templa

[edk2] [Patch 1/5] BaseTools/Conf/tools_def.template: drop ARM/AARCH support from GCC46/GCC47

2018-12-24 Thread Liming Gao
From: Ard Biesheuvel This drops ARM and AARCH64 support from the GCC46 and GCC47 toolchain definitions, which are on the list to be removed, along with VS2003, VS2005, VS2008, VS2010, DDK3790, UNIXGCC, GCC44, GCC45, ELFGCC, CYGGCC, ICC, ICC11 and MYTOOLS. Since GCC46 and GCC47 are the only ones

[edk2] [Patch 0/5] Remove unused tool chains in tools_def.template

2018-12-24 Thread Liming Gao
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Remove VS2003, VS2005, DDK3790, UNIXGCC, GCC44, GCC45, GCC46, GCC47, ELFGCC, CYGGCC, ICC, ICC11 tool chain. ~3000 lines are removed from tools_def.template. Cc: Leif Lindholm Cc: Laszlo Ersek Cc: Michael Kinney Cc: Andrew Fish Cc: Yong

[edk2] [Patch 5/5] BaseTools tools_def.template: Remove obsolete VS2003-2005/DDK3790 tool chains

2018-12-24 Thread Liming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 924 -- 1 file changed, 924 deletions(-) diff --git a/BaseTools/Conf/tools_def.templa

[edk2] [Patch 3/5] BaseTools tools_def.template: Remove obsolete GCC44-GCC47 tool chain

2018-12-24 Thread Liming Gao
https://bugzilla.tianocore.org/show_bug.cgi?id=1377 Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 419 ++ 1 file changed, 20 insertions(+), 399 deletions(-) diff --git a/BaseTools/Con

Re: [edk2] [Patch] BaseTools: Reset FdsGlobalVariable

2018-12-24 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Thursday, December 20, 2018 7:52 PM > To: Feng, Bob C > Cc: edk2-devel@lists.01.org; Gao, Liming > Subject: Re: [Patch] BaseTools: Reset FdsGlobalVariable > > On Thu, 20 Dec 2