Re: [edk2-devel] [PATCH v1 07/26] UefiCpuPkg: Add CpuMmuLib.h to UefiCpuPkg

2024-03-14 Thread Chao Li
Hi Gerd, Thanks, Chao On 2024/3/14 19:28, Gerd Hoffmann wrote: On Mon, Mar 11, 2024 at 05:38:06PM +0800, Chao Li wrote: Add a new header file CpuMmuLib.h, whitch is referenced from ArmPkg/Include/Library/ArmMmuLib.h. Currently, only support for LoongArch64 is added, and more architectures can

Re: [edk2-devel] [PATCH v1 05/26] UefiCpuPkg: Add LoongArch64 CPU Timer instance

2024-03-14 Thread Chao Li
Hi Gerd, This email was not send by EDK2 community, but other emails which you send were by EDK2 community, I don't know what happened. Regardless, I'll respond your question about this changes via this email. Here is my comments: Thanks, Chao On 2024/3/14 18:59, Gerd Hoffmann wrote: Hi

Re: [edk2-devel] [PATCH v1 06/26] UefiCpuPkg: Add CPU exception library for LoongArch

2024-03-14 Thread Chao Li
Hi Gerd, Thanks, Chao On 2024/3/14 19:22, Gerd Hoffmann wrote: Hi, +[Sources.LoongArch64] + LoongArch/DxeExceptionLib.c + LoongArch/ExceptionCommon.h + LoongArch/ExceptionCommon.c + LoongArch/LoongArch64/ArchExceptionHandler.c + LoongArch/LoongArch64/ExceptionHandlerAsm.S | GCC Hmm,

Re: [edk2-devel] [PATCH v1 03/26] UefiCpuPkg/MpInitLib: Reorder the INF files alphabetically

2024-03-14 Thread Chao Li
Hi Gerd, Thanks, Chao On 2024/3/14 18:52, Gerd Hoffmann wrote: Hi, [LibraryClasses] BaseLib + CcExitLib + CpuLib + DebugAgentLib + HobLib LocalApicLib MemoryAllocationLib - HobLib + MicrocodeLib MtrrLib - CpuLib - UefiBootServicesTableLib - DebugAgentLib - Synch

Re: [edk2-devel][PATCH v1 1/3] MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for CodeSize

2024-03-14 Thread Marvin Häuser
> On 14. Mar 2024, at 15:45, Oliver Smith-Denny > wrote: > > This does not appear to be the case with MSVC built binaries. I am > seeing that VirtualSize is the size of the data-initialized part of the > section. What? :( So you are saying modern MSVC generates PEs that either have non-contig

[edk2-devel] [PATCH v4 3/4] UefiCpuPkg: RISC-V: MMU: Support Svpbmt extension

2024-03-14 Thread Tuan Phan
The GCD EFI_MEMORY_UC and EFI_MEMORY_WC memory attributes will be supported when Svpbmt extension available. Cc: Gerd Hoffmann Cc: Laszlo Ersek Cc: Rahul Kumar Cc: Ray Ni Signed-off-by: Tuan Phan --- .../Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | 106 ++ .../BaseRiscVMmuLib/

[edk2-devel] [PATCH v4 1/4] MdePkg.dec: RISC-V: Define override bit for Svpbmt extension

2024-03-14 Thread Tuan Phan
Define the BIT 2 as the override bit for Svpbmt extension. This will be used by RISC-V MMU library to support EFI_MEMORY_UC and EFI_MEMORY_WC. Cc: Liming Gao Cc: Michael D Kinney Cc: Zhiguang Liu Reviewed-by: Laszlo Ersek Signed-off-by: Tuan Phan --- MdePkg/MdePkg.dec | 2 ++ 1 file changed,

[edk2-devel] [PATCH v4 2/4] UefiCpuPkg: RISC-V: MMU: Explictly use UINT64 instead of UINTN

2024-03-14 Thread Tuan Phan
While UINTN defined for RISC-V 64 bits is UINT64, explictly using UINT64 for those variables that clearly are UINT64. Cc: Gerd Hoffmann Cc: Laszlo Ersek Cc: Rahul Kumar Cc: Ray Ni Signed-off-by: Tuan Phan --- .../Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | 158 +- 1 file chan

[edk2-devel] [PATCH v4 4/4] OvmfPkg/RiscVVirt: Disable Svpbmt extension

2024-03-14 Thread Tuan Phan
Disable Svpbmt extension as QEMU not enables it in default config. Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Jiewen Yao Cc: Sunil V L Reviewed-by: Laszlo Ersek Signed-off-by: Tuan Phan --- OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 del

[edk2-devel] [PATCH v4 0/4] RISC-V: Support Svpbmt extension

2024-03-14 Thread Tuan Phan
This series adds support for RISC-V Svpbmt extension. The GCD EFI_MEMORY_UC and EFI_MEMORY_WC attributes will be mapped to IO and NC mode defined in PBMT field. v4: - Changed UINTN to UINT64. - Fixed format error. - Addressed Andrei's comment. v3: - Addressed Laszlo's comments. v2: - Ge

Re: [edk2-devel][PATCH v3 0/3] Fix Runtime Granularity Issues

2024-03-14 Thread Ard Biesheuvel
On Thu, 14 Mar 2024 at 15:52, gaoliming via groups.io wrote: > > For this patch set, I have no comments. Reviewed-by: Liming Gao > > Merged as #5471 > > -邮件原件- > > 发件人: Oliver Smith-Denny > > 发送时间: 2024年3月10日 3:06 > > 收件人: devel@edk2.groups.io > > 抄送: Leif Lindholm ; Ard Biesheuvel

Re: 回复: [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency

2024-03-14 Thread Ard Biesheuvel
On Thu, 14 Mar 2024 at 15:46, Oliver Smith-Denny wrote: > > Thanks for the review! > I'll queue this up, along with the other series Liming just acked. > > On 3/14/2024 7:43 AM, gaoliming wrote: > > Sorry for the late response. I think this is a good clean up. Reviewed-by: > > Liming Gao > > >

Re: [edk2-devel] [PATCH edk2-platforms v6 6/7] Platform/SbsaQemu: get the information of memory via SMC calls

2024-03-14 Thread Ard Biesheuvel
On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz wrote: > > From: Xiong Yining > > Provide functions to check for memory information: > > - amount of memory nodes > - memory address > - NUMA node id for memory > > Values are read from TF-A using platform specific SMC calls. > > Signed-off-by: Xion

Re: [edk2-devel] [PATCH edk2-platforms v6 4/7] Platform/SbsaQemu: move FdtHandlerLib to SbsaQemuHardwareInfoLib

2024-03-14 Thread Ard Biesheuvel
On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz wrote: > > There is no need for EDK2 to know that there is DeviceTree around. > All hardware information is read using functions from > SbsaQemuHardwareInfoLib library. > > Library fallbacks to parsing DT if needed. > I'd prefer to have only a singl

Re: [edk2-devel] [PATCH edk2-platforms v6 3/7] Platform/SbsaQemu: use PcdCoreCount directly

2024-03-14 Thread Ard Biesheuvel
On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz wrote: > > During platform initialization we read amount of cpu cores and set > PcdCoreCount so there is no need to call FdtHandler. > How can you be sure that that code executes first? > Signed-off-by: Marcin Juszkiewicz > --- > Platform/Qemu/Sb

Re: [edk2-devel] [PATCH edk2-platforms v6 1/7] Platform/SbsaQemu: add SbsaQemuHardwareInfoLib

2024-03-14 Thread Ard Biesheuvel
On Thu, 14 Mar 2024 at 16:09, Ard Biesheuvel wrote: > > On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz > wrote: > > > > This library provides functions to check for hardware information. > > For now it covers CPU ones: > > > > - amount of cpu cores > > - MPIDR value for cpu core > > - NUMA node

Re: [edk2-devel] [PATCH edk2-platforms v6 2/7] Platform/SbsaQemu: read amount of cpus during init

2024-03-14 Thread Ard Biesheuvel
On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz wrote: > > We read it once and store in Pcd for future use. > > Signed-off-by: Marcin Juszkiewicz > --- > .../SbsaQemu/Drivers/SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.inf | 4 +++- > .../SbsaQemu/Drivers/SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c

Re: [edk2-devel] [PATCH edk2-platforms v6 1/7] Platform/SbsaQemu: add SbsaQemuHardwareInfoLib

2024-03-14 Thread Ard Biesheuvel
On Wed, 6 Mar 2024 at 12:42, Marcin Juszkiewicz wrote: > > This library provides functions to check for hardware information. > For now it covers CPU ones: > > - amount of cpu cores > - MPIDR value for cpu core > - NUMA node id for cpu core > > Values are read from TF-A using platform specific SMC

[edk2-devel] [edk2-redfish-client][PATCH 1/2] RedfishClientPkg/Features: support Redfish Secure Boot

2024-03-14 Thread Nickle Wang via groups.io
Introduce SecureBoot driver to support /redfish/v1/Systems/SYS/SecureBoot resource. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez --- .../RedfishClientComponents.dsc.inc | 2 + RedfishClientPkg/RedfishClientLibs.dsc.inc| 4 + .../SecureBoot

[edk2-devel] [edk2-redfish-client][PATCH 2/2] RedfishClientPkg/Features: release resources

2024-03-14 Thread Nickle Wang via groups.io
-Release Etag and PendingSettingUri resources. -Update function header for GetHttpResponseEtag() and GetHttpResponseLocation(). Caller has to release returned memory buffer from these two functions. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez --- .../Featu

回复: [edk2-devel][PATCH v3 0/3] Fix Runtime Granularity Issues

2024-03-14 Thread gaoliming via groups.io
For this patch set, I have no comments. Reviewed-by: Liming Gao > -邮件原件- > 发件人: Oliver Smith-Denny > 发送时间: 2024年3月10日 3:06 > 收件人: devel@edk2.groups.io > 抄送: Leif Lindholm ; Ard Biesheuvel > ; Sami Mujawar ; > Liming Gao > 主题: [edk2-devel][PATCH v3 0/3] Fix Runtime Granularity Issues >

[edk2-devel] [PATCH v2 2/2] ArmPkg,MdePkg: Move ArmPkg/Chipset/ArmV7[|Mmu].h to MdePkg

2024-03-14 Thread PierreGondois
Following the discussion at [1] and as the ArmLib relies on them, move ArmPkg/Chipset/ArmV7[|Mmu].h files to the MdePkg. Update the path to correctly include the moved files. [1] https://edk2.groups.io/g/devel/message/111566 Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Cc: Michael D

[edk2-devel] [PATCH v2 1/2] ArmPkg,MdePkg: Move ArmPkg/Chipset/AArch64[|Mmu].h to MdePkg

2024-03-14 Thread PierreGondois
Following the discussion at [1] and as the ArmLib relies on them, move ArmPkg/Chipset/AArch64[|Mmu].h files to the MdePkg. Update the path to correctly include the moved files. [1] https://edk2.groups.io/g/devel/message/111566 Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sami Mujawar Cc: Gerd Hof

[edk2-devel] [PATCH v2 0/2] ArmPkg/MdePkg: Move Chipset/* files to MdePkg

2024-03-14 Thread PierreGondois
v2: - Move files to MdePkg/Include/Register/ instead of MdePkg/Include/ This patch relies on [1]. Following the RFC v1: ArmPkg,MdePkg: move ArmLib.h to MdePkg [1], move the Chipset/* files to the MdePkg as the Armlib.h relies on them. These patches span over multiple packages as these Chipset/*

回复: [edk2-devel] [PATCH v1 1/1] BaseTools: InfBuildData: Fix Private value retrieval

2024-03-14 Thread gaoliming via groups.io
This change is good to me. Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Joey Vagedes > via groups.io > 发送时间: 2024年3月13日 23:15 > 收件人: devel@edk2.groups.io > 抄送: Rebecca Cran ; Liming Gao > ; Bob Feng ; Yuwei Chen > > 主题: [edk2-devel] [PATCH v1 1/1] BaseTools: InfBuildD

Re: [edk2-devel][PATCH v1 1/3] MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for CodeSize

2024-03-14 Thread Oliver Smith-Denny
Hi Marvin, Thanks for looking at this. Since sending out the v1, I have done a lot more digging into our PE loader, others, the spec, and differences between MSVC and our ElfConvert tool. I agree that my understanding was flawed in my original comments. On 3/14/2024 2:57 AM, Marvin Häuser wrote:

回复: [edk2-devel][PATCH v2 1/1] MdeModulePkg: Remove ArmPkg Dependency

2024-03-14 Thread gaoliming via groups.io
Sorry for the late response. I think this is a good clean up. Reviewed-by: Liming Gao > -邮件原件- > 发件人: Oliver Smith-Denny > 发送时间: 2024年2月15日 7:20 > 收件人: devel@edk2.groups.io > 抄送: Leif Lindholm ; Ard Biesheuvel > ; Sami Mujawar ; > Liming Gao ; Sean Brogan > ; Ard Biesheuvel > 主题: [edk2-

回复: [edk2-devel] [PATCH V1 1/3] MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK

2024-03-14 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 sunceping > 发送时间: 2024年2月27日 5:19 > 收件人: devel@edk2.groups.io > 抄送: Ceping Sun ; Liming Gao > ; Michael D Kinney > ; Erdem Aktas ; > James Bottomley ; Jiewen Yao ; > Min Xu ; Tom Lendacky > ; Michael Roth ; > Isaku Yamahata

Re: [edk2-devel] [PATCH edk2-non-osi 1/1] Qemu/Sbsa: update TF-A binaries to get needed SMC calls

2024-03-14 Thread Marcin Juszkiewicz
W dniu 14.03.2024 o 15:17, Marcin Juszkiewicz via groups.io pisze: We want to stop parsing DeviceTree (in EDK2) to gather hardware information. Instead we ask TF-A for those details using SMC calls. On real hardware platform it could be asking on-board Embedded Controller. Hardware information

[edk2-devel] [PATCH edk2-non-osi 1/1] Qemu/Sbsa: update TF-A binaries to get needed SMC calls

2024-03-14 Thread Marcin Juszkiewicz
We want to stop parsing DeviceTree (in EDK2) to gather hardware information. Instead we ask TF-A for those details using SMC calls. On real hardware platform it could be asking on-board Embedded Controller. Hardware information (CPU, Memory) is now in SbsaQemuHardwareInfoLib together with new cod

[edk2-devel] [PATCH] MdeModulePkg/XhciDxe: Increase 1ms extra delay for xHCI issue HCRST

2024-03-14 Thread Chiu, Ian
From: Ian Chiu https://bugzilla.tianocore.org/show_bug.cgi?id=4727 More and more XHCI host controllers require to have extra 1ms delay before accessing any MMIO register during reset. Since PHY transition from P3 to P0 can take around 1.3ms and the xHCI reset can take around 1.5ms. Hence, need

Re: [edk2-devel] [PATCH 1/2] OvmfPkg: Add VirtHstiDxe driver

2024-03-14 Thread Yao, Jiewen
I agree that not all bits make sense to virtual machine. However, I do see some bits should be there if we really want to add HSTI to report security propery. Please take a look at the HSTI spec - https://learn.microsoft.com/en-us/windows-hardware/test/hlk/testref/hardware-security-testability-s

Re: [edk2-devel] [PATCH v1 08/26] UefiCpuPkg: Added a new PCD named PcdCpuExceptionVectorBaseAddress

2024-03-14 Thread Gerd Hoffmann
On Mon, Mar 11, 2024 at 05:38:13PM +0800, Chao Li wrote: > Added PcdCpuExceptionVectorBaseAddress use for storing the CPU exception > vector base address. This PCD can be be populated at build time or > changed at runtime. > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584 Acked-by: Gerd

Re: [edk2-devel] [PATCH v1 07/26] UefiCpuPkg: Add CpuMmuLib.h to UefiCpuPkg

2024-03-14 Thread Gerd Hoffmann
On Mon, Mar 11, 2024 at 05:38:06PM +0800, Chao Li wrote: > Add a new header file CpuMmuLib.h, whitch is referenced from > ArmPkg/Include/Library/ArmMmuLib.h. Currently, only support for > LoongArch64 is added, and more architectures can be accommodated in the > future. > > BZ: https://bugzilla.tia

Re: [edk2-devel] [PATCH v1 06/26] UefiCpuPkg: Add CPU exception library for LoongArch

2024-03-14 Thread Gerd Hoffmann
Hi, > +[Sources.LoongArch64] > + LoongArch/DxeExceptionLib.c > + LoongArch/ExceptionCommon.h > + LoongArch/ExceptionCommon.c > + LoongArch/LoongArch64/ArchExceptionHandler.c > + LoongArch/LoongArch64/ExceptionHandlerAsm.S | GCC Hmm, if all code is in an arch-specific subdirectory anyway ye

Re: [edk2-devel] [PATCH v1 04/26] UefiCpuPkg/CpuDxe: Reorder the INF file alphabetically

2024-03-14 Thread Gerd Hoffmann
On Mon, Mar 11, 2024 at 02:37:55AM -0700, Chao Li wrote: > Some of the order is not in alphabetical, reorder. > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4726 > > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Gerd Hoffmann > Signed-off-by: Chao Li Acked-by: Gerd Hoffmann -=-=-=-=-=-=-=-=

Re: [edk2-devel] [PATCH v1 05/26] UefiCpuPkg: Add LoongArch64 CPU Timer instance

2024-03-14 Thread Gerd Hoffmann
Hi, > + if ((BaseFreq == 0x0) || (ClockMultiplier == 0x0) || (ClockDivide == 0x0)) > { > +DEBUG (( > + DEBUG_ERROR, > + "LoongArch Stable Timer is not available in the CPU, hence this > library cannot be used.\n" > + )); > +ASSERT (FALSE); > +CpuDeadLoop (); > + }

Re: [edk2-devel] [PATCH v1 03/26] UefiCpuPkg/MpInitLib: Reorder the INF files alphabetically

2024-03-14 Thread Gerd Hoffmann
Hi, > [LibraryClasses] >BaseLib > + CcExitLib > + CpuLib > + DebugAgentLib > + HobLib >LocalApicLib >MemoryAllocationLib > - HobLib > + MicrocodeLib >MtrrLib > - CpuLib > - UefiBootServicesTableLib > - DebugAgentLib > - SynchronizationLib >PcdLib > - CcExitLib > -

Re: [edk2-devel] [PATCH v1 02/26] UefiCpuPkg/CpuExceptionHandlerLib: Reorder the INF files alphabetically

2024-03-14 Thread Gerd Hoffmann
On Mon, Mar 11, 2024 at 05:37:34PM +0800, Chao Li wrote: > Some of the order is not in alphabetical, reorder. > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4726 > > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Gerd Hoffmann > Signed-off-by: Chao Li Acked-by: Gerd Hoffmann -=-=-=-=-=-=-=-=

Re: [edk2-devel] [PATCH v1 01/26] UefiCpuPkg/CpuTimerLib: Reorder the INF file alphabetically

2024-03-14 Thread Gerd Hoffmann
On Mon, Mar 11, 2024 at 05:37:29PM +0800, Chao Li wrote: > Some of the order is not in alphabetical, reorder. > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4726 > > Cc: Ray Ni > Cc: Rahul Kumar > Cc: Gerd Hoffmann > Signed-off-by: Chao Li Acked-by: Gerd Hoffmann -=-=-=-=-=-=-=-=

Re: [edk2-devel] [PATCH v3 08/24] OvmfPkg/BaseMemEncryptSevLib: Re-organize page state change support

2024-03-14 Thread Gerd Hoffmann
On Fri, Mar 08, 2024 at 07:31:11AM -0800, Lendacky, Thomas via groups.io wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > In preparation for running under an SVSM at VMPL1 or higher (higher > numerically, lower privilege), re-organize the way a page state change > is performed

Re: [edk2-devel] [PATCH v3 07/24] MdePkg: Avoid hardcoded value for number of Page State Change entries

2024-03-14 Thread Gerd Hoffmann
On Fri, Mar 08, 2024 at 07:30:56AM -0800, Lendacky, Thomas via groups.io wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > The SNP_PAGE_STATE_MAX_ENTRY is based on the number of entries that can > fit in the GHCB shared buffer. As a result, the SNP_PAGE_STATE_CHANGE_INFO > struc

Re: [edk2-devel] [PATCH v3 17/24] OvmfPkg/BaseMemEncryptSevLib: Use AmdSvsmSnpPvalidate() to validate pages

2024-03-14 Thread Gerd Hoffmann
On Fri, Mar 08, 2024 at 09:29:45AM -0600, Tom Lendacky wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > The PVALIDATE instruction is used to change the SNP validation of a page, > but that can only be done when running at VMPL0. To prepare for running at > a less priviledged VM

Re: [edk2-devel] [PATCH v3 15/24] Ovmfpkg/AmdSvsmLib: Create AmdSvsmLib to handle SVSM related services

2024-03-14 Thread Gerd Hoffmann
On Fri, Mar 08, 2024 at 09:29:43AM -0600, Tom Lendacky wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > Add initial support for the new AmdSvsmLib library to OvmfPkg. The initial > implementation fully implements the library interfaces. > > The SVSM presence check, AmdSvsmIsSv

Re: [edk2-devel] [PATCH 1/2] OvmfPkg: Add VirtHstiDxe driver

2024-03-14 Thread Yao, Jiewen
Question: What is the value to provide an *empty* HSTI table? IMHO, If the goal is to perform some security check, I think we need provide a *real* HSTI table. Thank you Yao, Jiewen > -Original Message- > From: Konstantin Kostiuk > Sent: Thursday, March 14, 2024 6:25 PM > To: devel@edk

Re: [edk2-devel][PATCH v1 1/3] MdeModulePkg: ImagePropertiesRecordLib: Use SectionAlignment for CodeSize

2024-03-14 Thread Marvin Häuser
Good day everyone, Sorry for interjecting, but I’d like to avoid premature changes to PE code that would only make the current mess even worse. > On 4. Mar 2024, at 20:24, Oliver Smith-Denny wrote: > > I relooked at the spec, you are correct, SizeOfRawData is aligned to > the FileAlignment. So

Re: [edk2-devel] [PATCH v3 14/24] Ovmfpkg: Prepare OvmfPkg to use the AmdSvsmLib library

2024-03-14 Thread Gerd Hoffmann
On Fri, Mar 08, 2024 at 09:29:42AM -0600, Tom Lendacky wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4654 > > The MpInitLib library will be updated to use the new AmdSvsmLib library. > To prevent any build breakage, update the OvmfPkg DSCs file to include > the AmdSvsmLib NULL librar

Re: [edk2-devel] [PATCH V1 1/1] OvmfPkg/QemuBootOrderLib: Measure the etc/boot-menu-wait

2024-03-14 Thread Gerd Hoffmann
Hi, > > (3) Cache the measured data somewhere if needed multiple times > > (or simply cache unconditionally). > > > Yes, agree. > Cache the measured data into HOB in the PEI phase > and cache the measured data into the global variables in the DXE phase. > How about this? Load, measure