[edk2-devel] [PATCH v5 1/1] CryptoPkg: Add new hash algorithm ParallelHash256HashAll in BaseCryptLib.

2022-03-09 Thread Li, Zhihao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3596 Parallel hash function ParallelHash256HashAll, as defined in NIST's Special Publication 800-185, published December 2016. It utilizes multi-process to calculate the digest. Some modifications to pass CI test. Cc: Jiewen Yao Cc: Jian J Wan

Re: [edk2-devel] [PATCH v2 1/4] NetworkPkg/HttpDxe: Decofigure Tcp4 before reconfiguring

2022-03-09 Thread Gerd Hoffmann
On Tue, Mar 08, 2022 at 02:21:01PM +0100, Oliver Steffen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 > > Check if the state of the HTTP instance is HTTP_STATE_TCP_CONNECTED, or > HTTP_STATE_TCP_CLOSED and de-configure the Tcp4 instance before > configuring it again. > > Sign

Re: [edk2-devel] [PATCH v2 3/4] NetworkPkg/HttpDxe: Detect 'Connection: close' header

2022-03-09 Thread Gerd Hoffmann
On Tue, Mar 08, 2022 at 02:21:03PM +0100, Oliver Steffen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 > > Force connection close before the next request if > the server sends the 'Connection: close' header. > > Signed-off-by: Oliver Steffen Reviewed-by: Gerd Hoffmann -=

Re: [edk2-devel] [PATCH v2 4/4] NetworkPkg/HttpDxe: Detect HTTP/1.0 servers

2022-03-09 Thread Gerd Hoffmann
On Tue, Mar 08, 2022 at 02:21:04PM +0100, Oliver Steffen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 > > Force connection close before the next request if > the server identifies as version 1.0. > > Signed-off-by: Oliver Steffen Reviewed-by: Gerd Hoffmann -=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 2/4] NetworkPkg/HttpDxe: Add ConnectionClose flag fo HTTP_PROTOCOL

2022-03-09 Thread Gerd Hoffmann
On Tue, Mar 08, 2022 at 02:21:02PM +0100, Oliver Steffen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 > > Add ConnectionClose flag to HTTP_PROTOCOL. > This boolean is FALSE by default. If set to TRUE, a reconfigure > of the Http instance is forced on the next request. The flag

[edk2-devel] [edk2-platforms][PATCH V1 0/2] Uart segregation patch series

2022-03-09 Thread Rohit Mathew
This patch series aims at routing uart logs via different sets of uart ports, namely secure port for secure partition logs and non-secure port for all other logs. The first patch deals with removing redundant DSDT descriptions. For sgi575, a hardcoded uart base address was being used within the DS

[edk2-devel] [edk2-platforms][PATCH V1 1/2] Platform/Sgi: Remove redundant platform description from DSDT

2022-03-09 Thread Rohit Mathew
Remove redundant platform descriptions (descriptions which are already part of SSDT) from DSDT for SGI-575 platform. Signed-off-by: Rohit Mathew --- Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl | 64 1 file changed, 64 deletions(-) diff --git a/Platform/ARM/SgiPkg/AcpiTab

[edk2-devel] [edk2-platforms][PATCH V1 2/2] Platform/Sgi: Route logs to different sets of consoles

2022-03-09 Thread Rohit Mathew
Route secure (from secure partition) and non-secure console messages to different sets of UART console ports. This aligns with the security state the PE is in when logs are put out. In addition, this allows consolidation of UART related macros across all the variants of Neoverse reference design pl

Re: [edk2-devel] [PATCH 00/14] Introduce PlatformInitLib in OvmfPkg

2022-03-09 Thread Gerd Hoffmann
On Tue, Mar 08, 2022 at 10:36:01AM +0800, Min Xu wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3863 > > There are 3 variants of PlatformPei in OvmfPkg: > - OvmfPkg/PlatformPei > - OvmfPkg/Bhyve/PlatformPei > - OvmfPkg/XenPlatformPei > > A lot of common code can be shared in above

Re: [edk2-devel] [PATCH 5/8] MdePkg: Define CC Measure EventLog ACPI Table

2022-03-09 Thread Sami Mujawar
Hi Min, Thank you for this patch. Please find my response inline marked [SAMI]. Regards, Sami Mujawar On 02/03/2022 12:28 AM, Min Xu wrote: RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3853 TDVF set up an ACPI table (EFI_CC_EVENTLOG_ACPI_TABLE) to pass the event-log information. The

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Use Boot Splash

2022-03-09 Thread Ni, Ray
Reviewed-by: Ray Ni -Original Message- From: Sean Rhodes Sent: Saturday, March 5, 2022 7:00 AM To: devel@edk2.groups.io Cc: Dong, Guo ; Rhodes, Sean ; Ni, Ray ; Ma, Maurice ; You, Benjamin Subject: [PATCH] UefiPayloadPkg: Use Boot Splash Build with BootLogo using default image by de

Re: [edk2-devel] [PATCH] [PATCH v3] MdeModulePkg: Add bRefClkFreq card attribute programming support

2022-03-09 Thread Wu, Hao A
Pushed via: PR - https://github.com/tianocore/edk2/pull/2608 Commit - https://github.com/tianocore/edk2/commit/f06941cc46d002f66875b6f2f711fa3df2775da4 Best Regards, Hao Wu > -Original Message- > From: devel@edk2.groups.io On Behalf Of Wu, Hao > A > Sent: Wednesday, March 9, 2022 9:14 A

Re: [edk2-devel] [PATCH] UefiPayloadPkg: Provide option to use Boot Splash

2022-03-09 Thread Ni, Ray
In the LogoLib, can you skip clearing screen & drawing logo when the protocol doesn’t exist? The LogoDxe driver can be conditionally included by a macro or PCD. From: devel@edk2.groups.io On Behalf Of Sean Rhodes Sent: Wednesday, March 9, 2022 5:41 AM To: Dong, Guo ; devel@edk2.groups.io Subjec

Re: [edk2-devel][PATCH] UefiCpuPkg: Support FFS3 GUID in SearchForBfvBase.asm

2022-03-09 Thread Ni, Ray
3 comments starting with "[Ray]". ;#define EFI_FIRMWARE_FILE_SYSTEM2_GUID \ ; { 0x8c8ce578, 0x8a3d, 0x4f1c, { 0x99, 0x35, 0x89, 0x61, 0x85, 0xc3, 0x2d, 0xd3 } } -%define FFS_GUID_DWORD0 0x8c8ce578 -%define FFS_GUID_DWORD1 0x4f1c8a3d -%define FFS_GUID_DWORD2 0x61893599 -%define FFS_GUID_DWORD3

Re: [edk2-devel] [PATCH 5/8] MdePkg: Define CC Measure EventLog ACPI Table

2022-03-09 Thread Yao, Jiewen
HI Sami I think it is OK to update signature to `CCEL`. That means it will be applicable for other CC, right? Then, I recommend we add CcType there. typedef struct { EFI_ACPI_DESCRIPTION_HEADERHeader; EFI_CC_TYPE CcType; <== new field. UINT16 Rsvd;

[edk2-devel][PATCH] MdeModulePkg: Make RSP 16-byte boundary aligned for PEI 64bit

2022-03-09 Thread Kuo, Ted
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3865 Use SwitchPeiCore instead of calling PeiCore directly when switching PeiCore from temporary memory to permanent memory. For PEI 32bit, SwitchPeiCore always calls PeiCore without any additional step. For PEI 64bit, SwitchPeiCore makes RSP 16-by

Re: [edk2-devel] [PATCH V7 00/37] Enable Intel TDX in OvmfPkg (Config-A)

2022-03-09 Thread Min Xu
Hi, Lingming Besides below 2 comments in MdePkg, what's your opinion about below patches in MdePkg? Patch 01 includes the Intel Trust Domain Extension definitions. Patch 07-10 is about the BaseIoLibIntrinsic Patch 12 add macros CC_GUEST_IS_SEV / CC_GUEST_IS_TDX to check SEV / TDX guest. I am loo

[edk2-devel] [PATCH] EmulatorPkg/RedfishPlatformCredentialLib: Check EFI_SECURE_BOOT_MODE_NAME

2022-03-09 Thread Abner Chang
Check EFI_SECURE_BOOT_MODE_NAME before setting the flags to prohibit acquiring Redfish service credential and using Redfish service. Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Andrew Fish Cc: Ray Ni --- .../RedfishPlatformCredentialLib.c| 32 +-- 1 file changed