Re: [edk2-devel] [PATCH] OvmfPkg: enable multiprocessor builds when using build.sh

2019-07-22 Thread Jordan Justen
Maybe a commit message tweak would be: OvmfPkg/build.sh: enable multithreaded build by default On 2019-07-21 17:58:16, Rebecca Cran wrote: > When building both BaseTools and OvmfPkg, enable multiprocessor builds, > using up to the number of cores available in the system. This can > drastically re

[edk2-devel] [Patch v2 0/6] UefiCpuPkg: Enable Edkii Mp Services2 Ppi

2019-07-22 Thread Dong, Eric
V2 changes: 1. Enable new API for MpInitLibUp. 2. Remove useless parameter FailedCpuList. 3. Rename StartupAllAPsWorker to StartupAllCpusWorker. V1 Changes: REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 CpuFeatures solution introduces a policy which write msr bases on scope info. With

[edk2-devel] [Patch v2 6/6] UefiCpuPkg/RegisterCpuFeaturesLib: Start all processors simultaneously.

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 For semaphore type register, it required all processors to do the task at the same time. Current logic begins BSP's task after all APs have finished their tasks. This will caused set semaphore task hang if semaphore has package level type. T

[edk2-devel] [Patch v2 4/6] UefiCpuPkg: Add new EDKII_PEI_MP_SERVICES2_PPI

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 Add definition for new EDKII_PEI_MP_SERVICES2_PPI. It includes all APIs existed in EFI_PEI_MP_SERVICES_PPI and add new API EDKII_PEI_MP_SERVICES_STARTUP_ALL_CPUS. Cc: Ray Ni Cc: Laszlo Ersek Cc: Chandana Kumar Cc: Star Zeng Signed-off-

[edk2-devel] [Patch v2 3/6] UefiCpuPkg/MpInitLibUp: Add MpInitLibStartupAllCPUs API.

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 Add new MpInitLibStartupAllCPUs API uses to start all processors at the same time. Cc: Ray Ni Cc: Laszlo Ersek Cc: Chandana Kumar Cc: Star Zeng Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLibUp/MpInitLibUp.c | 38 +++

[edk2-devel] [Patch v2 5/6] UefiCpuPkg/CpuMpPei: Produce EDKII_PEI_MP_SERVICES2_PPI.

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 Produce new EDKII_PEI_MP_SERVICES2_PPI service. It includes all APIs existed in EFI_PEI_MP_SERVICES_PPI and add new API EDKII_PEI_MP_SERVICES_STARTUP_ALL_CPUS. Cc: Ray Ni Cc: Laszlo Ersek Cc: Chandana Kumar Cc: Star Zeng Signed-off-by:

[edk2-devel] [Patch v2 1/6] UefiCpuPkg/Include/MpInitLib.h: Add MpInitLibStartupAllCPUs API.

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 Add new MpInitLibStartupAllCPUs API uses to start all processors at the same time. Cc: Ray Ni Cc: Laszlo Ersek Cc: Chandana Kumar Cc: Star Zeng Signed-off-by: Eric Dong --- UefiCpuPkg/Include/Library/MpInitLib.h | 33 +

[edk2-devel] [Patch v2 2/6] UefiCpuPkg/MpInitLib: Add MpInitLibStartupAllCPUs API.

2019-07-22 Thread Dong, Eric
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 Add new MpInitLibStartupAllCPUs API uses to start all processors at the same time. Cc: Ray Ni Cc: Laszlo Ersek Cc: Chandana Kumar Cc: Star Zeng Signed-off-by: Eric Dong --- UefiCpuPkg/Library/MpInitLib/DxeMpLib.c | 3 +- UefiCpuPkg/L

Re: [edk2-devel] [Patch v2 1/6] UefiCpuPkg/Include/MpInitLib.h: Add MpInitLibStartupAllCPUs API.

2019-07-22 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: devel@edk2.groups.io On Behalf Of Dong, > Eric > Sent: Monday, July 22, 2019 3:14 PM > To: devel@edk2.groups.io > Cc: Ni, Ray ; Laszlo Ersek ; Kumar, > Chandana C ; Zeng, Star > > Subject: [edk2-devel] [Patch v2 1/6] UefiCpuPkg/Include/Mp

[edk2-devel] [PATCH v2 2/6] ShellPkg: acpiview: XSDT: Remove redundant ParseAcpi() call

2019-07-22 Thread Krzysztof Koch
Remove a call to ParseAcpi() responsible for getting the XSDT table length. This call is not needed because the ACPI table buffer length is provided as an input argument to the ParseAcpiXsdt() function. Modify remaining code to use the AcpiTableLength argument of the ParseAcpiXsdt() function inste

[edk2-devel] [PATCH v2 1/6] ShellPkg: acpiview: Allow passing buffer length to DumpGasStruct()

2019-07-22 Thread Krzysztof Koch
Modify the signature of the DumpGasStruct() function to include the buffer length parameter and to return the number of bytes parsed by the function. This way it becomes possible to prevent buffer overruns when dumping Generic Address Structure's (GAS) fields in the acpiview table parsers. Update

[edk2-devel] [PATCH v2 3/6] ShellPkg: acpiview: RSDP: Make code consistent with other parsers

2019-07-22 Thread Krzysztof Koch
List ParseAcpi() function arguments one per line in order to make this function call consistent with ParseAcpi() calls in other ACPI table parsers. Also, notify the user that XsdtAddress value of 0 results in RSDP parsing being terminated and that the XSDT table will not be processed. This effect

[edk2-devel] [PATCH v2 0/6] Acpiview table parsers code style enhancements and refactoring

2019-07-22 Thread Krzysztof Koch
This set of patches consists of a number of changes which make the code structure consistent across the existing ACPI table parsers. These are all refactoring changes which do not modify the existing functionality of the acpiview UEFI shell tool. Changes can be seen at: https://github.com/Krzyszt

[edk2-devel] [PATCH v2 6/6] ShellPkg: acpiview: IORT: Refactor PMCG node mapping count validation

2019-07-22 Thread Krzysztof Koch
Move Performance Monitoring Counter Group (PMCG) node ID mapping count validation from the core IORT acpiview parser logic to a dedicated function. Now, the pointer to the validation function is passed to the IortNodePmcgParser[] ACPI_PARSER array. This check does not affect the flow of IORT parsi

[edk2-devel] [PATCH v2 4/6] ShellPkg: acpiview: SRAT: Minor code style enhancements

2019-07-22 Thread Krzysztof Koch
Minor changes to the SRAT parser code to conform with the EDKII coding style and to make it consistent with other ACPI table parsers. Signed-off-by: Krzysztof Koch --- Notes: v1: - minor code style enhancements [Krzysztof] ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratP

[edk2-devel] [PATCH v2 5/6] ShellPkg: acpiview: MADT: Split structure length validation

2019-07-22 Thread Krzysztof Koch
Split the Interrupt Controller Structure length validation in the acpiview UEFI shell tool into two logical parts: 1. Ensuring MADT table parser forward progress. 2. Preventing MADT table buffer overruns. Also, make the condition for infinite loop detection applicable to all types of Interrupt Con

[edk2-devel] [PATCH 1/4] UefiCpuPkg/MpInitLib: Enable 5-level paging for AP when BSP's enabled

2019-07-22 Thread Ni, Ray
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2008 MpInitLib is the library that's responsible to wake up APs to provide MP PPI and Protocol services. The patch synchronizes BSP's CR4.LA57 to each AP's CR4.LA57. Without this change, AP may enter to GP fault when BSP's 5-level page table is

[edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable

2019-07-22 Thread Ni, Ray
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2008 The PCD indicates if 5-Level Paging will be enabled in long mode. 5-Level Paging will not be enabled when the PCD is TRUE but CPU doesn't support 5-Level Paging. Signed-off-by: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek --- MdeModulePkg/MdeM

[edk2-devel] [PATCH 0/4] Support 5-level paging in DXE long mode

2019-07-22 Thread Ni, Ray
Ray Ni (4): UefiCpuPkg/MpInitLib: Enable 5-level paging for AP when BSP's enabled UefiCpuPkg/CpuDxe: Support parsing 5-level page table MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable MdeModulePkg/DxeIpl: Create 5-level page table for long mode MdeModulePkg/Core/DxeIplPeim/DxeI

[edk2-devel] [PATCH 2/4] UefiCpuPkg/CpuDxe: Support parsing 5-level page table

2019-07-22 Thread Ni, Ray
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2008 Signed-off-by: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek --- UefiCpuPkg/CpuDxe/CpuPageTable.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/CpuDxe/CpuPageTable.c b/UefiCpuPkg/CpuDxe/Cp

[edk2-devel] [PATCH 4/4] MdeModulePkg/DxeIpl: Create 5-level page table for long mode

2019-07-22 Thread Ni, Ray
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2008 DxeIpl is responsible to create page table for DXE phase running either in long mode or in 32bit mode with certain protection mechanism enabled (refer to ToBuildPageTable()). The patch updates DxeIpl to create 5-level page table for DXE pha

Re: [edk2-devel] [PATCH v2 0/6] Acpiview table parsers code style enhancements and refactoring

2019-07-22 Thread Krzysztof Koch
Hi Everyone, Just to let you know, only "ShellPkg: acpiview: Allow passing buffer length to DumpGasStruct()" is changed compared to v1. I had a wrong understanding of how to post revised patches to the upstream community. Kind regards, Krzysztof -Original Message- From: devel@edk2.gro

Re: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable

2019-07-22 Thread Ni, Ray
Forgot to include MdeModulePkg maintainers for review. > -Original Message- > From: devel@edk2.groups.io On Behalf Of Ni, Ray > Sent: Monday, July 22, 2019 4:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Laszlo Ersek > Subject: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduc

[edk2-devel] [edk2-platform patch] Silicon/Intel/Tools: Add .gitignore file to ignore the generated .o/.obj

2019-07-22 Thread Liming Gao
C tools are compiled first. Their generation files .o/.obj/.d/.pdb should be ignored. Signed-off-by: Liming Gao Cc: Bob Feng --- Silicon/Intel/Tools/.gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 Silicon/Intel/Tools/.gitignore diff --git a/Silicon/Intel/Tools/.gitign

Re: [edk2-devel] [PATCH 4/4] MdeModulePkg/DxeIpl: Create 5-level page table for long mode

2019-07-22 Thread Ni, Ray
Forgot to include MdeModulePkg maintainers for review. > -Original Message- > From: devel@edk2.groups.io On Behalf Of Ni, Ray > Sent: Monday, July 22, 2019 4:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric ; Laszlo Ersek > Subject: [edk2-devel] [PATCH 4/4] MdeModulePkg/DxeIpl: Create 5

[edk2-devel] [Patch 9/9 V2] BaseTools: Add the support for python 2

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 python3 change the module name of Queue to queue. python3 add a new log handler of QueueHandler. This patch is to make Multiple process AutoGen feature work for python2 Cc: Liming Gao Signed-off-by: Bob Feng --- .../Source/Python/AutoGen

[edk2-devel] [Patch 7/9 V2] BaseTools: Add LogAgent to support multiple process Autogen

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 AutoGen processes race the logfile. To resolve this issue, this patch create a LogAgent thread in main process to write the log content to console or file, Other process will send the log content to the LogAgent. Cc: Liming Gao Signed-off-b

[edk2-devel] [Patch 5/9 V2] BaseTools: Enable Multiple Process AutoGen

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 Assign the Module AutoGen tasks into multiple sub process. Cc: Liming Gao Signed-off-by: Bob Feng --- .../Source/Python/AutoGen/AutoGenWorker.py| 161 ++ BaseTools/Source/Python/AutoGen/DataPipe.py | 6 + BaseTools

[edk2-devel] [Patch 8/9 V2] BaseTools: Move BuildOption parser out of build.py

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 Build tool supports user to specify the conf folder. To make the build options be evaluated at the beginning of launching build, extract the buildoption function from build.py to a new .py file. Signed-off-by: Bob Feng Cc: Liming Gao ---

[edk2-devel] [Patch 3/9 V2] BaseTools: Add functions to get platform scope build options

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 These functions are used for get platform scope build options. They will be used in later patches. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/AutoGen.py| 10 +- .../Source/Python/Workspace/DscBu

[edk2-devel] [Patch 0/9 V2] Enable multiple process AutoGen

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 In order to improve the build performance, we implemented multiple-processes AutoGen. This change will reduce 20% time for AutoGen phase. The design document can be got from: https://edk2.groups.io/g/devel/files/Designs/2019/0627/Multiple-th

[edk2-devel] [Patch 1/9 V2] BaseTools: Singleton the object to handle build conf file

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 The build config files are target.txt, build rule, tooldef During a build, the config is not changed, so the object to handle them need to be singleton. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/AutoGen.py

[edk2-devel] [Patch 2/9 V2] BaseTools: Split WorkspaceAutoGen._InitWorker into multiple functions

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 The WorkspaceAutoGen.__InitWorker function is too long, it's hard to read and understand. This patch is to separate the __InitWorker into multiple small ones. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/Auto

[edk2-devel] [Patch 6/9 V2] BaseTools: Add shared data for processes

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 Add shared data for autogen processes. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/AutoGenWorker.py | 3 ++- BaseTools/Source/Python/build/build.py | 10 ++ 2 files changed, 8 insertions(+

Re: [edk2-devel] [Patch 0/9] Enable multiple process AutoGen

2019-07-22 Thread Bob Feng
Hi Laszlo, Thanks for your detailed testing and comments. I send out patch serial V2 to resolve comment 1#. V2 also fixed some issues found by others and was generated based on master latest version. For 3#, I can reproduce the issue, I'll fix it in patch serial V3. My understanding is that

Re: [edk2-devel] [PATCH v2 0/6] Acpiview table parsers code style enhancements and refactoring

2019-07-22 Thread Gao, Zhichao
Series: Reviewed-by: Zhichao Gao > -Original Message- > From: Krzysztof Koch [mailto:krzysztof.k...@arm.com] > Sent: Monday, July 22, 2019 3:50 PM > To: devel@edk2.groups.io > Cc: Carsey, Jaben ; Ni, Ray ; Gao, > Zhichao ; sami.muja...@arm.com; > matteo.carl...@arm.com; n...@arm.com > Sub

Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, Crypto, Embedded: list internal headers in [Sources]

2019-07-22 Thread Leif Lindholm
On Fri, Jul 19, 2019 at 06:43:15PM +0200, Laszlo Ersek wrote: > Repo: https://github.com/lersek/edk2.git > Branch: internal_hdrs > > The BaseTools build feature introduced for TianoCore#1804 / in commit > 1fa6699e6cd4 ("BaseTools: Add a checking for Sources section in INF > file", 2019-06-10) lo

[edk2-devel] [edk2-platforms PATCH v1 1/3] NetsecDxe: embed phy address into NETSEC SDK internal structure

2019-07-22 Thread Masahisa Kojima
This is a refactoring of phy address handling in Netsec driver. NETSEC SDK, low level driver for NetsecDxe, did not store phy address. User should specify the phy address as an argument to the SDK public functions. It prevented NETSEC SDK from internally controlling phy, and it also bothers user ap

[edk2-devel] [edk2-platforms PATCH v1 0/3] Robust Netsec Initialiation

2019-07-22 Thread Masahisa Kojima
This patch series is bugfix for the hang-up issue in Netsec driver. Some linux distributions such as Ubuntu power down the ethernet phy in reboot. In this case, Netsec initialization fails and system hungs. This patch series add the robust netsec initialization, set ethernet phy as loopback mode

[edk2-devel] [edk2-platforms PATCH v1 2/3] NetsecDxe: put phy in loopback mode in order to guarantee stable RXCLK input

2019-07-22 Thread Masahisa Kojima
NETSEC hardware requires stable RXCLK input upon initialization triggered with DISCORE = 0. However, RXCLK input could be unstable depending on phy chipset and deployed network environment, which could cause NETSEC to hang up during initialization. We solve this platform/environment dependent issu

[edk2-devel] [edk2-platforms PATCH v1 3/3] NetsecDxe: SnpInitialize() waits for media linking up

2019-07-22 Thread Masahisa Kojima
The latest NetsecDxe requires issueing phy reset at the last stage of initialization to safely exit loopback mode. However, as a result, it takes a couple of seconds for link state to get stable, which could cause auto-chosen pxeboot to fail due to MediaPresent check error. This patch adds link st

Re: [edk2-devel] [PATCH v3 09/35] OvmfPkg/OvmfXen: use a TimerLib instance that depends only on the CPU

2019-07-22 Thread Anthony PERARD
On Mon, Jul 15, 2019 at 04:22:19PM +0200, Roger Pau Monné wrote: > On Thu, Jul 04, 2019 at 03:42:07PM +0100, Anthony PERARD wrote: > > ACPI Timer does not work in a PVH guest, but local APIC works on both > > This is not accurate. It's not that the ACPI timer doesn't work, it's > just that it's no

Re: [edk2-devel] [PATCH v3 24/35] OvmfPkg/XenPlatformPei: Rework memory detection

2019-07-22 Thread Anthony PERARD
On Mon, Jul 15, 2019 at 04:15:21PM +0200, Roger Pau Monné wrote: > On Thu, Jul 04, 2019 at 03:42:22PM +0100, Anthony PERARD wrote: > > When running as a Xen PVH guest, there is no CMOS to read the memory > > size from. Rework GetSystemMemorySize(Below|Above)4gb() so they can > > works without CMOS

Re: [edk2-devel] [PATCH v3 32/35] OvmfPkg/PlatformBootManagerLib: Use a Xen console for ConOut/ConIn

2019-07-22 Thread Anthony PERARD
On Wed, Jul 10, 2019 at 12:48:57PM +0200, Laszlo Ersek wrote: > On 07/04/19 16:42, Anthony PERARD wrote: > > On a Xen PVH guest, none of the existing serial or console interface > > works, so we add a new one, based on XenConsoleSerialPortLib, and > > implemented via SerialDxe. > > > > That is a s

Re: [edk2-devel] [edk2-platforms Patch V2 5/5] Vlv2Tbl2DevicePkg: Convert BAT/sh Build scripts to Python

2019-07-22 Thread Michael D Kinney
Gary, Thanks for the feedback. I will send out a V3. I have fixed the source files with non-ASCII characters that are preventing the reports from being generated on Linux systems. I will enter a BZ to update the build tools to be more resilient for this case. Non-ASCII characters should not

Re: [edk2-devel] [PATCH V2 0/4] Add a pcd PcdBootManagerInBootOrder to control whether BootManager is in BootOrder

2019-07-22 Thread Laszlo Ersek
On 07/22/19 05:17, Gao, Zhichao wrote: > Hi Laszlo, > >> -Original Message- >> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of >> Laszlo Ersek >> Sent: Friday, July 19, 2019 10:15 PM >> To: Gao, Zhichao ; devel@edk2.groups.io >> Cc: Kinney, Michael D ; Gao, Liming >>

Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, Crypto, Embedded: list internal headers in [Sources]

2019-07-22 Thread Laszlo Ersek
On 07/22/19 12:37, Leif Lindholm wrote: > On Fri, Jul 19, 2019 at 06:43:15PM +0200, Laszlo Ersek wrote: >> Repo: https://github.com/lersek/edk2.git >> Branch: internal_hdrs >> >> The BaseTools build feature introduced for TianoCore#1804 / in commit >> 1fa6699e6cd4 ("BaseTools: Add a checking for

Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, Crypto, Embedded: list internal headers in [Sources]

2019-07-22 Thread Michael D Kinney
We could consider checking for these type of issues in the ECC tool instead of build and make it an error from ECC instead of a warning. Mike > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] > On Behalf Of Laszlo Ersek > Sent: Monday, July 22, 2019 10:33 AM

Re: [edk2-devel] [PATCH v3 00/35] Specific platform to run OVMF in Xen PVH and HVM guests

2019-07-22 Thread Laszlo Ersek
On 07/19/19 18:42, Anthony PERARD wrote: > On Fri, Jul 05, 2019 at 02:21:13PM +0200, Laszlo Ersek wrote: >> The patches on the list are malformed. They have >> >> Content-Transfer-Encoding: quoted-printable >> >> which is fine, in itself; however, they have CR-CR-LF line terminators. >> >> For exam

Re: [edk2-devel] [PATCH v3 09/35] OvmfPkg/OvmfXen: use a TimerLib instance that depends only on the CPU

2019-07-22 Thread Laszlo Ersek
On 07/22/19 15:49, Anthony PERARD wrote: > On Mon, Jul 15, 2019 at 04:22:19PM +0200, Roger Pau Monné wrote: >> On Thu, Jul 04, 2019 at 03:42:07PM +0100, Anthony PERARD wrote: >>> ACPI Timer does not work in a PVH guest, but local APIC works on both >> >> This is not accurate. It's not that the ACPI

Re: [edk2-devel] [PATCH v3 24/35] OvmfPkg/XenPlatformPei: Rework memory detection

2019-07-22 Thread Laszlo Ersek
On 07/22/19 16:53, Anthony PERARD wrote: > On Mon, Jul 15, 2019 at 04:15:21PM +0200, Roger Pau Monné wrote: >> On Thu, Jul 04, 2019 at 03:42:22PM +0100, Anthony PERARD wrote: >>> When running as a Xen PVH guest, there is no CMOS to read the memory >>> size from. Rework GetSystemMemorySize(Below|Ab

Re: [edk2-devel] [Patch 0/9] Enable multiple process AutoGen

2019-07-22 Thread Laszlo Ersek
On 07/22/19 11:11, Feng, Bob C wrote: > Hi Laszlo, > > Thanks for your detailed testing and comments. > > I send out patch serial V2 to resolve comment 1#. V2 also fixed some issues > found by others and was generated based on master latest version. > > For 3#, I can reproduce the issue, I'll

Re: [edk2-devel] [PATCH] OvmfPkg: enable multiprocessor builds when using build.sh

2019-07-22 Thread Laszlo Ersek
On 07/22/19 09:11, Jordan Justen wrote: > Maybe a commit message tweak would be: > > OvmfPkg/build.sh: enable multithreaded build by default > > On 2019-07-21 17:58:16, Rebecca Cran wrote: >> When building both BaseTools and OvmfPkg, enable multiprocessor builds, >> using up to the number of core

Re: [edk2-devel] [PATCH 4/5] MdeModulePkg: Add SecuritAuditLib to dec file

2019-07-22 Thread Laszlo Ersek
On 07/22/19 06:02, Gao, Zhichao wrote: > From: Bret Barkelew > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2006 > > Add the lib instance to LibraryClasses for components > that consume it. > Add the lib instance to Components for build only. > > Cc: Jian J Wang > Cc: Hao A Wu > Cc:

Re: [edk2-devel] [PATCH 1/5] MdeModulePkg: Add header file for SecurityLockAuditLib

2019-07-22 Thread Laszlo Ersek
On 07/22/19 06:02, Gao, Zhichao wrote: > From: Bret Barkelew > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2006 > > Add header file for SecurityLockAuditLib and add its > file path to dec file. > > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Ray Ni > Cc: Star Zeng > Cc: Liming gao > Cc:

Re: [edk2-devel] [PATCH 2/5] MdeModulePkg/SecurityLockAuditDebugLib: Add lib instance

2019-07-22 Thread Laszlo Ersek
On 07/22/19 06:02, Gao, Zhichao wrote: > From: Bret Barkelew > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2006 > > Add the instance of SecurityLockAuditLib. This instance > has one interface SecurityLockReportEvent to log hardware > and software security locks info. > > Cc: Jian J Wa

Re: [edk2-devel] [PATCH 5/5] MdeModulePkg/PiSmmIpl: Use SecurityLockAuditLib for debug

2019-07-22 Thread Laszlo Ersek
On 07/22/19 06:02, Gao, Zhichao wrote: > From: Bret Barkelew > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2006 > > Use SecurityLockAuditLib in PiSmmIpl to output debug message > while lock the SMRAM. > > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Ray Ni > Cc: Star Zeng > Cc: Liming gao

Re: [edk2-devel] [PATCH 2/5] MdeModulePkg/SecurityLockAuditDebugLib: Add lib instance

2019-07-22 Thread Laszlo Ersek
(apologies for the separate message, for this patch:) On 07/22/19 22:34, Laszlo Ersek wrote: > On 07/22/19 06:02, Gao, Zhichao wrote: >> From: Bret Barkelew >> >> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2006 >> >> Add the instance of SecurityLockAuditLib. This instance >> has one inte

Re: [edk2-devel] [Patch 0/9 V2] Enable multiple process AutoGen

2019-07-22 Thread Laszlo Ersek
Bob, On 07/22/19 10:50, Bob Feng wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 > > In order to improve the build performance, we implemented > multiple-processes AutoGen. This change will reduce 20% time > for AutoGen phase. > > The design document can be got from: > https://e

Re: [edk2-devel] [PATCH 2/5] MdeModulePkg/SecurityLockAuditDebugLib: Add lib instance

2019-07-22 Thread Michael D Kinney
Laszlo, I agree the lib instance should use the lib class name. This one should be SecurityLockAuditLibDebug. Mike > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] > On Behalf Of Laszlo Ersek > Sent: Monday, July 22, 2019 1:45 PM > To: devel@edk2.groups.io;

[edk2-devel] [edk2-non-osi/devel-MinPlatform] [PATCH] ClevoOpenBoardBinPkg: Add Vbt binary

2019-07-22 Thread Agyeman, Prince
Added N1xxWU's Vbt.bin Cc: Liming Gao Cc: Ankit Sinha Cc: Nate DeSimone Cc: Michael Kubacki Cc: Michael D Kinney Cc: Jiewen Yao Signed-off-by: Prince Agyeman --- .../ClevoOpenBoardBinPkg/N1xxWU/Gop/Vbt.bin | Bin 0 -> 4608 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create

Re: [edk2-devel] [PATCH v4 1/6] edksetup.sh: Use bash variable $PWD instead of executing pwd command

2019-07-22 Thread Laszlo Ersek
Hi All, On 07/16/19 18:55, rebe...@bsdio.com wrote: > This is a (very minor) optimization: `pwd` runs the command (even as a > built-in), whereas $PWD simply evaluates the value of the variable. > > ALso, modern scripts should generally use $(...) to run commands, > instead of `...`. > > Signed-

Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, Crypto, Embedded: list internal headers in [Sources]

2019-07-22 Thread Laszlo Ersek
On 07/19/19 18:43, Laszlo Ersek wrote: > Repo: https://github.com/lersek/edk2.git > Branch: internal_hdrs > > The BaseTools build feature introduced for TianoCore#1804 / in commit > 1fa6699e6cd4 ("BaseTools: Add a checking for Sources section in INF > file", 2019-06-10) logs some (non-fatal) war

Re: [edk2-devel] [PATCH v4 1/6] edksetup.sh: Use bash variable $PWD instead of executing pwd command

2019-07-22 Thread rebecca
On 2019-07-22 16:16, Laszlo Ersek wrote: > > should we push patches #1 through #4 from this series? > > They are independent of python detection (which is still being discussed). I think that's a good idea. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sen

Re: [edk2-devel] [PATCH 0/4] Arm, ArmPlatform, Crypto, Embedded: list internal headers in [Sources]

2019-07-22 Thread Laszlo Ersek
Hi Mike, On 07/22/19 20:47, Michael D Kinney wrote: > We could consider checking for these type of issues in > the ECC tool instead of build and make it an error from > ECC instead of a warning. I'm sorry, my reply to Leif was ambiguous (or worse). I meant that the issues underlying the specific

[edk2-devel] [edk2-platforms Patch V3 10/12] Vlv2TbltDevicePkg: Fix XCODE5 build errors

2019-07-22 Thread Michael D Kinney
* Remove extra parenthesis in if statements * Remove local variable structure initialization that adds use of memcpy() on XCODE X64 builds. Move per-initialize structure to a module global. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../Vlv2TbltDevicePkg

[edk2-devel] [edk2-platforms Patch V3 00/12] Vlv2Tbl2DevicePkg: Remove Linux/Windows differences

2019-07-22 Thread Michael D Kinney
New in V3 - * Fix Readme.md for Linux in PACKAGES_PATH setting and edksetup.sh invocation. * Remove non-ASCII characters from source files that is preventing build report generation on Linux systems. * Fix XCODE5 build break in Vlv2TbltDevicePkg/Library/EfiRegTableLib due to use of EFI_

[edk2-devel] [edk2-platforms Patch V3 01/12] Vlv2TbltDevicePkg/PlatformPei: Add boot mode detection

2019-07-22 Thread Michael D Kinney
Add boot mode detection back into PlatformPei that was inadvertently removed in the following commit: https://github.com/tianocore/edk2-platforms/commit/d6211390793fbd0a89b14001c43e0ef942c85425 Boot mode detection at this point is required to detect the boot mode of BOOT_ON_FLASH_UPDATE that is r

[edk2-devel] [edk2-platforms Patch V3 04/12] Vlv2TbltDevicePkg: Convert BAT/sh Capsule scripts to Python

2019-07-22 Thread Michael D Kinney
Convert all the BAT/sh files used to generate capsules to OS independent Python script. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney Reviewed-by: Zailiang Sun --- .../Capsule/GenerateCapsule/GenCapsuleAll.bat | 35 -- .../Capsule/GenerateCapsule/GenCapsuleAll.py

[edk2-devel] [edk2-platforms Patch V3 06/12] Vlv2TbltDevicePkg: Remove non ASCII characters from source files

2019-07-22 Thread Michael D Kinney
Remove non-ASCII characters from comments in source files. These are preventing the build tool from generating report files on Linux systems. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../Intel/Vlv2TbltDevicePkg/PlatformInitPei/PchInitPeim.c | 2 +- Pl

[edk2-devel] [edk2-platforms Patch V3 12/12] Vlv2TbltDevicePkg/PlatformDxe: Use S3BootScriptWidth enums

2019-07-22 Thread Michael D Kinney
Update to use S3BootScriptWidth enum values instead of EfiBootScriptWidth enum values when calling S3BootScriptLib services. This fixes an XCODE5 build failure. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../Intel/Vlv2TbltDevicePkg/PlatformDxe/Platform.c

[edk2-devel] [edk2-platforms Patch V3 05/12] Vlv2Tbl2DevicePkg: Convert BAT/sh Build scripts to Python

2019-07-22 Thread Michael D Kinney
Convert Build_IFWI and bld_vlv BAT/sh scripts to OS independent python script PeBuild.py. This script generates the BiosId file. Standard EDK II build commands are used to build FW images and capsules. * Sample VS2015x86 commands for IA32/X64 and DEBUG/RELEASE build -a IA32 -a X64 -t VS2015x86

[edk2-devel] [edk2-platforms Patch V3 11/12] Vlv2TbltDevicePkg: Remove __GNUC__ specific #ifdefs

2019-07-22 Thread Michael D Kinney
Remove #ifdefs for __GNUC__, so the builds are the same for GCC, VS20xx, and XCODE5. This resolves an XCODE5 build break for an unsupported pragma. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../AcpiPlatform/AcpiPlatform.c | 3 -- .../BoardCl

[edk2-devel] [edk2-platforms Patch V3 09/12] Vlv2TbltDevicePkg: Add XCODE5 4K alignment DLINK_FLAGS

2019-07-22 Thread Michael D Kinney
Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA32.dsc | 2 ++ Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgX64.dsc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Platform/Intel/Vlv2TbltDevicePkg/PlatformPkgIA3

[edk2-devel] [edk2-platforms Patch V3 08/12] Vlv2TbltDevicePkg/PlatformDxe: Add missing #if

2019-07-22 Thread Michael D Kinney
Add missing #if for SENSOR_INFO_VAR_SUPPORT around the function InitializeSensorInfoVariable(). This function is referencing 2 global variables that are not defined, and this breaks VS2017 for undefined global variables. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney

[edk2-devel] [edk2-platforms Patch V3 07/12] Vlv2Tbl2DevicePkg/EfiRegTableLib: Use S3_BOOT_SCRIPT_LIB_WIDTH

2019-07-22 Thread Michael D Kinney
Update calls to S3BootScriptxxx() services to use type S3_BOOT_SCRIPT_LIB_WIDTH instead of EFI_BOOT_SCRIPT_WIDTH. Fixes XCODE5 build failures. Cc: Zailiang Sun Cc: Yi Qian Cc: Gary Lin Signed-off-by: Michael D Kinney --- .../Library/EfiRegTableLib/EfiRegTableLib.c | 6 +++---

Re: [edk2-devel] [PATCH v3 24/35] OvmfPkg/XenPlatformPei: Rework memory detection

2019-07-22 Thread Laszlo Ersek
On 07/22/19 21:45, Laszlo Ersek wrote: > we place the 32-bit PCI IOMMU aperture based on [...] Do I get a medal for this hugely confusing typo? :) In earnest, I'm sorry about it -- my comment had nothing to do with "IOMMU"; I meant "MMIO". (At least I got it right in the rest of the email.) Sor

Re: [edk2-devel] [PATCH] OvmfPkg: enable multiprocessor builds when using build.sh

2019-07-22 Thread Jordan Justen
On 2019-07-22 13:06:03, Laszlo Ersek wrote: > On 07/22/19 09:11, Jordan Justen wrote: > > > It looks like if we tweaked things more, and omitted adding the -n > > parameter to the build command by default, then it would use the > > Conf/target.txt value, which by default appears to also be 0, so t

Re: [edk2-devel] [PATCH] OvmfPkg: enable multiprocessor builds when using build.sh

2019-07-22 Thread rebecca
On 2019-07-22 17:14, Jordan Justen wrote: > > But, personally, I don't think the Conf directory is useful. I'd like > to see us deprecate it entirely, or at least make it optional. > Therefore, I think the best use of our time is to just set it to 0 as > you suggest. :) Thanks, I'll send a v2 pat

Re: [edk2-devel] [PATCH] OvmfPkg: enable multiprocessor builds when using build.sh

2019-07-22 Thread rebecca
On 2019-07-22 17:14, Jordan Justen wrote: > > I was suggesting that if they didn't specify -n as a param to > build.sh, then build.sh should not send -n to the edk2 build command. > The effect would be for the edk2 build command to check > Conf/target.txt. By default, I think target.txt will not se

[edk2-devel] [PATCH v2] OvmfPkg/build.sh: enable multitheaded build by default

2019-07-22 Thread rebecca
Enable multithreaded builds by default when building OvmfPkg using build.sh. This can drastically reduce build times. For example, on a modern ThreadRipper system the time required to build decreases from 3 minutes to 1 minute. Signed-off-by: Rebecca Cran --- OvmfPkg/build.sh | 2 +- 1 file chan

[edk2-devel] [PATCH] BaseTools:Fix GenFds multi-thread build fails if enable build cache

2019-07-22 Thread Fan, ZhijuX
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1923 The GenFds multi-thread will build fail if enable the build cache. 1. First, produce the build cache: edk2>build -p OvmfPkg\OvmfPkgIa32X64.dsc -a IA32 -a X64 -t VS2015x86 -n 5 --genfds-multi-thread --hash --binary-destination=BinCache 2. Remo

Re: [edk2-devel] [edk2-platforms Patch V3 01/12] Vlv2TbltDevicePkg/PlatformPei: Add boot mode detection

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 01/12] Vlv2TbltDevicePkg/PlatformPei: > Add boot mode detection > >

Re: [edk2-devel] [edk2-platforms Patch V3 00/12] Vlv2Tbl2DevicePkg: Remove Linux/Windows differences

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 00/12] Vlv2Tbl2DevicePkg: Remove > Linux/Windows differences > > New

Re: [edk2-devel] [edk2-platforms Patch V3 04/12] Vlv2TbltDevicePkg: Convert BAT/sh Capsule scripts to Python

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Michael D Kinney > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-devel] [edk2-platforms

Re: [edk2-devel] [edk2-platforms Patch V3 07/12] Vlv2Tbl2DevicePkg/EfiRegTableLib: Use S3_BOOT_SCRIPT_LIB_WIDTH

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 07/12] Vlv2Tbl2DevicePkg/EfiRegTableLib: > Use S3_BOOT_SCRIPT_LIB_WID

Re: [edk2-devel] [edk2-platforms Patch V3 08/12] Vlv2TbltDevicePkg/PlatformDxe: Add missing #if

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 08/12] Vlv2TbltDevicePkg/PlatformDxe: > Add missing #if > > Add miss

Re: [edk2-devel] [edk2-platforms Patch V3 06/12] Vlv2TbltDevicePkg: Remove non ASCII characters from source files

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 06/12] Vlv2TbltDevicePkg: Remove non > ASCII characters from source f

Re: [edk2-devel] [edk2-platforms Patch V3 05/12] Vlv2Tbl2DevicePkg: Convert BAT/sh Build scripts to Python

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 05/12] Vlv2Tbl2DevicePkg: Convert BAT/sh > Build scripts to Python >

Re: [edk2-devel] [edk2-platforms Patch V3 10/12] Vlv2TbltDevicePkg: Fix XCODE5 build errors

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 10/12] Vlv2TbltDevicePkg: Fix XCODE5 > build errors > > * Remove ext

Re: [edk2-devel] [edk2-platforms Patch V3 11/12] Vlv2TbltDevicePkg: Remove __GNUC__ specific #ifdefs

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of > Michael D Kinney > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-devel] [edk2-platforms

Re: [edk2-devel] [edk2-platforms Patch V3 09/12] Vlv2TbltDevicePkg: Add XCODE5 4K alignment DLINK_FLAGS

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 09/12] Vlv2TbltDevicePkg: Add XCODE5 4K > alignment DLINK_FLAGS > >

Re: [edk2-devel] [edk2-platforms Patch V3 12/12] Vlv2TbltDevicePkg/PlatformDxe: Use S3BootScriptWidth enums

2019-07-22 Thread Sun, Zailiang
Reviewed-by: Zailiang Sun > -Original Message- > From: Kinney, Michael D > Sent: Tuesday, July 23, 2019 6:59 AM > To: devel@edk2.groups.io > Cc: Sun, Zailiang ; Qian, Yi ; > Gary Lin > Subject: [edk2-platforms Patch V3 12/12] Vlv2TbltDevicePkg/PlatformDxe: > Use S3BootScriptWidth enums >

Re: [edk2-devel] [PATCH 4/4] MdeModulePkg/DxeIpl: Create 5-level page table for long mode

2019-07-22 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Ni, > Ray > Sent: Monday, July 22, 2019 4:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric; Laszlo Ersek > Subject: [edk2-devel] [PATCH 4/4] MdeModulePkg/DxeIpl: Create 5-level > page table for lon

Re: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD PcdUse5LevelPageTable

2019-07-22 Thread Wu, Hao A
> -Original Message- > From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Ni, > Ray > Sent: Monday, July 22, 2019 4:16 PM > To: devel@edk2.groups.io > Cc: Dong, Eric; Laszlo Ersek > Subject: [edk2-devel] [PATCH 3/4] MdeModulePkg/DxeIpl: Introduce PCD > PcdUse5LevelPageTab

Re: [edk2-devel] [PATCH 2/5] MdeModulePkg/SecurityLockAuditDebugLib: Add lib instance

2019-07-22 Thread Wu, Hao A
> -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Tuesday, July 23, 2019 4:34 AM > To: devel@edk2.groups.io; Gao, Zhichao > Cc: Bret Barkelew; Wang, Jian J; Wu, Hao A; Ni, Ray; Zeng, Star; Gao, Liming; > Sean Brogan; Michael Turner > Subject: Re: [edk2-devel] [PAT

[edk2-devel] [Patch 00/10 V3] Enable multiple process AutoGen

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 In order to improve the build performance, we implemented multiple-processes AutoGen. This change will reduce 20% time for AutoGen phase. The design document can be got from: https://edk2.groups.io/g/devel/files/Designs/2019/0627/Multiple-th

[edk2-devel] [Patch 01/10 V3] BaseTools: Singleton the object to handle build conf file

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 The build config files are target.txt, build rule, tooldef During a build, the config is not changed, so the object to handle them need to be singleton. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/AutoGen.py

[edk2-devel] [Patch 03/10 V3] BaseTools: Add functions to get platform scope build options

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 These functions are used for get platform scope build options. They will be used in later patches. Cc: Liming Gao Signed-off-by: Bob Feng --- BaseTools/Source/Python/AutoGen/AutoGen.py| 10 +- .../Source/Python/Workspace/DscBu

[edk2-devel] [Patch 09/10 V3] BaseTools: Add the support for python 2

2019-07-22 Thread Bob Feng
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 python3 change the module name of Queue to queue. python3 add a new log handler of QueueHandler. This patch is to make Multiple process AutoGen feature work for python2 Cc: Liming Gao Signed-off-by: Bob Feng --- .../Source/Python/AutoGen

  1   2   >