Re: [edk2-devel] [RFC PATCH 0/7] OVMF: Disable the TPM2 platform hierarchy

2021-08-06 Thread Yao, Jiewen
Hi Stefan It seems this patch series is not a production fix. It is more like a prototype, my personally feeling. A common issue in patch 2, 3, 4, 5, is that using "comment" to remove the code. Please remove the unnecessary code directly without // or /**/ in C, and # in INF. For patch 1, if y

Re: [edk2-devel] [RFC PATCH 3/7] SecurityPkg/TPM: Disable PcdGetBool (PcdRandomizePlatformHierarchy)

2021-08-06 Thread Yao, Jiewen
Stefan This patch is NOT acceptable. > + if (1 /*PcdGetBool (PcdRandomizePlatformHierarchy)*/) { Nacked-by: Jiewen Yao Thank you Yao Jiewen > -Original Message- > From: Stefan Berger > Sent: Friday, August 6, 2021 11:33 PM > To: devel@edk2.groups.io; Yao, Jiewen > Cc: marcandre.lur

[edk2-devel] [edk2-platforms PATCH 3/3] SolidRun/Cn913xCEx7Eval: Add platform support

2021-08-06 Thread Marcin Wojtas
This patch adds the required platform description files, along with the hardware configuration libraries, for the SolidRun CN913x CEx7 Evaluation Board. Supported interfaces: * SPI flash & memory-mapped variable storage access * uSD * eMMC * 7x PCIE root complex * USB * Networking: * 1Gbps RGMII

[edk2-devel] [edk2-non-osi PATCH] SolidRun/Cn913xCEx7Eval: Add DeviceTree

2021-08-06 Thread Marcin Wojtas
This patch introduces the top device tree for the CN913x CEx7 Evaluation Board, based on the sources which are common for the Cn913x SoCs. Also an .inf file is added to allow its compilation. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/OcteonTx/DeviceTree/T91/Cn913xCEx7Eval.inf | 22 + Sil

[edk2-devel] [edk2-platforms PATCH 2/3] SolidRun/Cn913xCEx7Eval: Add ACPI support

2021-08-06 Thread Marcin Wojtas
This patch adds ACPI tables description for the SolidRun CN913x CEx7 Evaluation Board platform. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xCEx7Eval.inf| 61 +++ Silicon/Marvell/OcteonTx/AcpiTables/T91/Cn913xCEx7Eval/Dbg2.h | 9

[edk2-devel] [edk2-platforms PATCH 0/4] SolidRun CEx7 Evaluation Board support

2021-08-06 Thread Marcin Wojtas
Hi, This patchset introduces support for the CEx7 Evaluation Board Support, together with the ACPI tables and DT (edk2-non-osi patch). Additional patch toggles the default HW description to ACPI for all platforms based on SoCs. Supported interaces: * SPI flash & memory-mapped variable storage acc

[edk2-devel] [edk2-platforms PATCH 1/3] Marvell: Armada7k8k/OcteonTx: Select ACPI description as a default

2021-08-06 Thread Marcin Wojtas
All currently supported platforms based on the Marvell SoCs offer both DT and ACPI. Reverse the default setting and pick ACPI as the main HW description. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Sili

Re: [edk2-devel] [PATCH 1/1] Platform/RaspberryPi: Add linux quirk support

2021-08-06 Thread Jeremy Linton
Hi, On 8/6/21 10:47 AM, Andrei Warkentin wrote: Hi Jeremy, Reviewed-by: Andrei Warkentin MADT -> MCFG Yah, I have to start thinking about what I'm typing :) Root port registers would be NonCacheable just like the outbound mapping. (Also, with https://mantis.uefi.org/mantis/view.php?id=2

Re: [edk2-devel] [RFC] MemoryProtectionLib for Dynamic Memory Guard Settings

2021-08-06 Thread Andrew Fish via groups.io
> On Aug 1, 2021, at 7:35 PM, Ni, Ray wrote: > > I also vote "using HOB passing policy". This design helps the new > bootloader/payload architecture. > > EDKII library class design was a good design which mimics C++ class to > provide same interface for: > 1. different phases (PEI, DXE, runt

Re: [edk2-devel] [PATCH 4/5] Silicon/Broadcom/Bcm27xx: Tweak PCIe for CM4

2021-08-06 Thread Jeremy Linton
Hi, On 8/6/21 11:04 AM, Andrei Warkentin wrote: Ok, I misunderstood the patch set (I thought the PciHostBridgeLib itself would eventually move to DEN0115). I still think that (in general) would be a good idea - if not for the benefit of the Pi, then for the next upstreamed platform where you

Re: [edk2-devel] [PATCH 3/5] Platform/RaspberryPi: Add PCIe SSDT

2021-08-06 Thread Jeremy Linton
Hi, So I've tested with all the comments below and everything seems to be working fine, so no issues there. I will re-post RSN. Thanks, On 8/6/21 8:42 AM, Ard Biesheuvel via groups.io wrote: On Thu, 5 Aug 2021 at 18:36, Jeremy Linton wrote: Since we plan on toggling between XHCI and PCI

Re: [edk2-devel] [PATCH 3/5] Platform/RaspberryPi: Add PCIe SSDT

2021-08-06 Thread Jeremy Linton
Hi, On 8/6/21 10:37 AM, Andrei Warkentin wrote: Hi Jeremy, MADT -> MCFG (and in other patches as well, where you refer to MADT) I will take 4 letter acronyms that start with an M... Thanks, The other feedback that Ard provided makes sense to me as well. A -- Andrei Warkentin, Arm Enabl

Re: [edk2-devel] [PATCH v7 1/3] BaseTools: Remove COMMON section from the GCC discard list

2021-08-06 Thread Christopher Zurcher
Ard, Is the removal of the COMMON section during the build not redundant to the -fno-common option? Do you expect cases where we will still see the undesired variable collisions? Thanks, Christopher Zurcher -Original Message- From: devel@edk2.groups.io On Behalf Of gaoliming Sent: Wedn

[edk2-devel] [edk2-platforms][PATCH v1 1/1] MinPlatformPkg/AcpiTables: Update structures for ACPI 6.3

2021-08-06 Thread Michael Kubacki
From: Daniel Maddy REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3535 Updates ACPI table structures in MinPlatformPkg for ACPI 6.3. Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Cc: Daniel Maddy Co-authored-by: Michael Kubacki Signed-off-by: Michael Kubacki --- Pla

Re: [edk2-devel] [PATCH 1/4] UefiPayloadPkg: Add Fixed PCDs and use Macro to define the default value.

2021-08-06 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: devel@edk2.groups.io On Behalf Of Zhiguang Liu Sent: Thursday, August 5, 2021 9:31 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice ; You, Benjamin Subject: [edk2-devel] [PATCH 1/4] UefiPayloadPkg: Add Fixed PCDs and use

Re: [edk2-devel] [PATCH 2/4] UefiPayloadPkg: define some PCD as DynamicEX PCD

2021-08-06 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Liu, Zhiguang Sent: Thursday, August 5, 2021 9:31 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice ; You, Benjamin Subject: [PATCH 2/4] UefiPayloadPkg: define some PCD as DynamicEX PCD Define some PCDs as DynamicEX PCD t

Re: [edk2-devel] [PATCH 3/4] UefiPayloadPkg: change the default value of some PCDs.

2021-08-06 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Liu, Zhiguang Sent: Thursday, August 5, 2021 9:31 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice ; You, Benjamin Subject: [PATCH 3/4] UefiPayloadPkg: change the default value of some PCDs. Change the default value of

Re: [edk2-devel] [PATCH 4/4] UefiPayloadPkg: Add a macro to enable or diable the serial driver.

2021-08-06 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Liu, Zhiguang Sent: Thursday, August 5, 2021 9:31 PM To: devel@edk2.groups.io Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice ; You, Benjamin Subject: [PATCH 4/4] UefiPayloadPkg: Add a macro to enable or diable the serial driver. This patch doe

Re: [edk2-devel] [PATCH] UefiPayloadPkg/PayloadEntry: Inherit 4/5-level paging from bootloader

2021-08-06 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Ni, Ray Sent: Friday, August 6, 2021 1:16 AM To: devel@edk2.groups.io Cc: Dong, Guo ; Ma, Maurice ; You, Benjamin Subject: [PATCH] UefiPayloadPkg/PayloadEntry: Inherit 4/5-level paging from bootloader The patch removes the dep on PcdU

[edk2-devel] [RFC PATCH 3/7] SecurityPkg/TPM: Disable PcdGetBool (PcdRandomizePlatformHierarchy)

2021-08-06 Thread Stefan Berger
To avoid this type of build errors, disable 'PcdGetBool (PcdRandomizePlatformHierarchy)'. Building ... /home/stefanb/dev/edk2/SecurityPkg/Library/SecureBootVariableProvisionLib/SecureBootVariableProvisionLib.inf [X64] In file included from /home/stefanb/dev/edk2/Build/OvmfX64/DEBUG_GCC5/X64/Sec

[edk2-devel] [RFC PATCH 6/7] OVMF: Reference new classes in the build system for compilation

2021-08-06 Thread Stefan Berger
Compile the added code now. Signed-off-by: Stefan Berger --- OvmfPkg/AmdSev/AmdSevX64.dsc | 3 +++ .../Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 1 + OvmfPkg/OvmfPkgIa32.dsc| 3 +++ OvmfPkg/OvmfPkgIa32X6

[edk2-devel] [RFC PATCH 7/7] OVMF: Disable the TPM2 platform hierarchy

2021-08-06 Thread Stefan Berger
Use the newly added functions to disable the TPM2 platform hierarchy. Signed-off-by: Stefan Berger --- OvmfPkg/Library/PlatformBootManagerLib/BdsPlatform.c | 6 ++ OvmfPkg/Library/PlatformBootManagerLibBhyve/BdsPlatform.c | 6 ++ OvmfPkg/Library/PlatformBootManagerLibGrub/BdsPlatfor

[edk2-devel] [RFC PATCH 1/7] SecurityPkg/TPM: Import PeiDxeTpmPlatformHierarchyLib.c from edk2-platforms

2021-08-06 Thread Stefan Berger
Signed-off-by: Stefan Berger --- .../Include/Library/TpmPlatformHierarchyLib.h | 27 ++ .../PeiDxeTpmPlatformHierarchyLib.c | 266 ++ .../PeiDxeTpmPlatformHierarchyLib.inf | 45 +++ 3 files changed, 338 insertions(+) create mode 100644 SecurityPkg/Include/Libr

[edk2-devel] [RFC PATCH 0/7] OVMF: Disable the TPM2 platform hierarchy

2021-08-06 Thread Stefan Berger
This series imports code from the edk2-platforms project related to changing the password of the TPM2 platform hierarchy and uses it to disable the TPM2 platform hierarchy in OVMF. It addresses the OVMF aspects of the following bugs: https://bugzilla.tianocore.org/show_bug.cgi?id=3510 https://bugz

[edk2-devel] [RFC PATCH 4/7] SecurityPkg/TPM: Disable a Pcd

2021-08-06 Thread Stefan Berger
Fix the following build issue. /home/stefanb/dev/edk2/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf(46): error 4000: Value of Guid [gMinPlatformPkgTokenSpaceGuid] is not found under [Guids] section in /home/stefanb/dev/edk2/MdePkg/MdePkg.dec

[edk2-devel] [RFC PATCH 5/7] SecurityPkg/TPM: Add a NULL implementation of PeiDxeTpmPlatformHierarchyLib

2021-08-06 Thread Stefan Berger
Signed-off-by: Stefan Berger --- .../PeiDxeTpmPlatformHierarchyLib.c | 23 +++ .../PeiDxeTpmPlatformHierarchyLib.inf | 39 +++ 2 files changed, 62 insertions(+) create mode 100644 SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHi

[edk2-devel] [RFC PATCH 2/7] SecruityPkg/TPM: Disable dependency on MinPlatformPkg

2021-08-06 Thread Stefan Berger
Disable the dependency on the MinPlatformPkg to avoid this type of build errors: /home/stefanb/dev/edk2/SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf(39): error 000E: File/directory not found in workspace /home/stefanb/dev/edk2/MinPlatformPkg/MinPlatf

Re: [edk2-devel] [Patch 0/3] Ext4Pkg: Add Ext4Pkg

2021-08-06 Thread Michael D Kinney
> -Original Message- > From: devel@edk2.groups.io On Behalf Of Pedro Falcato > Sent: Thursday, August 5, 2021 3:50 PM > To: Kinney, Michael D ; devel@edk2.groups.io > Cc: Leif Lindholm ; Bret Barkelew > > Subject: Re: [edk2-devel] [Patch 0/3] Ext4Pkg: Add Ext4Pkg > > Hi Mike, > > Tha

Re: [edk2-devel] [PATCH 4/5] Silicon/Broadcom/Bcm27xx: Tweak PCIe for CM4

2021-08-06 Thread Andrei Warkentin
Ok, I misunderstood the patch set (I thought the PciHostBridgeLib itself would eventually move to DEN0115). I still think that (in general) would be a good idea - if not for the benefit of the Pi, then for the next upstreamed platform where you could avoid implementing custom config access code

Re: [edk2-devel] [PATCH 4/5] Silicon/Broadcom/Bcm27xx: Tweak PCIe for CM4

2021-08-06 Thread Andrei Warkentin
Hi Jeremy, Is any of this still conceptually necessary if we adopt the SMCCC interface within UEFI? Instead of assuming the first downstream bus is bus 1, could you read the secondary BN from the RP? -- Andrei Warkentin, Arm Enablement Architect, Cloud Platform Business Unit, VMware __

Re: [edk2-devel] [PATCH 2/5] Platform/RaspberryPi: break XHCI into its own SSDT

2021-08-06 Thread Andrei Warkentin
Reviewed-by: Andrei Warkentin -- Andrei Warkentin, Arm Enablement Architect, Cloud Platform Business Unit, VMware From: devel@edk2.groups.io on behalf of Jeremy Linton via groups.io Sent: Thursday, August 5, 2021 7:35 PM To: devel@edk2.groups.io Cc: p...@akeo.

Re: [edk2-devel] [PATCH 1/1] Platform/RaspberryPi: Add linux quirk support

2021-08-06 Thread Andrei Warkentin
Hi Jeremy, Reviewed-by: Andrei Warkentin MADT -> MCFG Root port registers would be NonCacheable just like the outbound mapping. (Also, with https://mantis.uefi.org/mantis/view.php?id=2220, _MEM attributes aside from NonCacheable and Prefetchable are effectively deprecated). Note: I really w

Re: [edk2-devel] [PATCH 3/5] Platform/RaspberryPi: Add PCIe SSDT

2021-08-06 Thread Andrei Warkentin
Hi Jeremy, MADT -> MCFG (and in other patches as well, where you refer to MADT) The other feedback that Ard provided makes sense to me as well. A -- Andrei Warkentin, Arm Enablement Architect, Cloud Platform Business Unit, VMware From: devel@edk2.groups.io on b

[edk2-devel] [PATCH v3] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Jason Lou
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3508 Sort the CpuCacheInfo array by CPU package ID, core type, cache level and cache type. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek Cc: Rahul Kumar --- UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c

Re: [edk2-devel] [PATCH v2] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Jason Lou
Sure, I will rename "Fields" and "Data64" in v3 patch. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78809): https://edk2.groups.io/g/devel/message/78809 Mute This Topic: https://groups.io/mt/84704801/21656 Group Owner: devel+ow...@edk2.

Re: [edk2-devel] [PATCH 4/5] Silicon/Broadcom/Bcm27xx: Tweak PCIe for CM4

2021-08-06 Thread Jeremy Linton
Hi, On 8/6/21 8:42 AM, Ard Biesheuvel wrote: On Thu, 5 Aug 2021 at 18:36, Jeremy Linton wrote: The CM4 has an actual pcie slot, so we need to move the linkup check to the configuration probe logic. Further the device restriction logic needs to be relaxed to support downstream PCIe switches.

Re: [edk2-devel] [PATCH v2] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Ni, Ray
With the renaming, Reviewed-by: Ray Ni > -Original Message- > From: Ni, Ray > Sent: Friday, August 6, 2021 9:55 PM > To: Lou, Yun ; devel@edk2.groups.io > Cc: Dong, Eric ; Laszlo Ersek ; > Kumar, Rahul1 > Subject: RE: [PATCH v2] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array > > T

Re: [edk2-devel] [PATCH 4/4] UefiPayloadPkg: Add a macro to enable or diable the serial driver.

2021-08-06 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Liu, Zhiguang > Sent: Friday, August 6, 2021 12:31 PM > To: devel@edk2.groups.io > Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice > ; You, Benjamin > > Subject: [PATCH 4/4] UefiPayloadPkg: Add a macro to enable or diable the > serial driver. >

Re: [edk2-devel] [PATCH 1/4] UefiPayloadPkg: Add Fixed PCDs and use Macro to define the default value.

2021-08-06 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Liu, Zhiguang > Sent: Friday, August 6, 2021 12:31 PM > To: devel@edk2.groups.io > Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice > ; You, Benjamin > > Subject: [PATCH 1/4] UefiPayloadPkg: Add Fixed PCDs and use Macro to define > the default val

Re: [edk2-devel] [PATCH 3/4] UefiPayloadPkg: change the default value of some PCDs.

2021-08-06 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Liu, Zhiguang > Sent: Friday, August 6, 2021 12:31 PM > To: devel@edk2.groups.io > Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice > ; You, Benjamin > > Subject: [PATCH 3/4] UefiPayloadPkg: change the default value of some PCDs. > > Change the de

Re: [edk2-devel] [PATCH 2/4] UefiPayloadPkg: define some PCD as DynamicEX PCD

2021-08-06 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: Liu, Zhiguang > Sent: Friday, August 6, 2021 12:31 PM > To: devel@edk2.groups.io > Cc: Dong, Guo ; Ni, Ray ; Ma, Maurice > ; You, Benjamin > > Subject: [PATCH 2/4] UefiPayloadPkg: define some PCD as DynamicEX PCD > > Define some PCDs as

Re: [edk2-devel] [PATCH v2] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Ni, Ray
The patch looks good to me. 2 minor comments: > + } Fields; 1. Can you rename to "Bits" to align to existing naming convention? > > + UINT64Data64; 2. Can you rename to "Uint64"? -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online

Re: [edk2-devel] [PATCH] ArmPkg: Enable boot discovery policy for ARM package.

2021-08-06 Thread Ard Biesheuvel
On Fri, 6 Aug 2021 at 10:30, Grzegorz Bernacki wrote: > > This commit adds code which check BootDiscoveryPolicy variable and > calls Boot Policy Manager Protocol to connect device specified by > the variable. To enable that mechanism for platform > EfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPol

Re: [edk2-devel] [PATCH 4/5] Silicon/Broadcom/Bcm27xx: Tweak PCIe for CM4

2021-08-06 Thread Ard Biesheuvel
On Thu, 5 Aug 2021 at 18:36, Jeremy Linton wrote: > > The CM4 has an actual pcie slot, so we need to move the linkup > check to the configuration probe logic. Further the device > restriction logic needs to be relaxed to support downstream > PCIe switches. > > Suggested-by: René Treffer > Signed-

Re: [edk2-devel] [PATCH 3/5] Platform/RaspberryPi: Add PCIe SSDT

2021-08-06 Thread Ard Biesheuvel
On Thu, 5 Aug 2021 at 18:36, Jeremy Linton wrote: > > Since we plan on toggling between XHCI and PCI the PCI > root needs to be in its own SSDT. This is all thats needed > of UEFI. The SMC conduit is provided directly to the running > OS. When the OS detects this PCIe port, on a machine without >

Re: [edk2-devel] [PATCH v4 5/5] StandaloneMmPkg: build for 32bit arm machines

2021-08-06 Thread Etienne Carriere
Hello Liming Thanks a lot for helping these patches to land. I'm back on this and will address comments in a PATCH v5. Regards, etienne On Wed, 28 Jul 2021 at 09:43, gaoliming wrote: > > Etienne: > > I check the build log. Two build failure here. Can you update the patch to > fix them? > > 1.

[edk2-devel] [PATCH v2] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Jason Lou
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3508 Sort the CpuCacheInfo array by CPU package ID, core type, cache level and cache type. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek Cc: Rahul Kumar --- UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c

[edk2-devel] [PATCH v1] UefiCpuPkg/CpuCacheInfoLib: Sort CpuCacheInfo array

2021-08-06 Thread Jason Lou
From: Jason REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3508 Sort the CpuCacheInfo array by the core type values from largest to smallest. Signed-off-by: Jason Lou Cc: Ray Ni Cc: Eric Dong Cc: Laszlo Ersek Cc: Rahul Kumar --- UefiCpuPkg/Library/CpuCacheInfoLib/CpuCacheInfoLib.c

[edk2-devel] [PATCH EDK2 v1 1/1] BaseTools: Remove dependence of libuuid

2021-08-06 Thread wenyi,xie via groups.io
The uuid.h only included in file GenFvInternalLib.c, but no interface from libuuid is used in this file. So remove this include and link to libuuid. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: Wenyi Xie --- BaseTools/Source/C/GenFv/GenFvInternalLib.c | 5 - BaseTools/Source/

[edk2-devel] [PATCH EDK2 v1 0/1] BaseTools: Remove dependence of libuuid

2021-08-06 Thread wenyi,xie via groups.io
Main Changes : 1.remove include uuid.h and link to libuuid. And try to build under linux, the building is sucessful. Wenyi Xie (1): BaseTools: Remove dependence of libuuid BaseTools/Source/C/GenFv/GenFvInternalLib.c | 5 - BaseTools/Source/C/DevicePath/GNUmakefile | 4 BaseTools/So

Re: [edk2-devel] [PATCH v3 0/2] Relocate LINUX_EFI_INITRD_MEDIA_GUID to MdePkg

2021-08-06 Thread Ard Biesheuvel
On Thu, 5 Aug 2021 at 00:03, Jeff Brasen wrote: > > Relocate LINUX_EFI_INITRD_MEDIA_GUID from OvmfPkg to MdePkg as it has > use outside of Ovmf applications > > Jeff Brasen (2): > OvmfPkg: Remove Initrd LINUX_EFI_INITRD_MEDIA_GUID > MdePkg: add definition of LINUX_EFI_INITRD_MEDIA_GUID > > Md

Re: [edk2-devel] [PATCH] ArmPkg: Enable boot discovery policy for ARM package.

2021-08-06 Thread Sunny Wang
Looks good. Thanks, Greg. Reviewed-by: Sunny Wang For others' reference, this patch is similar to the one below for Rasberry Pi that just got merged. - https://edk2.groups.io/g/devel/message/78514 After merging this change, we should be able to easily enable "boot discovery policy" on other A

[edk2-devel] [PATCH] ArmPkg: Enable boot discovery policy for ARM package.

2021-08-06 Thread Grzegorz Bernacki
This commit adds code which check BootDiscoveryPolicy variable and calls Boot Policy Manager Protocol to connect device specified by the variable. To enable that mechanism for platform EfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy PCD must be added to DSC file and BootDiscoveryPolicyUiLib sh

Re: [edk2-devel] [PATCH v2 00/13] Add ACPI 6.4 header file

2021-08-06 Thread Sami Mujawar
For this series. Reviewed-by: Sami Mujawar Regards, Sami Mujawar On 05/08/2021, 17:25, "Chris Jones" wrote: Bugzilla: 3516 (https://bugzilla.tianocore.org/show_bug.cgi?id=3516) This patch series introduces a header file for the latest version of the ACPI 6.4 specification, Janu

[edk2-devel] [PATCH] UefiPayloadPkg/PayloadEntry: Inherit 4/5-level paging from bootloader

2021-08-06 Thread Ni, Ray
The patch removes the dep on PcdUse5LevelPageTable. Now the payload inherits the 5-level paging setting from bootloader in IA-32e mode and uses 4-level paging in legacy protected mode. This fix the potential issue when bootloader enables 5-level paging but 64bit payload sets 4-level page table to