Re: [edk2-devel] [PATCH V2 2/3] SecurityPkg: Support TdProtocol in DxeTpm2MeasureBootLib

2021-10-26 Thread Min Xu
On October 19, 2021 9:23 PM, Sami Mujawar wrote: > > // > > // Read the EFI Partition Table Header > > // > > @@ -156,6 +224,15 @@ Tcg2MeasureGptTable ( > > if (PrimaryHeader == NULL) { > > return EFI_OUT_OF_RESOURCES; > > } > > + > > + // > > + //

Re: [edk2-devel] [PATCH 1/1] SecurityPkg/DxeImageVerificationLib: Set Action for failed unsigned image

2021-10-26 Thread Yao, Jiewen
Hi Samer Thanks for the patch. I overlook this one when I check the title, it is quite similar to previous one. The only difference is signed v.s. unsigned. It seems make sense. But I have same feedback as previous one. Would you please: 1) Fila a Bugzilla - https://bugzilla.tianocore.org/ for

Re: [edk2-devel] [RFC PATCH edk2-platforms v1 0/5] Remove ARM nested packages

2021-10-26 Thread Leif Lindholm
Hi Pierre, This patchset is an unambiguous improvement on the current state, and improves the state of Platform/ARM substantially. For the series: Acked-by: Leif Lindholm / Leif On Tue, Oct 26, 2021 at 15:06:28 +0100, Pierre Gondois wrote: > Hi Leif, > > This patch-set resolves: > >

Re: [edk2-devel] [PATCH 1/1] SecurityPkg/DxeImageVerificationLib: Set Action for failed unsigned image

2021-10-26 Thread Samer El-Haj-Mahmoud
Hi Jiewen, Jian, and Min, Can you please review this patch? We have a corresponding UEFI Spec "code first" ECR (https://bugzilla.tianocore.org/show_bug.cgi?id=3561), and need to clarify a couple of cases in the code. Thanks, --Samer > -Original Message- > From: devel@edk2.groups.io

Re: [edk2-devel] [PATCH 1/1] SecurityPkg/DxeImageVerificationLib: Set Action for failed signed image

2021-10-26 Thread Samer El-Haj-Mahmoud
Hi Jiewen, Jian, and Min, Can you please review this patch? We have a corresponding UEFI Spec "code first" ECR (https://bugzilla.tianocore.org/show_bug.cgi?id=3561), and need to clarify a couple of cases in the code. Thanks, --Samer > -Original Message- > From: devel@edk2.groups.io

Re: [edk2-devel] [PATCH v2 5/7] Platform/ARM/N1Sdp: Introduce platform specific asl tables

2021-10-26 Thread Khasim Mohammed
On Tue, Oct 19, 2021 at 01:14 AM, PierreGondois wrote: > > Hi Khasim, > > 2 minor comments: > > On 10/10/21 19:29, Khasim Mohammed via groups.io wrote: > >> This patch creates Dsdt.asl, SsdtPci.asl and SsdtRemotePci.asl files >> to provide the platform specific APCI table entries. >> >>

[edk2-devel] [PATCH v4 7/7] Platform/ARM/N1Sdp: Enable ACPI tables and configuration manager

2021-10-26 Thread Khasim Mohammed
This patch enables ACPI tables and configuration manager for N1SDP Signed-off-by: Sami Mujawar Signed-off-by: Khasim Syed Mohammed --- Platform/ARM/N1Sdp/Include/N1SdpAcpiHeader.h | 35 Platform/ARM/N1Sdp/N1SdpPlatform.dec | 1 +

[edk2-devel] [PATCH v4 6/7] Platform/ARM/N1Sdp: Configuration Manager for N1Sdp

2021-10-26 Thread Khasim Mohammed
The dynamic tables framework utilizes the configuration manager protocol to get the platform specific information required for building the firmware tables. The configuration manager is a platform specific component that collates the platform hardware information and builds an abstract platform

[edk2-devel] [PATCH v4 5/7] Platform/ARM/N1Sdp: Introduce platform specific asl tables

2021-10-26 Thread Khasim Mohammed
This patch creates Dsdt.asl, SsdtPci.asl and SsdtRemotePci.asl files to provide the platform specific APCI table entries. Three PCI root ports are available on N1Sdp, PCI0 is the default root port PCI1 is the CCIX root port and PCI2 is the Remote host root port. The Remote host specific entries

[edk2-devel] [PATCH v4 4/7] Platform/ARM/N1Sdp: Enable N1Sdp platform specific configurations

2021-10-26 Thread Khasim Mohammed
This patch adds PCDs and updates the fdf file for N1Sdp platform specific configurations. Signed-off-by: Deepak Pandey Signed-off-by: Khasim Syed Mohammed --- Platform/ARM/N1Sdp/N1SdpPlatform.dec | 98 Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 37 ++-

[edk2-devel] [PATCH v4 3/7] Platform/ARM/N1Sdp: Introduce platform DXE driver

2021-10-26 Thread Khasim Mohammed
Add an initial platform DXE driver and support for ramdisk devices. Signed-off-by: Deepak Pandey Signed-off-by: Khasim Syed Mohammed --- .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.c | 59 +++ .../N1Sdp/Drivers/PlatformDxe/PlatformDxe.inf | 47 +++ 2 files changed,

[edk2-devel] [PATCH v4 1/7] Silicon/ARM/NeoverseN1Soc: Fix missing function documentation

2021-10-26 Thread Khasim Mohammed
This patch adds missing documentation for few of the functions and fixes few formatting changes. Signed-off-by: Khasim Syed Mohammed --- .../Library/PlatformLib/PlatformLib.c | 46 +-- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git

[edk2-devel] [PATCH v4 2/7] Silicon/ARM/NeoverseN1Soc: Define new PCDs and configure memory map

2021-10-26 Thread Khasim Mohammed
This patch introduces new PCDs required to enable chip to chip interface and corresponding memory map is updated. Signed-off-by: Chandni Cherukuri Signed-off-by: Khasim Syed Mohammed --- .../Library/PlatformLib/PlatformLib.inf | 28 +-- .../Library/PlatformLib/PlatformLibMem.c |

[edk2-devel] [PATCH 3/4] OvmfPkg: Enable physical presence interface for TPM 1.2

2021-10-26 Thread Stefan Berger
Enable the physical presence interface for TPM 1.2. It is required for the TPM 1.2 menu to work. Cc: Jiewen Yao Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Marc-André Lureau Signed-off-by: Stefan Berger --- OvmfPkg/Include/Library/QemuPPI.h |

[edk2-devel] [PATCH 4/4] OvmfPkg: add TPM 1.2 config menu

2021-10-26 Thread Stefan Berger
From: Gerd Hoffmann When building OVMF with TPM 1.2 support enabled do also include the configuration menu. Suggested-by: Stefan Berger Signed-off-by: Gerd Hoffmann --- OvmfPkg/OvmfTpmComponentsDxe.dsc.inc | 1 + OvmfPkg/OvmfTpmDxe.fdf.inc | 1 + 2 files changed, 2 insertions(+)

[edk2-devel] [PATCH 2/4] SecurityPkg: Store physical presence code by submitting to PreOS func

2021-10-26 Thread Stefan Berger
Modify SavePpRequest to look like its TPM 2 equivalent SaveTcg2PpRequest and have it submit the physical presence opcode to the PreOS function so that we can choose our own method for how to store it. Move the existing code into DxeTcgPhysicalPresenceLib.c and adapt the return codes. Cc: Jiewen

[edk2-devel] [PATCH 0/4] Add support for TPM 1.2 Physical Presence Interface and Menu

2021-10-26 Thread Stefan Berger
This series adds support for the full TPM 1.2 Physical Presence Interface (PPI) and activates the TPM 1.2 menu at the end. PPI is a prerequisite for the menu to work. The modifications to the original code are mostly due to the fact that we are using a memory region for PPI in QEMU. I tried to

[edk2-devel] [PATCH 1/4] OvmfPkg: Check for TPM 2 early to leave function early

2021-10-26 Thread Stefan Berger
TPM 1.2 and TPM 2 share QEMU's PPI memory/device and for the TPM 2 code not to initilize over the TPM 1.2 initilization, leave the init function early without touching that memory. Cc: Gerd Hoffmann Cc: Marc-André Lureau Signed-off-by: Stefan Berger --- .../DxeTcg2PhysicalPresenceLib.c

[edk2-devel] [PATCH v3 2/7] Silicon/ARM/NeoverseN1Soc: Define new PCDs and configure memory map

2021-10-26 Thread Khasim Mohammed
This patch introduces new PCDs required to enable chip to chip interface and corresponding memory map is updated. Signed-off-by: Chandni Cherukuri Signed-off-by: Khasim Syed Mohammed --- .../Library/PlatformLib/PlatformLib.inf | 28 +-- .../Library/PlatformLib/PlatformLibMem.c |

[edk2-devel] [PATCH v3 1/7] Silicon/ARM/NeoverseN1Soc: Fix missing function documentation

2021-10-26 Thread Khasim Mohammed
This patch adds missing documentation for few of the functions and fixes few formatting changes. Signed-off-by: Khasim Syed Mohammed --- .../Library/PlatformLib/PlatformLib.c | 46 +-- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git

Re: [edk2-devel] [edk2platforms][PATCH v2 1/1] IntelSiliconPkg: Add IntelDieInfoProtocol

2021-10-26 Thread Maciej Czajkowski
Hi Ray, Sai, Could you take a look on this patch? Pasting below questions and answers from previous patch for a reference. What's the difference between SOC and CPU? SOC die differs from typical CPU die in Intel's chiplet design. What the purpose of "DieIndex"? We want to have an indication

[edk2-devel] [PATCH v3 0/7] N1Sdp ACPI table and configuration manager support

2021-10-26 Thread Khasim Mohammed
I have incorporated all the review comments and suggestions on v2 patches. 1) Was able to successfully run the CI on edk2-platforms enabled by Pierre https://github.com/PierreARM/edk2-platforms/tree/review/N1Sdp_v2 2) Observed three false positive for Dependency Check

[edk2-devel] [PATCH edk2-platforms v4 6/6] Platform/ARM: Juno: Add JunoPkg.ci.yaml for CI support

2021-10-26 Thread PierreGondois
From: Pierre Gondois Add a JunoPkg.ci.yaml file to enable the CI for the JunoPkg. Change-Id: Ib43aa7918b38256dd6fe2a87f8cca2e5975fcb76 Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sean Brogan Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Cc: Sami Mujawar Signed-off-by: Pierre Gondois

[edk2-devel] [PATCH edk2-platforms v4 5/6] .mergify: Add Mergify YML pull request rules configuration file

2021-10-26 Thread PierreGondois
From: Pierre Gondois These files are copies of the files from the tianocore/edk2 repository. Any modification to the tianocore/edk2 files must be reflected on the tianocore/edk2-platforms copies. Initial commid-id in the edk2 repository: ab060128768b Initial message: Add directory for the

[edk2-devel] [PATCH edk2-platforms v4 4/6] .azurepipelines: Add Azure Pipelines YML configuration files

2021-10-26 Thread PierreGondois
From: Pierre Gondois To enable CI support of the tianocore/edk2-platforms repository, add YML configuration files used to run Continuous Integration (CI) checks on Azure Pipelines agents. These files are copies of the files from the tianocore/edk2 repository. Any modification to the

[edk2-devel] [PATCH edk2-platforms v4 3/6] .pytool/Plugin: Add CI plugins

2021-10-26 Thread PierreGondois
From: Pierre Gondois To enable CI support of the tianocore/edk2-platforms repository, add a .pytool directory containing the following files: - .pytool/CISettings.py - .pytool/Readme.md These files are largely inspired from the same files available in the edk2 repository. The .pytool/Plugin/*

[edk2-devel] [PATCH edk2-platforms v4 2/6] pip-requirements.txt: Add python pip requirements file

2021-10-26 Thread PierreGondois
From: Pierre Gondois To enable CI support of the tianocore/edk2-platforms repository, add pip requirements file to install the python modules required to perform EDK II Continuous Integration (CI) builds. This file is a copy of the file from the tianocore/edk2 repository. Any modification to

[edk2-devel] [PATCH edk2-platforms v4 1/6] edk2-platforms: add edk2 repository as a submodule

2021-10-26 Thread PierreGondois
From: Pierre Gondois Add the edk2 repository as a submodule: https://github.com/tianocore/edk2 Platforms in edk2-platforms often relies on modules available in the edk2 repository. In order to enable an upstream CI for edk2-platforms, adding edk2 as a submodule is a convenient way to advertise

[edk2-devel] [PATCH edk2-platforms v4 0/6] Enable edk2-platforms CI for JunoPkg

2021-10-26 Thread PierreGondois
From: Pierre Gondois v4: - Checkout edk2 repository in Ubuntu-PatchCheck.yml to get the PatchCheck.py script. [Pierre] v3: - Replace Readme(s)'s by a reference to the initial Readmed(s) in tianocore repository. [Sean] - Align CI files with the latest version in the edk2 repository.

Re: [edk2-devel] [PATCH] IntelFsp2Pkg/SplitFspBin.py: adopt FSP 2.3 specification.

2021-10-26 Thread Ma, Maurice
Reviewed-by: Maurice Ma > -Original Message- > From: Chiu, Chasel > Sent: Tuesday, October 26, 2021 1:06 > To: devel@edk2.groups.io > Cc: Chiu, Chasel ; Ma, Maurice > ; Desimone, Nathaniel L > ; Zeng, Star > Subject: [PATCH] IntelFsp2Pkg/SplitFspBin.py: adopt FSP 2.3 specification. >

Re: [edk2-devel] [RFC PATCH edk2-platforms v1 0/5] Remove ARM nested packages

2021-10-26 Thread PierreGondois
Hi Leif, This patch-set resolves: https://bugzilla.tianocore.org/show_bug.cgi?id=3259 without removing the Platform/ARM prefix used in the Platform/ARM/ folder (cf https://bugzilla.tianocore.org/show_bug.cgi?id=3264). Does it look sensible ? Regards, Pierre On 10/19/21 12:22, PierreGondois

Re: [edk2-devel] [edk2-non-osi][PATCH v4 0/2] Introduce Silicon/Ampere and AmpereAltraBinPkg package

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 12:56:02 +0700, Vu Nguyen wrote: > Create edk2-non-osi component holder for Ampere Libraries. This patchset > also adds PciePhyLib which provides function to initialize PCIe PHY on > Ampere Altra processor. > > Commits in this patchset can be found at: >

Re: [edk2-devel] [edk2-platforms][PATCH v4 00/31] Add new Ampere Mt. Jade platform

2021-10-26 Thread Leif Lindholm
Hi Nhi, I have finished review of this revision. I did spot a couple of large-ish things (enums and watchdog) that I had not noticed in previous revisions, but the majority of the comments are on the new code. Best Regards, Leif On Fri, Oct 22, 2021 at 13:17:38 +0700, Nhi Pham wrote: > This

Re: [edk2-devel] [edk2-platforms][PATCH v4 31/31] AmpereAltraPkg: Add configuration screen for Watchdog timer

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:09 +0700, Nhi Pham wrote: > From: Vu Nguyen > > There are secure and non-secure watchdog timers supported in the Mt. > Jade system. They are used to monitor the system booting like system > firmware, UEFI, and OS. The system will be reset if the timer expires. > So,

Re: [edk2-devel] [edk2-platforms][PATCH v4 27/31] AmpereAltraPkg: Add configuration screen for Memory

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:05 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide memory screen with below info: > * Memory total capacity > * Memory RAS and Performance Configuration > * Per DIMM Information > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm >

Re: [edk2-devel] [edk2-platforms][PATCH v4 25/31] Ampere: Utilize the PCIe User setting

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:03 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This change allows to configure the PCIe bifurcation mode and update > the ACPI IORT tables based on the PCIe User setting. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D

Re: [edk2-devel] [edk2-platforms][PATCH v4 24/31] AmpereAltraPkg: Add configuration screen for PCIe

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:18:02 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This menu screen allows the user to: > - Enable/Disable each Root Complex > - Enable/Disable SMMU support > - Enable/Disable Strong Ordering > - Set Bifurcation mode for each Root Complex > > Cc: Thang Nguyen > Cc:

Re: [edk2-devel] [edk2-platforms][PATCH v4 19/31] JadePkg: Add ACPI tables to support PCIe

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:57 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Add IORT and MCFG tables to let the OS discover the PCIe resources. This > driver also fixup the DSDT table to adapt with the difference between 1P > and 2P system. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong

Re: [edk2-devel] [edk2-platforms][PATCH v4 16/31] AmpereAltraPkg: Add PciSegmentLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:54 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides functions to handle the PCIe configuration requests. The target > Root Complex is selected based on the segment number parsed from the input > address. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo

Re: [edk2-devel] [edk2-platforms][PATCH v4 15/31] AmpereAltraPkg: Add PciHostBridgeLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:53 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides the number of supported RootBridges and the resource allocated > for each RootBridge. These information are essential to the HostBridge > driver to initialize the PCIe subsystem. > > Cc: Thang Nguyen > Cc:

Re: [edk2-devel] [edk2-platforms][PATCH v4 14/31] AmpereAltraPkg: Add driver to initialize PCIe Root Complex

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:52 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This driver takes responsibility for: > - Parsing platform settings to build the Root Complex info HOB > - Initializing each Root Complex > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm >

Re: [edk2-devel] [edk2-platforms][PATCH v4 13/31] JadePkg: Add BoardPcieLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:51 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide Mt. Jade specific segment number for each Root Complex and > function to handle the PCIe PERST. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard

Re: [edk2-devel] [edk2-platforms][PATCH v4 12/31] AmpereAltraPkg: Add Ac01PcieLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:50 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides essential functions to initialize the PCIe Root Complex on > Ampere Altra processor. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel

Re: [edk2-devel] [edk2-platforms][PATCH v4 11/31] AmpereAltraPkg: Add Root Complex HOB data structures

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:49 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provide common data structures and macros which will be consumed by > various PCIe modules. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard Biesheuvel >

Re: [edk2-devel] [edk2-platforms][PATCH v4 08/31] AmpereAltraPkg: Support UEFI non-volatile variable

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:46 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This change supports storing the UEFI non-volatile varibles on the > Flash through below modules: > * FlashPei driver helps to restore the saved variables from > flash on each boot. > * FlashFvbDxe driver provides

Re: [edk2-devel] [edk2-platforms][PATCH v4 03/31] AmpereAltraPkg: Add FailSafe and WDT support

2021-10-26 Thread Leif Lindholm
Hi Nhi, On Fri, Oct 22, 2021 at 13:17:41 +0700, Nhi Pham wrote: > The FailSafeDxe is a driver for the FailSafe feature which reverts the > system's configuration to known good values if the system fails to boot > up multiple times. Also, this driver implements the Watchdog Timer > Architectural

Re: [edk2-devel] [PATCH V2 12/28] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception

2021-10-26 Thread Min Xu
On October 26, 2021 6:25 PM, Gerd Hoffmann wrote: > Hi, > > > > > So it has to be implemented inside the exception lib. > > > > > > Well, no, you can also change the code to avoid triggering an exception. > > > > > > Adding a new lib for the exception means the lib must be added into > > >

[edk2-devel] [edk2-test] [PATCH v1 1/1] SctPkg: Fix X64 build errors for GCC toolchain

2021-10-26 Thread Abdul Lateef Attar via groups.io
Corrects the function declaration/definition by adding EFIAPI. Removes duplicate functions. Cc: G Edhaya Chandran Cc: Barton Gao Cc: Carolyn Gjertsen Cc: Samer El-Haj-Mahmoud Cc: Eric Jin Cc: Arvin Chen Cc: Supreeth Venkatesh Signed-off-by: Abdul Lateef Attar ---

[edk2-devel] [edk2-test] [PATCH v1 0/1] SctPkg: Fix X64 build errors for GCC toolchain

2021-10-26 Thread Abdul Lateef Attar via groups.io
Resubmitting patch with correct format and email ids. Corrects the function declaration/definition by adding EFIAPI. Removes duplicate functions. Cc: G Edhaya Chandran Cc: Barton Gao Cc: Carolyn Gjertsen Cc: Samer El-Haj-Mahmoud Cc: Eric Jin Cc: Arvin Chen Cc: Supreeth Venkatesh

Re: [edk2-devel] [edk2-platforms][PATCH v4 02/31] AmpereAltraPkg: Add FlashLib library instance

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:40 +0700, Nhi Pham wrote: > From: Vu Nguyen > > Provides functions to access the NVRAM, NVRAM2 and FailSafe region on the > Flash over MM communication. > > Cc: Thang Nguyen > Cc: Chuong Tran > Cc: Phong Vo > Cc: Leif Lindholm > Cc: Michael D Kinney > Cc: Ard

Re: [edk2-devel] [edk2-platforms][PATCH v4 01/31] Ampere: Initial support for Ampere Altra processor and Mt. Jade platform

2021-10-26 Thread Leif Lindholm
On Fri, Oct 22, 2021 at 13:17:39 +0700, Nhi Pham wrote: > From: Vu Nguyen > > This commit adds the support for Ampere’s Altra processor-based Mt. Jade > platform that provides up to 160 processor cores in a dual socket > configuration. The essential modules are wired up enough to boot system >

Re: [edk2-devel] [PATCH V2 12/28] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception

2021-10-26 Thread Gerd Hoffmann
Hi, > > > So it has to be implemented inside the exception lib. > > > > Well, no, you can also change the code to avoid triggering an exception. > > > > Adding a new lib for the exception means the lib must be added into each > > and every *.dsc file (either the tdx impl or the null variant),

Re: [edk2-devel] [PATCH] .azurepipelines: Enable CI for WhiskeylakeOpenBoard in Edk2platforms

2021-10-26 Thread Ni, Ray
Acked-by: Ray Ni Sean, Bret, Mike, Liming, any comments? > -Original Message- > From: Tan, Dun > Sent: Friday, October 8, 2021 5:45 PM > To: devel@edk2.groups.io; Tan, Dun > Cc: Sean Brogan ; Bret Barkelew > ; Kinney, Michael D > ; Liming Gao ; Ni, Ray > > Subject: RE: [edk2-devel]

Re: [edk2-devel] [PATCH V2 12/28] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception

2021-10-26 Thread Min Xu
On October 26, 2021 2:12 PM, Gerd Hoffmann wrote: > On Tue, Oct 26, 2021 at 05:06:21AM +, Xu, Min M wrote: > > On October 12, 2021 6:27 PM, Gerd Hoffmann wrote: > > > > + if (ExceptionType == VE_EXCEPTION) { > > > > +EFI_STATUS Status; > > > > +// > > > > +// #VE needs to be

[edk2-devel] [PATCH] IntelFsp2Pkg/SplitFspBin.py: adopt FSP 2.3 specification.

2021-10-26 Thread Chiu, Chasel
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3705 FSP 2.3 has updated FSP_INFO_HEADER to support ExtendedImageRevision and SplitFspBin.py needs to support it. Also updated script to display integer value basing on length. Cc: Maurice Ma Cc: Nate DeSimone Cc: Star Zeng Signed-off-by:

Re: [edk2-devel] Error when launching SEV-ES guest with OvmfPkg/AmdSev build

2021-10-26 Thread Dov Murik
(for the mailing list archives:) This bug was fixed by commit 36b561623a4b ("OvmfPkg/AmdSev: update the fdf to use new workarea PCD" by Brijesh Singh). The fix was merged to edk2 master branch on 2021-10-19: https://github.com/tianocore/edk2/pull/2080 Thanks Brijesh, Min, Gerd, and Jiewen for

Re: [edk2-devel] [PATCH] MdeModulePkg\UfsBlockIoPei: UFS MMIO address size support both 32/64 bit

2021-10-26 Thread Wu, Hao A
> -Original Message- > From: Chiu, Ian > Sent: Friday, October 22, 2021 5:15 PM > To: devel@edk2.groups.io > Cc: Chiu, Ian ; Chiu, Ian ; Chu, > Maggie ; Ni, Ray ; Wu, Hao A > > Subject: [PATCH] MdeModulePkg\UfsBlockIoPei: UFS MMIO address size > support both 32/64 bit > > From: Ian Chiu

[edk2-devel] MdeModulePkg/DxeCapsuleLibFmp: Use new Variable Lock interface

2021-10-26 Thread Yang Jie
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3699 The code in MdeModulePkg\Library\DxeCapsuleLibFmp call the deprecated interface VariableLockRequestToLockc. So I changed the code in FmpDevicePkg using RegisterBasicVariablePolicy, instead of the deprecated interface. Signed-off-by: Yang

Re: [edk2-devel] [PATCH V2 12/28] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception

2021-10-26 Thread Gerd Hoffmann
On Tue, Oct 26, 2021 at 05:06:21AM +, Xu, Min M wrote: > On October 12, 2021 6:27 PM, Gerd Hoffmann wrote: > > > + if (ExceptionType == VE_EXCEPTION) { > > > +EFI_STATUS Status; > > > +// > > > +// #VE needs to be handled immediately upon enabling exception > > > handling > > >

[edk2-devel] MdeModulePkg/DxeCapsuleLibFmp: Use new Variable Lock interface

2021-10-26 Thread Yang Jie
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3699 The code in MdeModulePkg\Library\DxeCapsuleLibFmp call the deprecated interface VariableLockRequestToLockc. So I changed the code in FmpDevicePkg using RegisterBasicVariablePolicy, instead of the deprecated interface. Signed-off-by: Yang