Re: [edk2-devel] [PATCH v4 1/1] OvmfPkg/VirtHstiDxe: do not load driver in confidential guests

2024-04-23 Thread Yao, Jiewen
Reviewed-by: Jiewen Yao > -Original Message- > From: Gerd Hoffmann > Sent: Wednesday, April 24, 2024 2:00 PM > To: devel@edk2.groups.io > Cc: Oliver Steffen ; Gerd Hoffmann > ; Ard Biesheuvel ; Yao, Jiewen > ; Srikanth Aithal > Subject: [PATCH v4 1/1] OvmfPkg/VirtHstiDxe: do not load dr

[edk2-devel] [PATCH v4 1/1] OvmfPkg/VirtHstiDxe: do not load driver in confidential guests

2024-04-23 Thread Gerd Hoffmann
The VirtHstiDxe does not work in confidential guests. There also isn't anything we can reasonably test, neither flash storage nor SMM mode will be used in that case. So just skip driver load when running in a confidential guest. Cc: Ard Biesheuvel Cc: Jiewen Yao Fixes: 506740982bba ("OvmfPkg/V

Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib

2024-04-23 Thread Wu, Jiaxin
Hi Gerd, AMD version is not work for IA32X64 ovmf. I checked the detailed: CpuSaveState->x64 is always used for OVMF no matter IA32 or X64, while AMD is not, which is decided by the MSR EFER_ADDRESS LMA bit check. There is a potential issue/open in OVMF why need use the X64 CpuSaveState for I

Re: [edk2-devel] [PATCH v1 0/4] Adjust the QemuFwCfgLibMmio and add PEI stage

2024-04-23 Thread Chao Li
Hi Gerd and Ard, Can I submit the V2 this week? I want all OvmfPkg changes to be meged before the 202405 feature freeze. Thanks, Chao On 2024/4/22 17:21, Chao Li wrote: Hi Ard, Could you take a look at this patch set and give you some suggestions? On 2024/4/17 18:01, Chao Li wrote: Hi G

Re: [edk2-devel] [PATCH v1 1/1] BaseTools/Fmmt.py: Python 3.12 support

2024-04-23 Thread Guo, Gua
Thanks @gaoliming for the reviewed-by, I've updated the RB info into PR and add push label. https://github.com/tianocore/edk2/pull/5579 Thanks, Gua -Original Message- From: gaoliming Sent: Tuesday, April 23, 2024 10:42 PM To: devel@edk2.groups.io; Guo, Gua Cc: 'Rebecca Cran' ; Feng, Bo

Re: [edk2-devel] [PATCH v1 1/1] ShellPkg/SmbiosView: Add Type 45 entry to query table

2024-04-23 Thread Gao, Zhichao
Reviewed-by: Zhichao Gao Thanks, Zhichao From: Giri Mudusuru Sent: Tuesday, April 23, 2024 11:55 PM To: devel@edk2.groups.io; ellie.le...@arm.com Cc: Gao, Zhichao ; Giri Mudusuru Subject: Re: [EXTERNAL] [edk2-devel] [PATCH v1 1/1] ShellPkg/SmbiosView: Add Type 45 entry to query table Review

[edk2-devel] [PATCH] OvmfPkg: Don't make APIC MMIO accesses with encryption bit set

2024-04-23 Thread Roth, Michael via groups.io
For the most part, OVMF will clear the encryption bit for MMIO regions, but there is currently one known exception during SEC when the APIC base address is accessed via MMIO with the encryption bit set for SEV-ES/SEV-SNP guests. In the case of SEV-SNP, this requires special handling on the hypervis

Re: [edk2-devel] 回复: [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8 Specification

2024-04-23 Thread Felix Polyudov via groups.io
I think patch 6 can be updated to introduce unified PI specification versioning macros without incrementing the minor revision, by changing PI_SPECIFICATION_MINOR_REVISION back to 70. This will ensure compliance with the versioning schema introduced in PI 1.7B without changing the PI support leve

Re: [edk2-devel] [PATCH v3 08/13] OvmfPkg/PlatformInitLib: Create gEfiSmmSmramMemoryGuid

2024-04-23 Thread Wu, Jiaxin
Hi Gerd, There was the issue in my patch to change the smm access driver: SmmAccessPeiOpen(), I removed below code due to the comment in original code that indicate the DescriptorIndex is not considered at all: ... if (DescriptorIndex >= DescIdxCount) { return EFI_INVALID_PARAMETER; }

Re: [edk2-devel] [PATCH v3 4/5] OvmfPkg/VirtHstiDxe: add code flash check

2024-04-23 Thread Aithal, Srikanth via groups.io
On 4/23/2024 8:01 PM, Gerd Hoffmann wrote: On Tue, Apr 23, 2024 at 07:14:04PM +0530, Aithal, Srikanth wrote: Correcting. On 4/23/2024 7:09 PM, Aithal, Srikanth wrote: Hello, Todays OVMF/edk2 master branch is breaking AMD SEV-ES guest boot with OvmfX64 package, where as sev-es guest boots fin

[edk2-devel] [PATCH v1 1/1] ShellPkg/SmbiosView: Add Type 45 entry to query table

2024-04-23 Thread Ellie Lewis
The type field value is currently undefined for type 45 SMBIOS tables in smbiosview. An entry is added in the query table to display the correct value for type 45 tables. Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4733 Cc: Zhichao Gao Signed-off-by: Ellie Lewis --- ShellPkg/Librar

Re: [edk2-devel] [PATCH v3 4/5] OvmfPkg/VirtHstiDxe: add code flash check

2024-04-23 Thread Aithal, Srikanth via groups.io
Correcting. On 4/23/2024 7:09 PM, Aithal, Srikanth wrote: Hello, Todays OVMF/edk2 master branch is breaking AMD SEV-ES guest boot with OvmfX64 package, where as sev-es guest boots fine with AmdSev package. Git bisect pointed to below commit as bad, going back to previous commit i.e ddc43e7a

[edk2-devel] [PATCH v1 0/1] ShellPkg/SmbiosView: Add Type 45 entry to query table

2024-04-23 Thread Ellie Lewis
Entry added to display info type entry in smbiosview for Type 45 tables as defined in SMBIOS Specification 3.5. Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4733 The changes can be seen at: https://github.com/ellielewisarm/edk2/tree/type45_typefield Cc: Zhichao Gao Ellie Lewis (1):

[edk2-devel] [PATCH] Changes to print PMIC&RCD info in Shell Smbiosview

2024-04-23 Thread Shenbagadevi R via groups.io
Add changes to print PMIC and RCD details of Smbios Type17 in Shell smbiosview command Signed-off-by: Shenbagadevi R --- .../UefiShellDebug1CommandsLib/SmbiosView/PrintInfo.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/Pr

Re: [edk2-devel] [PATCH v1] MdePkg: Add Cxl30.h into IndustryStandard

2024-04-23 Thread Nong, Foster
Hi Liming, What is the patch review status? Can this patch be merged? -Original Message- From: Nong, Foster Sent: Wednesday, December 27, 2023 2:05 PM To: gaoliming ; devel@edk2.groups.io; Kinney, Michael D ; 'Chris Li' Cc: Ni, Ray Subject: RE: [edk2-devel] [PATCH v1] MdePkg: Add Cxl3

[edk2-devel] [PATCH v1 0/1] ShellPkg/SmbiosView: Add Type 45 entry to query table

2024-04-23 Thread Ellie Lewis
Entry added to display info type entry in smbiosview for Type 45 tables as defined in SMBIOS Specification 3.5. Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4733 The changes can be seen at: https://github.com/ellielewisarm/edk2/tree/type45_typefield Cc: Zhichao Gao Ellie Lewis (1):

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 12/14] Platform/ARM: Add CadenceQspiNorFlashDeviceLib for NorFlashDxe

2024-04-23 Thread Sahil Kaushal
From: sahil In N1Sdp platform, the SoC is connected to IOFPGA which has a Cadence Quad SPI (QSPI) controller. This QSPI controller manages the flash chip device via QSPI bus. This patch adds CadenceQspiNorFlashDeviceLib which is used to manage and access the above configuration. Signed-off-by:

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 14/14] Platform/ARM/N1Sdp: Enable FaultTolerantWrite Dxe driver for N1Sdp

2024-04-23 Thread Sahil Kaushal
From: sahil This driver enables Fault Tolerant Write protocol, which provides fault tolerant write capability for block devices. Signed-off-by: sahil --- Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 5 + Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 1 + 2 files changed, 6 insertions(+) diff --git a/P

[edk2-devel] [PATCH v1 1/1] ShellPkg/SmbiosView: Add Type 45 entry to query table

2024-04-23 Thread Ellie Lewis
The type field value is currently undefined for type 45 SMBIOS tables in smbiosview. An entry is added in the query table to display the correct value for type 45 tables. Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4733 Cc: Zhichao Gao Signed-off-by: Ellie Lewis --- ShellPkg/Librar

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 13/14] Platform/ARM/N1Sdp: Persistent storage for N1Sdp

2024-04-23 Thread Sahil Kaushal
From: sahil Enable persistent storage on QSPI flash device. Signed-off-by: sahil --- Platform/ARM/N1Sdp/N1SdpPlatform.dsc | 19 ++- Platform/ARM/N1Sdp/N1SdpPlatform.fdf | 2 ++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Platform/ARM/N1Sdp/N1SdpPlatform.dsc

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 09/14] Platform/ARM: Add optional provision to fetch and print NOR Flash info

2024-04-23 Thread Sahil Kaushal
From: sahil This patch adds an optional functionality in NorFlashDxe to fetch and print NOR Flash information from NorFlashInfoLib using its JEDEC ID. NOR Flash libraries will implement a function "NorFlashReadID" which will fetch and return JEDEC ID. This JEDEC ID can be then used to print NOR

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 07/14] Platform/ARM/NorFlashDxe: Switch from NorFlash.c to NorFlashDeviceLib

2024-04-23 Thread Sahil Kaushal
From: sahil NorFlashDeviceLib can be used to provide implementations of different NOR Flash to NorFlashDxe, i.e. NorFlashDxe links with NorFlashDeviceLib and the platforms can specify their respective NorFlashDeviceLib instances. This patch adds the following major changes: 1. Adds changes in N

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 05/14] Platform/ARM: Create NorFlashDeviceLib library interface for flash specific functions

2024-04-23 Thread Sahil Kaushal
From: sahil NorFlashDeviceLib can be used to provide implementations of different NOR Flash to NorFlashDxe, i.e. NorFlashDxe links with NorFlashDeviceLib and the platforms can specify their respective NorFlashDeviceLib instances. This patch splits NorFlash.h and moves out the function prototypes

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 08/14] Platform/ARM: Add HostRegisterBaseAddress variable

2024-04-23 Thread Sahil Kaushal
From: sahil This variable holds the QSPI controller's base address. It is defined in ARM.dec as well with the default value of 0x0. In case a platform is not using it, they can just ignore this variable and the default value of 0x0 will be propogated and the variable will not be used. Signed-off

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 10/14] Silicon/ARM/NeoverseN1Soc: Enable SCP QSPI flash region

2024-04-23 Thread Sahil Kaushal
From: sahil Enable SCP QSPI flash region access by adding it in the PlatformLibMem. This flash is shared between AP core and System Control Processor. The lower addresses are used to store SCP and AP boot images and higher addresses will be used for variable storage. Signed-off-by: sahil --- S

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 04/14] Platform/ARM/NorFlashDxe: Move flash specific functions to NorFlash.c

2024-04-23 Thread Sahil Kaushal
From: sahil Refactoring done in this patch has two major parts: 1. Moving out NorFlashUnlockAndEraseSingleBlock and NorFlashWriteFullBlock functions from NorFlashDxe.c and NorFlashStandaloneMm.c to NorFlash.c files. 2. At the same time, we are adding NorFlashLock and NorFlashUnlock functions wh

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 11/14] Silicon/ARM/NeoverseN1Soc: NOR flash library for N1Sdp

2024-04-23 Thread Sahil Kaushal
From: sahil Add NOR flash library, this library provides APIs for getting the list of NOR flash devices on the platform. Signed-off-by: sahil --- Silicon/ARM/NeoverseN1Soc/Library/NorFlashLib/NorFlashLib.inf | 34 ++ Silicon/ARM/NeoverseN1Soc/Library/NorFlashLib/NorFlashLib.c | 65 +

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 01/14] Platform/ARM/NorFlashDxe: Move DiskIo related functions out of NorFlash.c

2024-04-23 Thread Sahil Kaushal
From: sahil Moving these functions from NorFlash.c to NorFlashBlockIoDxe.c as they are not dependent on any particular flash implementation. Signed-off-by: sahil --- Platform/ARM/Drivers/NorFlashDxe/NorFlash.c | 129 Platform/ARM/Drivers/NorFlashDxe/NorFlashBloc

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 03/14] Platform/ARM/NorFlashDxe: Add NorFlashCommon.h header file

2024-04-23 Thread Sahil Kaushal
From: sahil This patch splits NorFlash.h and adds NorFlashCommon.h which will have all the flash independent functions and macros. Whereas all the flash specific functions will be in NorFlash.h header file. Signed-off-by: sahil --- Platform/ARM/Drivers/NorFlashDxe/NorFlashDxe.inf |

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 06/14] Platform/ARM: Add P30NorFlashDeviceLib Library

2024-04-23 Thread Sahil Kaushal
From: sahil This patch implements functions to interact with P30 NOR Flash. The code is taken from Platform/ARM/Drivers/NorFlashDxe/NorFlash.c file. Signed-off-by: sahil --- Platform/ARM/Library/P30NorFlashDeviceLib/P30NorFlashDeviceLib.inf | 35 + Platform/ARM/Library/P30NorFlashDeviceLib/P3

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 02/14] Platform/ARM/NorFlashDxe: Move NorFlashVirtualNotifyEvent

2024-04-23 Thread Sahil Kaushal
From: sahil Moving this function from NorFlash.c to NorFlashDxe.c as it is not dependent on any particular flash implementation. Signed-off-by: sahil --- Platform/ARM/Drivers/NorFlashDxe/NorFlash.h| 14 +++ Platform/ARM/Drivers/NorFlashDxe/NorFlash.c| 44 Platf

[edk2-devel] [PATCH RESEND edk2-platforms][PATCH V2 00/14] Split NorFlashDxe driver and add CadenceQspiNorFlashDeviceLib library

2024-04-23 Thread Sahil Kaushal
From: sahil This patch series adds the following changes: 1. Splits the NorFlashDxe driver to introduce a NorFlashDeviceLib that implements the specifics for the respective flash. This will allow us to plug different libraries implementing functionality of various NOR Flash. The flash specific c

[edk2-devel] [PATCH v2 0/1]

2024-04-23 Thread Praveen Sankar N via groups.io
*** BLURB HERE *** praveensankarn (1): Subject: MdePkg:Added new SPCR table stucture members as in Rev4. .../IndustryStandard/SerialPortConsoleRedirectionTable.h| 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.38.1.windows.1 -The information contained in this message ma

[edk2-devel] [PATCH v2 1/1] Subject: [PATCH] MdePkg:Added new SPCR table stucture members as in Rev4.

2024-04-23 Thread Praveen Sankar N via groups.io
In SPCR table, 4 structure members have been added newly as per SPCR table Rev4, which has to be added in MdePkg/SerialPortConsoleRedirectionTable.h file. Signed-off-by: Praveen Sankar N praveensank...@ami.com Cc: michael.d.kin...@intel.com Cc: gaolim...@byosoft.com.cn Cc: zhiguang@intel.com C

[edk2-devel] 回复: [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8 Specification

2024-04-23 Thread gaoliming via groups.io
Except for Patch 6/7, others are good to me. Reviewed-by: Liming Gao I suggest to merge others first. The patch 6/7 to update PI version from 1.7 to 1.8 can be discussed first. Thanks Liming > -邮件原件- > 发件人: Sachin Ganesh > 发送时间: 2024年4月20日 5:46 > 收件人: devel@edk2.groups.io > 抄送: gaolim.

回复: [edk2-devel] [PATCH v1 1/1] BaseTools/Fmmt.py: Python 3.12 support

2024-04-23 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Guo, Gua > 发送时间: 2024年4月22日 9:50 > 收件人: devel@edk2.groups.io > 抄送: gua@intel.com; Rebecca Cran ; Liming Gao > ; Bob Feng ; Yuwei Chen > > 主题: [edk2-devel] [PATCH v1 1/1] BaseTools/Fmmt.py: Python 3.12 support > > From:

回复: [edk2-devel] [PATCH v1 1/1] BaseTools/GetUtcDateTime.py: Python 3.12 support

2024-04-23 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Guo, Gua > 发送时间: 2024年4月21日 20:51 > 收件人: devel@edk2.groups.io > 抄送: gua@intel.com; saloni.kasbe...@intel.com; Rebecca Cran > ; Liming Gao ; Bob Feng > ; Yuwei Chen > 主题: [edk2-devel] [PATCH v1 1/1] BaseTools/GetUtcDateT

[edk2-devel] [PATCH edk2-non-osi 1/1] Maintainers.txt: add maintainers for SbsaQemu platform

2024-04-23 Thread Leif Lindholm
Signed-off-by: Leif Lindholm --- p.s. Mike, could you add write access for Marcin in this repo as well? It was a pure oversight not to ask this at the same time as for edk2-platforms. Maintainers.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Maintainers.txt b/Maintainer

Re: [edk2-devel] MdeModulePkg: Fix MAT SplitRecord() Logic introduce one bug and will cause SUT reset when boot to windows

2024-04-23 Thread Oliver Smith-Denny
On 4/18/2024 11:43 PM, Ni, Ray wrote: So this is just junk unallocated memory that we are reporting as a type it *could* be if an allocation occurs to minimize failures of ExitBootServices. Which is questionable. But in terms of attributes, I would expect we either have this unallocated memory

Re: [edk2-devel] [PATCH v3 4/5] OvmfPkg/VirtHstiDxe: add code flash check

2024-04-23 Thread Gerd Hoffmann
On Tue, Apr 23, 2024 at 07:14:04PM +0530, Aithal, Srikanth wrote: > Correcting. > > On 4/23/2024 7:09 PM, Aithal, Srikanth wrote: > > Hello, > > > > Todays OVMF/edk2 master branch is breaking AMD SEV-ES guest boot with > > OvmfX64 package, where as sev-es guest boots fine with AmdSev package. > >

Re: [edk2-devel] [PATCH v3 08/13] OvmfPkg/PlatformInitLib: Create gEfiSmmSmramMemoryGuid

2024-04-23 Thread Wu, Jiaxin
More info: I quick dump the SMRAM info with original SmmAccess implementation, it's same as I produced in the gEfiSmmSmramMemoryGuid HOB. SmmAccess: SmmAccessPeiEntryPoint: SMRAM map follows, 2 entries SmmAccessPeiEntryPoint: 7F00 1000 7F00

[edk2-devel] 回复: [PATCH v2 1/1] Subject: [PATCH] MdePkg:Added new SPCR table stucture members as in Rev4.

2024-04-23 Thread gaoliming via groups.io
Seemly, this is an incompatible change. What's impact with this change? Thanks Liming > -邮件原件- > 发件人: Praveen Sankar N > 发送时间: 2024年4月22日 19:26 > 收件人: devel@edk2.groups.io > 抄送: michael.d.kin...@intel.com; gaolim...@byosoft.com.cn; > zhiguang@intel.com; Felix Polyudov ; Srinivasan Man

回复: [edk2-devel] [PATCH v1] MdePkg: Add Cxl30.h into IndustryStandard

2024-04-23 Thread gaoliming via groups.io
Seemly, there is no other comments. I create PR https://github.com/tianocore/edk2/pull/5585 to merge it. Thanks Liming > -邮件原件- > 发件人: Nong, Foster > 发送时间: 2024年4月23日 18:07 > 收件人: gaoliming ; devel@edk2.groups.io; > Kinney, Michael D ; 'Chris Li' > > 抄送: Ni, Ray > 主题: RE: [edk2-devel]

Re: [edk2-devel] [PATCH v3 08/13] OvmfPkg/PlatformInitLib: Create gEfiSmmSmramMemoryGuid

2024-04-23 Thread Wu, Jiaxin
> > > +SmramHobDescriptorBlock = > (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)(Hob.Raw); > > > +SmramHobDescriptorBlock->Descriptor[0].PhysicalStart = > PlatformInfoHob->LowMemory - TsegSize; > > +SmramHobDescriptorBlock->Descriptor[0].CpuStart = > PlatformInfo

Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib

2024-04-23 Thread Wu, Jiaxin
As I documented in the comment: This patch provides the SmmRelocationLib library instance for OVMF to handle the logic difference, and it won't change the existing implementation code logic. But as I said, it depends on you. I will drop the OvmfPkg/SmmRelocationLib since confirmed we can use the

Re: [edk2-devel] [PATCH edk2-non-osi 1/1] Qemu/Sbsa: update TF-A binaries for QEMU v9.0+

2024-04-23 Thread Leif Lindholm
On Tue, Apr 23, 2024 at 12:25:55 +0200, Marcin Juszkiewicz wrote: > QEMU v9 uses 1GHz frequency for generic timers as required for Arm v8.6+ > cpu cores. TF-A was hardcoding 62.5MHz value which is used for older > designs. Now it will use value present in CNTFRQ_EL0 register (set by > QEMU). > > E

[edk2-devel] [PATCH edk2-non-osi 1/1] Qemu/Sbsa: update TF-A binaries for QEMU v9.0+

2024-04-23 Thread Marcin Juszkiewicz
QEMU v9 uses 1GHz frequency for generic timers as required for Arm v8.6+ cpu cores. TF-A was hardcoding 62.5MHz value which is used for older designs. Now it will use value present in CNTFRQ_EL0 register (set by QEMU). Enable FEAT_ECV for QEMU v9.0+ to get access to CNTPOFF register. Signed-off-b

Re: [edk2-devel] [PATCH edk2-platforms] SbsaQemu: move code outside of methods in DSDT

2024-04-23 Thread Gerd Hoffmann
Hi, > +Name (RBUF, ResourceTemplate() { > +Memory32Fixed (ReadWrite, > + FixedPcdGet32 (PcdPlatformXhciBase), > + FixedPcdGet32 (PcdPlatformXhciSize)) > +Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive)

Re: [edk2-devel] [PATCH v2 0/4] TCG2 protocol clean up

2024-04-23 Thread G Edhaya Chandran
Hi Heinrich, Yes. A new release candidate shall be published after review and upstream of the patches. Will further send an update. With Warm Regards, Edhay > -Original Message- > From: Heinrich Schuchardt > Sent: Tuesday, April 23, 2024 12:46 AM > To: G Edhaya Chandran > Cc: alex

Re: [edk2-devel] [PATCH v2] OvmfPkg: Harden #VC instruction emulation somewhat (CVE-2024-25742)

2024-04-23 Thread Gerd Hoffmann
On Fri, Apr 19, 2024 at 11:21:46AM -0700, Adam Dunlap wrote: > Ensure that when a #VC exception happens, the instruction at the > instruction pointer matches the instruction that is expected given the > error code. This is to mitigate the ahoi WeSee attack [1] that could > allow hypervisors to brea

Re: [edk2-devel] [PATCH v3 08/13] OvmfPkg/PlatformInitLib: Create gEfiSmmSmramMemoryGuid

2024-04-23 Thread Gerd Hoffmann
Hi, > +Hob.Raw = BuildGuidHob ( > +&gEfiSmmSmramMemoryGuid, > +BufferSize > +); > +SmramHobDescriptorBlock = > (EFI_SMRAM_HOB_DESCRIPTOR_BLOCK *)(Hob.Raw); > +SmramHobDescriptorBlock->Descriptor[0].Physica

Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib

2024-04-23 Thread Gerd Hoffmann
On Tue, Apr 23, 2024 at 07:31:18AM +, Wu, Jiaxin wrote: > Thanks Gerd, I will try the S3 on OVMF. > > And for AmdSmmRelocationLib usage in OVMF, do you prefer: > 1. use the AmdSmmRelocationLib directly in this patch set? Or > 2. still keep the original to create the OvmfPkg/SmmRelocationLib, a

Re: [edk2-devel] [edk2-redfish-client][PATCH] RedfishClientPkg: introduce RedfishBootstrapAccountDxe

2024-04-23 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] > -Original Message- > From: Nickle Wang > Sent: Tuesday, April 23, 2024 3:09 PM > To: Igor Kulchytskyy ; Chang, Abner > ; devel@edk2.groups.io > Cc: Nick Ramirez > Subject: RE: [EXTERNAL] RE: [edk2-redfish-client][PATCH] RedfishClientPkg: > introduce Re

Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib

2024-04-23 Thread Wu, Jiaxin
Thanks Gerd, I will try the S3 on OVMF. And for AmdSmmRelocationLib usage in OVMF, do you prefer: 1. use the AmdSmmRelocationLib directly in this patch set? Or 2. still keep the original to create the OvmfPkg/SmmRelocationLib, and clean the code in the future patch? Both are fine to me, depends

Re: [edk2-devel] [edk2-redfish-client][PATCH] RedfishClientPkg: introduce RedfishBootstrapAccountDxe

2024-04-23 Thread Nickle Wang via groups.io
Hi Igor, Abner, Thanks for your review. Please allow me to answer your questions together. > 1. We suppose acquire the credential before we start to communicate with > Redfish. Will Redfish credential driver create another bootstrap account here > after provisioning? No, according to the Redfis