[edk2-devel] [edk2-platforms] [PATCH V1 4/5] BoardModulePkg: Add BdsSerialPortTerminalLib

2022-06-17 Thread Nate DeSimone
BdsSerialPortTerminalLib add a terminal device to the Serial UART device created by MdeModulePkg/Universal/SerialDxe to the UEFI Console Variables (ConIn, ConOut, ErrOut). This allows BIOS Setup, UEFI Shell, etc. to be used on a headless system via a null modem and terminal emulation software. Cc:

[edk2-devel] [edk2-platforms] [PATCH V1 5/5] KabylakeOpenBoardPkg/GalagoPro3: Enable HDMI DDC Debug Port

2022-06-17 Thread Nate DeSimone
Enables usage of the HDMI DDC I2C Bus SerialPortLib implementation on the GalagoPro3 board. Cc: Chasel Chiu Cc: Sai Chaganty Cc: Isaac Oram Cc: Benjamin Doron Cc: Michael Kubacki Cc: Jeremy Soller Signed-off-by: Nate DeSimone --- .../GalagoPro3/OpenBoardPkg.dsc | 78 +

[edk2-devel] [edk2-platforms] [PATCH V1 2/5] KabylakeOpenBoardPkg: Add HdmiDebugGpioInitLib

2022-06-17 Thread Nate DeSimone
This library initializes any GPIOs nessesary for the HDMI DDC bus to operate. This can be called very early (SEC phase) to enable closed chassis debug through the HDMI DDC I2C bus. Cc: Chasel Chiu Cc: Sai Chaganty Cc: Isaac Oram Cc: Benjamin Doron Cc: Michael Kubacki Cc: Jeremy Soller Signed

[edk2-devel] [edk2-platforms] [PATCH V1 1/5] KabylakeOpenBoardPkg: Add I2cHdmiDebugSerialPortLib

2022-06-17 Thread Nate DeSimone
Add new SerialPortLib implementation that routes log messages over the I2C bus included in the integrated graphics HDMI port. Normally this I2C bus is used to read the EDID data from the monitor. An unintended but useful property of this interface is that is does not require DMA to perform I/O. Thi

[edk2-devel] [edk2-platforms] [PATCH V1 0/5] KabylakeOpenBoardPkg: HDMI DDC I2C Bus Debugging

2022-06-17 Thread Nate DeSimone
Normally the HDMI DDC I2C bus is used to read the EDID data from the monitor. An unintended but useful property of this interface is that is does not require DMA to perform I/O. This means that this interface can be used to perform I/O before DRAM is initialized. HDMI video output is a common feat

[edk2-devel] [edk2-platforms] [PATCH V1 3/5] KabylakeOpenBoardPkg: Add SecBoardInitLib

2022-06-17 Thread Nate DeSimone
Adds a board-specific implementation of SecBoardInitLib. This implementation will invoke the GPIO initialization routine for the HDMI DDC Bus if the HDMI DDC Bus is being used for debug log output. Adds PCDs for enable/disable of using HDMI DDC I2C Bus as a Serial Port. Cc: Chasel Chiu Cc: Sai Ch

Re: [edk2-devel] [PATCH v2 1/1] ArmPlatformPkg: Remove overly verbose DEBUG lines in LcdGraphicsBlt

2022-06-17 Thread Rebecca Cran
It looks like this hasn't been pushed. Could someone commit/push it please? -- Rebecca Cran On 5/16/22 10:26, Sami Mujawar wrote: Hi Rebecca, Thank you for this patch. These changes look good to me. Reviewed-by: Sami Mujawar Regards, Sami Mujawar -=-=-=-=-=-=-=-=-=-=-=- Groups.io Li

[edk2-devel] [PATCH 3/3] OvmfPkg: Initialize NvVarStore with Configuration FV in Td guest

2022-06-17 Thread Min Xu
From: Min M Xu QEMU command option -pflash is not supported in Tdx guest. When Tdx guest is booted, EmuVariableFvbRuntimeDxe driver is loaded and the NvVarStore is initialized with empty content. This patch is to initialize the NvVarStore with the content of Configuration FV (CFV). Cc: Erdem Akt

[edk2-devel] [PATCH 2/3] OvmfPkg: Validate Cfv integrity in Tdx guest

2022-06-17 Thread Min Xu
From: Min M Xu Validate Configurtion FV (CFV) in Tdx guest. Cc: Erdem Aktas Cc: James Bottomley Cc: Jiewen Yao Cc: Gerd Hoffmann Cc: Tom Lendacky Signed-off-by: Min Xu --- OvmfPkg/Sec/SecMain.c | 8 OvmfPkg/Sec/SecMain.inf | 2 ++ 2 files changed, 10 insertions(+) diff --git a

[edk2-devel] [PATCH 1/3] OvmfPkg: Move TdxValidateCfv from PeilessStartupLib to PlatformInitLib

2022-06-17 Thread Min Xu
From: Min M Xu TdxValidateCfv validates the integrity of Configuration FV (CFV). It was implemented in PeilessStartupLib which is included in IntelTdxX64. In OvmfPkgX64 we should validate CFV as well. So it is moved from PeilessStartupLib to PlatformInitLib so that it can be called in both OvmfP

[edk2-devel] [PATCH 0/3] Enable Secure-Boot in Tdx guest

2022-06-17 Thread Min Xu
Secure-Boot related variables include the PK/KEK/DB/DBX and they are stored in NvVarStore (OVMF_VARS.fd). But QEMU command option -pflash is not supported in Tdx guest. So when Tdx guest is booted, EmuVariableFvbRuntimeDxe driver is loaded and the NvVarStore is initialized with empty content. This

[edk2-devel] [PATCH] NetworkPkg/HttpBootDxe: Add Support for HTTP Boot Basic Authentication

2022-06-17 Thread Saloni Kasbekar
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2504 Add support for TLS Client Authentication using Basic Authentication for HTTP Boot Cc: Maciej Rabeda Cc: Wu Jiaxin Cc: Siyuan Fu Signed-off-by: Saloni Kasbekar --- MdePkg/Include/IndustryStandard/Http11.h | 8 +++ MdePkg/Include/Prot

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread M.T.
Thank you Andrew That did it! xp On Fri, Jun 17, 2022 at 2:11 PM Andrew Fish wrote: > > > On Jun 17, 2022, at 9:55 AM, M.T. wrote: > > I think I'm getting somewhere now. > > I set everything up and I started getting a consistent error (see logfile > from my last email) > I had to comment out

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread Andrew Fish via groups.io
> On Jun 17, 2022, at 9:55 AM, M.T. wrote: > > I think I'm getting somewhere now. > > I set everything up and I started getting a consistent error (see logfile > from my last email) > I had to comment out BrDummyMalloc from BrotliDecUefiSupport.h, and now I am > able to build MdeModulePkg. >

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread M.T.
I think I'm getting somewhere now. I set everything up and I started getting a consistent error (see logfile from my last email) I had to comment out BrDummyMalloc from BrotliDecUefiSupport.h, and now I am able to build MdeModulePkg. Now one other error I'm dealing with: error 4000: Instance of l

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread Kilian Kegel
I checkout latest stable tag: edk2-stable202205 I use VS2015 toolchain. It works on my side… From: M.T. Sent: Friday, June 17, 2022 03:58 PM To: Kilian Kegel Cc: devel@edk2.groups.io; Kinney, Michael D

Re: [edk2-devel] [PATCH v2] MdeModulePkg/NonDiscoverablePciDeviceDxe: Allow partial FreeBuffer

2022-06-17 Thread Jeff Brasen via groups.io
Any thoughts on this patch? > -Original Message- > From: Jeff Brasen > Sent: Monday, February 14, 2022 11:46 AM > To: devel@edk2.groups.io > Cc: hao.a...@intel.com; ray...@intel.com; Jeff Brasen > > Subject: [PATCH v2] MdeModulePkg/NonDiscoverablePciDeviceDxe: Allow > partial FreeBuffer

Re: [edk2-devel] [PATCH] .gitignore: Ignore build tools build logs

2022-06-17 Thread Jeff Brasen via groups.io
Anything else needed prior to getting this merged to edk2? > -Original Message- > From: gaoliming > Sent: Thursday, May 19, 2022 7:19 PM > To: devel@edk2.groups.io; bob.c.f...@intel.com; Jeff Brasen > > Cc: 'Chen, Christine' > Subject: 回复: [edk2-devel] [PATCH] .gitignore: Ignore build t

Re: [edk2-devel] [PATCH] MdeModulePkg/ScsiDisk: Change TPL to NOTIFY

2022-06-17 Thread Jeff Brasen via groups.io
Resending this as I replying via edk2.groups.io doesn't seem to copy maintainers. Resuming this patch to see if there are any additional thoughts on this. In response to the query about DXE/BDS services we have some internal connection logic that runs in DXE to connect the devices that are need

Re: [edk2-devel] [edk2-platforms] [PATCH 1/1] Platform/Sgi: Add support to disable isolated cpus

2022-06-17 Thread Thomas Abraham
On 17/06/2022 07:07, Nishant Sharma wrote: Isolated CPUs are those that are not to be used on the platform for various reasons. The isolated CPU list is an array of MPID values of the CPUs that have to be isolated. This list is supplied via the NT_FW_CONFIG dtb. Add support to search for isol

Re: [edk2-devel] [edk2 Patch 1/1] Windows-systems.mediawiki: replaced p2.7 reference with py3.7

2022-06-17 Thread Jayaprakash, N
This is a simple documentation fix. Could some one from the group review and merge these changes? Regards, JP -Original Message- From: Jayaprakash, N Sent: 10 June 2022 09:19 To: devel@edk2.groups.io Cc: Kinney, Michael D ; Gao, Liming ; Jayaprakash, N Subject: [edk2 Patch 1/1] Windo

[edk2-devel] [edk2-libc Patch 1/1] edk2-libc/StdLib : Changes to Std LibC to facilitate 32 bit GCC builds

2022-06-17 Thread Jayaprakash, N
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3779 This comit fixes the Python interpreter build issues with GCC 32 bit compiler tool chain. The changes are needed in StdLibC as given below * Add __divmoddi4 to Gcc.c produced by newer GCC compilers * Add -fno-lto to IA32 GCC builds of LibC.

[edk2-devel] [edk2-libc Patch 0/1] Changes to StdLib to facilitate gcc 32 bit builds

2022-06-17 Thread Jayaprakash, N
This patch contains the changes required for StdLib to facilitate the gcc 32 bit builds. Jayaprakash Nevara (1): edk2-libc/StdLib : Changes to Std LibC to facilitate 32 bit GCC builds StdLib/LibC/CRT/Gcc.c | 7 +++ StdLib/LibC/LibC.inf | 7 +++ 2 files changed, 10 insertions(+), 4 d

[edk2-devel] [PATCH v2] UefiPayloadPkg: Always split page table entry to 4K if it covers stack.

2022-06-17 Thread Zhiguang Liu
We observed page fault in the following situation: 1.PayloadEntry uses 2M entry in page table to cover DXE stack range. 2.In DXE phase, image protection code needs to mark some sub-range in this 2M entry as readonly. So the the 2M page table entry is split to 512 4K entries, and some of the entries