[edk2-devel] 回复: [edk2][PATCH V3] MdePkg : Add IPMI Macro and Structure Defintions to resolve build errors

2021-06-20 Thread gaoliming
Thanks for you update. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: manickavasakam karpagavinayagam > 发送时间: 2021年6月18日 23:38 > 收件人: devel@edk2.groups.io > 抄送: isaac.w.o...@intel.com; nathaniel.l.desim...@intel.com; > fel...@ami.com; harikrish...@ami.com; mani...@ami.com; >

回复: [edk2-devel] [PATCH v6 0/2] CryptoPkg/OpensslLib: Add native instruction support for X64

2021-06-20 Thread gaoliming
Christopher: Nasm should support GCC tool chain. Do you meet with the problem on nasm version assembly code? So, you have to add GAS assembly code. This topic may be discussed last year. Can you give some detail for it? Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表

Re: [edk2-devel] [PATCH v2 1/1] ArmPkg: Move cache defs used in Universal/Smbios into ArmCache.h

2021-06-20 Thread wenyi,xie via groups.io
OK,I will handle this later. Thanks Wenyi On 2021/6/18 23:54, Leif Lindholm wrote: > Agh. *Actually* cc Wenyi. > > On Fri, Jun 18, 2021 at 16:53:38 +0100, Leif Lindholm wrote: >> +Wenyi >> >> On Mon, Jun 14, 2021 at 12:57:49 -0600, Rebecca Cran wrote: >>> Many of the cache definitions in

回复: [edk2-devel] [PATCH v1 1/2] MdePkg: MmConfiguration: Moved EFI_MM_RESERVED_MMRAM_REGION to PiMmCis.h

2021-06-20 Thread gaoliming
Kun: There is one header file edk2\MdePkg\Include\PiMultiPhase.h for this purpose. Can you place the common definition to it? Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Kun Qin > 发送时间: 2021年6月18日 17:48 > 收件人: devel@edk2.groups.io > 抄送: Michael D Kinney ; Liming Gao > ;

回复: [edk2-devel] [PATCH] MdePkg/Include: Smbios Specification 3.4.0 changes

2021-06-20 Thread gaoliming
Gopi: Can you highlight this change in the commit message? Do you find any platform is required to be updated for this update? Thanks Liming 发件人: Thotala, Gopi 发送时间: 2021年6月17日 11:53 收件人: gaoliming ; devel@edk2.groups.io; 'Rebecca Cran' 主题: RE: [edk2-devel] [PATCH] MdePkg/Include:

[edk2-devel] 回复: [PATCH v3] BaseTools GenFw: Add support for RISCV GOT/PLT relocations

2021-06-20 Thread gaoliming
Reviewed-by: Liming Gao > -邮件原件- > 发件人: Sunil V L > 发送时间: 2021年6月17日 13:57 > 收件人: devel@edk2.groups.io > 抄送: Sunil V L ; Abner Chang > ; Daniel Schaefer ; Bob > Feng ; Liming Gao ; > Yuwei Chen ; Heinrich Schuchardt > > 主题: [PATCH v3] BaseTools GenFw: Add support for RISCV GOT/PLT >

[edk2-devel] [PATCH v6 1/2] CryptoPkg/OpensslLib: Add native instruction support for X64

2021-06-20 Thread Christopher Zurcher
From: Christopher Zurcher BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2507 Adding OpensslLibX64.inf and modifying process_files.pl to process this file and generate the necessary assembly files. Adding OpensslLibX64Gcc.inf to allow building with GCC toolchain. ApiHooks.c contains a stub

[edk2-devel] [PATCH] NetworkPkg: Addressed static code analyzer issues

2021-06-20 Thread INDIA\sivaramann
Issue on the PxeBcDhcp4CallBack() functions of UEFIPXEBC Driver. In this function allowed events are Dhcp4RcvdOffer, Dhcp4SelectOffer, Dhcp4SendDiscover, Dhcp4RcvdAck. If any other event comes as input it will exit in beginning itself. Later below switch case handling the default case which is

[edk2-devel] [PATCH v6 0/2] CryptoPkg/OpensslLib: Add native instruction support for X64

2021-06-20 Thread Christopher Zurcher
From: Christopher Zurcher V6 Changes: Add GCC-compatible version of these modifications. Supporting GCC build of native OpenSSL .S files requires removal of *(COMMON) from the /DISCARD/ section of the GCC linker script. The VS/CLANG portion of the patch is unchanged from the

[edk2-devel] [PATCH 12/12] UefiPayloadPkg: Add PcdResetOnMemoryTypeInformationChange in UefiPayloadPkg

2021-06-20 Thread Zhiguang Liu
This PCD will be consumed by Universal Payload Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/UefiPayloadPkg.dsc | 1 + 1 file changed, 1 insertion(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayloadPkg.dsc index

[edk2-devel] [PATCH 11/12] UefiPayloadPkg: Add PcdInstallAcpiSdtProtocol feature in UefiPayloadPkg

2021-06-20 Thread Zhiguang Liu
To install ACPI SDT protocol, define PcdInstallAcpiSdtProtocol as TRUE. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/UefiPayloadPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc

[edk2-devel] [PATCH 10/12] UefiPayloadPkg: Add macro to disable some drivers

2021-06-20 Thread Zhiguang Liu
Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/UefiPayloadPkg.dsc | 11 ++- UefiPayloadPkg/UefiPayloadPkg.fdf | 7 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc

[edk2-devel] [PATCH 09/12] UefiPayloadPkg: Remove assert when reserve MMIO/IO resource for devices

2021-06-20 Thread Zhiguang Liu
Some boot loader may already reserve MMIO/IO resource for IOAPIC and HPET, so remove the assert when reserve MMIO/IO resource for IOAPIC and HPET Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/BlSupportDxe/BlSupportDxe.c | 20 +++-

[edk2-devel] [PATCH 06/12] UefiPayloadPkg: Get and enter DxeCore for Universal Payload

2021-06-20 Thread Zhiguang Liu
>From gUniversalPayloadExtraDataGuid Guid Hob, get the Dxe FV information, and get the Dxe Core from the FV. Also, make sure if there are muliple FV hob, the FV hob pointing to this FV will be the first in the hob list. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu

[edk2-devel] [PATCH 07/12] UefiPayloadPkg: Fix up UPL Pcd database

2021-06-20 Thread Zhiguang Liu
Edk2 bootloader will pass the pei pcd database, and UPL also contain a PCD database. Dxe PCD driver has the assumption that the two PCD database can be catenated and the local token number should be successive。 This patch will manually fix up the UPL PCD database to meet that assumption. Cc:

[edk2-devel] [PATCH 05/12] UefiPayloadPkg: Create separate Payload Entry for UniversalPayload

2021-06-20 Thread Zhiguang Liu
This patch create the UniversalPayload Entry based on the UefiPayload Entry. It implements the logic to find a proper memory range to create the new Hob and migrate the Hobs from Bootloader. To make the change history clear, the logic to get the DxeCore will be in the next patch. Cc: Maurice Ma

[edk2-devel] [PATCH 04/12] UefiPayloadPkg: Update the function definition of HobConstructor

2021-06-20 Thread Zhiguang Liu
Update the function defination of HobConstructor to align the Phit Hob structure. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/Library/PayloadEntryHobLib/Hob.c| 26 +-

[edk2-devel] [PATCH 08/12] UefiPayloadPkg: Include UniversalPayLoad modules in UefiPayloadPkg.dsc

2021-06-20 Thread Zhiguang Liu
Add a new macro "UNIVERSAL_PAYLOAD" to build Universal Payload. Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu --- UefiPayloadPkg/UefiPayloadPkg.dsc | 22 ++ UefiPayloadPkg/UefiPayloadPkg.fdf | 3 ++- 2 files changed, 20 insertions(+), 5

[edk2-devel] [PATCH 02/12] MdeModulePkg: Add new structure for the Universal Payload Serial Port Info

2021-06-20 Thread Zhiguang Liu
Add Universal Payload Serial Port Info definition header file according to Universal Payload's documentation as below: https://universalpayload.github.io/documentation/ Cc: Jian J Wang Cc: Hao A Wu Cc: Ray Ni Signed-off-by: Zhiguang Liu ---

[edk2-devel] [PATCH 00/12] Enable Universal Payload in UefiPayloadPkg

2021-06-20 Thread Zhiguang Liu
This whole patch set will enable some basic feature of Universal Payload in UefiPayloadPkg. Zhiguang Liu (12): UefiPayloadPkg: Add HobLib for UniversalPayload MdeModulePkg: Add new structure for the Universal Payload Serial Port Info UefiPayloadPkg: Add a separate PlatformHookLib for

[edk2-devel] [PATCH 03/12] UefiPayloadPkg: Add a separate PlatformHookLib for Universal Payload

2021-06-20 Thread Zhiguang Liu
Add a new separate PlatformHookLib for Universal Payload to consume Guid Hob gUniversalPayloadSerialPortInfoGuid to get serial port information Cc: Maurice Ma Cc: Guo Dong Cc: Benjamin You Signed-off-by: Zhiguang Liu ---

[edk2-devel] [PATCH 01/12] UefiPayloadPkg: Add HobLib for UniversalPayload

2021-06-20 Thread Zhiguang Liu
For payload entry, use PayloadEntryHobLib as HobLib and payload entry should initialize hob base. For DxeCore, use new added DxeHobLib as HobLib, and DxeCore will initialize hob base. For Dxe Driver, use new added DxeHobLib as HobLib, and use DxeHobListLib to initialize hob base. Cc: Maurice Ma

Re: [edk2-devel] OvmfPkgIa32X64.dsc is broken: OvmfPkg/Sec/SecMain.inf NOT found in DSC file; Is it really a binary module?

2021-06-20 Thread Lendacky, Thomas via groups.io
On 6/16/21 11:15 PM, Rebecca Cran via groups.io wrote: > Is OvmfPkg/OvmfPkgIa32X64.dsc still supposed to work after the recent > changes in OvmfPkg? I realized it's currently broken. > > > bcran@photon:~/src/uefi/edk2> build -p OvmfPkg/OvmfPkgIa32X64.dsc -a X64 You need to also have "-a IA32"