Re: [edk2-devel] [PATCH] IntelSiliconPkg/IntelVTdDxe: Reduce Debug Level

2022-01-11 Thread Ni, Ray
Merged. -Original Message- From: Huang, Jenny Sent: Tuesday, January 11, 2022 3:54 PM To: Sheng, W ; devel@edk2.groups.io Cc: Ni, Ray ; Chaganty, Rangasai V ; Kowalewski, Robert Subject: RE: [PATCH] IntelSiliconPkg/IntelVTdDxe: Reduce Debug Level Reviewed-by: Jenny Huang -Origi

[edk2-devel][edk2-platforms][PATCH V1 27/27] WhitleyOpenBoardPkg/Build: Enable Features/Intel features

2022-01-11 Thread Oram, Isaac W
This enables Whitley as a test vehicle for features. These are not expected to be fully functional at this time. Specifically UserAuthentication causes a boot failure and the others have only been verified to be built and dispatched, not ported to the Whitley reference platform hardware. Cc: Nate

[edk2-devel][edk2-platforms][PATCH V1 20/27] SpcrFeaturePkg: Use MinPlatform build include files

2022-01-11 Thread Oram, Isaac W
Also added feature enable flag Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/Library/SpcrDeviceLib.h | 2 +- Features/Intel/OutOfBandManagement/SpcrFeaturePkg/Include/PostMemory.fdf | 13 Features/Inte

[edk2-devel][edk2-platforms][PATCH V1 24/27] MinPlatformPkg/Build: Add an include file for the common SPI FV info

2022-01-11 Thread Oram, Isaac W
This include file allows for elimination of a lot of duplicate code and makes FDF files more readable. Cc: Sai Chaganty Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Isaac Oram --- Platform/Intel/MinPlatformPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf | 24

[edk2-devel][edk2-platforms][PATCH V1 25/27] WhitleyOpenBoardPkg/Build: Use common SPI FV Header include

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg version of CommonSpiFvHeaderInfo.fdf. Cc: Nate DeSimone Cc: Chasel Chiu Signed-off-by: Isaac Oram --- Platform/Intel/WhitleyOpenBoardPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf | 24 -- Platform/Intel/WhitleyOpenBoardPkg/JunctionCity/PlatformPkg.fdf | 48

[edk2-devel][edk2-platforms][PATCH V1 19/27] Usb3DebugFeaturePkg: Align with feature design guidelines

2022-01-11 Thread Oram, Isaac W
Remove build of common libraries. Boards will already have those. Modified Usb3DebugFeature.dsc to treat libraries like libraries. Usb3DebugFeaturePkg.dsc uses the component trick for standalone build testing of the libraries. Added a PCD to allow board to select between NULL, regular, and IO MM

[edk2-devel][edk2-platforms][PATCH V1 05/27] IpmiFeaturePkg: Fix build errors

2022-01-11 Thread Oram, Isaac W
Fix build issues with standalone build. Switch to using MinPlatformPkg common core include for common modules. Cc: Nate DeSimone Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/IpmiFeature.dsc | 54 Features/Intel/Ou

[edk2-devel][edk2-platforms][PATCH V1 22/27] AdvancedFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/Advanc

[edk2-devel][edk2-platforms][PATCH V1 17/27] PostCodeDebugFeaturePkg: Complete as an advanced feature

2022-01-11 Thread Oram, Isaac W
Add feature enable PCD. Use MinPlatformPkg build include files. Fix PEI_COR typo in PEI handler lib. Build StatusCodeHandler components with unique filename GUID. Add PreMemory.fdf and PostMemory.fdf include files. Improve Readme formatting and feature enabling checklist. Cc: Eric Dong Cc: Liming

[edk2-devel][edk2-platforms][PATCH V1 26/27] AdvancedFeaturePkg/Build: Add FDF to create FV for all features

2022-01-11 Thread Oram, Isaac W
This produces three FV and no FD. FvAdvancedPreMemory.fv contains PEIM for pre-memory use. FvAdvancedUncompressed.fv contains post memory PEIM and drivers for DXE and SMM. FvAdvanced.fv contains the compressed FvAdvancedUncompressed.fv in an FV file format as is common practice. These FV are not e

[edk2-devel][edk2-platforms][PATCH V1 16/27] LogoFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Dandan Bi Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/UserInterface/LogoFeaturePkg/Include/LogoFeature.dsc | 69 Features/Intel/UserInterface/LogoFeaturePkg/Logo

[edk2-devel][edk2-platforms][PATCH V1 23/27] AdvancedFeaturePkg: Add missing features

2022-01-11 Thread Oram, Isaac W
The AdvancedFeaturePkg is supposed to include all features. Add Beep Debug feature to include DSC and FDF. Order features based on their domains. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/AdvancedFeaturePkg/AdvancedFeaturePkg.dsc | 66

[edk2-devel][edk2-platforms][PATCH V1 18/27] AcpiDebugFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Eric Dong Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/Debugging/AcpiDebugFeaturePkg/AcpiDebugFeaturePkg.dsc | 21 ++ Features/Intel/Debugging/AcpiDebugFeaturePkg/Include/Acp

[edk2-devel][edk2-platforms][PATCH V1 12/27] VirtualKeyboardFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Isaac Oram --- Features/Intel/UserInter

[edk2-devel][edk2-platforms][PATCH V1 14/27] VirtualKeyboardFeaturePkg: Add feature enable PCD

2022-01-11 Thread Oram, Isaac W
VirtualKeyboard missing feature enable PCD. Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Isaac Oram --- Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/PostMemory.fdf | 2 +- Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/VirtualKeyboardFeaturePkg.dec | 7 +

[edk2-devel][edk2-platforms][PATCH V1 10/27] UserAuthFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Isaac Oram --- Features/Intel/UserInter

[edk2-devel][edk2-platforms][PATCH V1 13/27] VirtualKeyboardFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Dandan Bi Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/UserInterface/VirtualKeyboardFeaturePkg/Include/VirtualKeyboardFeature.dsc | 62 +++- Features/Intel/UserInter

[edk2-devel][edk2-platforms][PATCH V1 15/27] NetworkFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Standalong build was not working due to missing libraries. Leverage MinPlatformPkg common includes for core libraries. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/Network/NetworkFeaturePkg/Include/NetworkFeature.dsc | 89 ++-- Features/Intel/N

[edk2-devel][edk2-platforms][PATCH V1 11/27] UserAuthFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Dandan Bi Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/UserInterface/UserAuthFeaturePkg/Include/PostMemory.fdf | 6 +- Features/Intel/UserInterface/UserAuthFeaturePkg/Include/Us

[edk2-devel][edk2-platforms][PATCH V1 09/27] SmbiosFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/SystemInformation/SmbiosFeaturePkg/Include/PostMemory.fdf| 2 +- Features/Intel/SystemInformation/SmbiosFeaturePkg/Inclu

[edk2-devel][edk2-platforms][PATCH V1 08/27] SmbiosFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/System

[edk2-devel][edk2-platforms][PATCH V1 07/27] S3FeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
Use the MinPlatformPkg common core build files to build libraries needed by this feature. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/PowerManagement/S3FeaturePkg/Include/PreMemory.fdf | 2 +- Features/Intel/PowerManagement/S3FeaturePkg/Include/S3Feature.dsc

[edk2-devel][edk2-platforms][PATCH V1 06/27] S3FeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/PowerM

[edk2-devel][edk2-platforms][PATCH V1 02/27] BeepDebugFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Sai Chaganty Cc: Liming Gao Cc: Eric Dong Signed-off-by: Isaac Oram --- Featur

[edk2-devel][edk2-platforms][PATCH V1 04/27] IpmiFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Liming Gao Cc: Nate DeSimone Signed-off-by: Isaac Oram --- Features/Intel/OutOf

[edk2-devel][edk2-platforms][PATCH V1 03/27] AcpiDebugFeaturePkg: Fix all relative package paths

2022-01-11 Thread Oram, Isaac W
Packages should be at the root of a PACKAGES_PATH entry. At some point, paths were relative to edk2-platforms/Features/Intel which was functional, but interferes with the proper functioning of packaging tools. Cc: Sai Chaganty Cc: Liming Gao Cc: Eric Dong Signed-off-by: Isaac Oram --- Featur

[edk2-devel][edk2-platforms][PATCH V1 21/27] TemplateFeaturePkg: Use MinPlatform build include files

2022-01-11 Thread Oram, Isaac W
Extend the template to leverage common library build files. Cc: Sai Chaganty Cc: Liming Gao Signed-off-by: Isaac Oram --- Features/Intel/TemplateFeaturePkg/Include/TemplateFeature.dsc | 2 +- Features/Intel/TemplateFeaturePkg/TemplateFeaturePkg.dsc | 18 ++ 2 files chan

[edk2-devel][edk2-platforms][PATCH V1 01/27] BeepDebugFeaturePkg: Use MinPlatformPkg build include files

2022-01-11 Thread Oram, Isaac W
The BeepDebugFeaturePkg was malformed and did not build anything and thus wasn't testable in standalone build. Added gBeepDebugFeaturePkgTokenSpaceGuid.PcdBeepDebugFeatureEnable to properly control the advanced feature inclusion. Use the standard MinPlatform includes for core libraries. This incr

[edk2-devel][edk2-platforms][PATCH V1 00/27] Improve feature build consistency

2022-01-11 Thread Oram, Isaac W
This series addresses inconsistencies in feature implementation and use. Some inconsistencies are just conventions of the feature design/template/convention. Some are inconsistency with feature design intent that negatively affect the usability of the features and the amount of work required fr

Re: [edk2-devel] [PATCH 06/10] OvmfPkg: Add TdxStartupLib

2022-01-11 Thread Min Xu
Hi > > > +VOID > > > +Split2MPageTo4K ( > > > > Yet another copy of this. Please don't. > I will figure out a Page walker lib so that these duplicated code can be > avoided. Thanks for reminder. After I implemented a PoC of PageTable library, I realized that there has already been a same feature

回复: [edk2-devel] [PATCH] MdeModulePkg/Variable: Make only EFI_VARIABLE_NON_VOLATILE invalid

2022-01-11 Thread gaoliming
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Sunny Wang > 发送时间: 2022年1月12日 5:37 > 收件人: devel@edk2.groups.io > 抄送: Sunny Wang ; Liming Gao > ; Heinrich Schuchardt > ; G Edhaya Chandran > ; Samer El-Haj-Mahmoud > ; Sunny Wang > 主题: [edk2-devel] [PATCH] MdeModulePkg/Vari

Re: [edk2-devel] [PATCH] BaseTools/Brotli: update to latest brotli submodule

2022-01-11 Thread Pedro Falcato
Hi Bob, My patch includes the other brotli submodule as well, per Liming's request. I saw the PR's CI failed before Christmas but I completely forgot about it, sorry about that! I can take a look again and submit a v2 patch set tomorrow. It's all trivial stuff and I believe it's best that both b

Re: [edk2-devel] [edk2-platform PATCH v1] Silicon/Marvell/Armada7k8k: Fix wrong SMBIOS version issue

2022-01-11 Thread Marcin Wojtas
wt., 11 sty 2022 o 22:46 Sunny Wang napisał(a): > > The SMBIOS data is based on v3.3.0, but its version is set to v3.2.0. > Since PcdSmbiosVersion in MdeModulePkg.dec is v3.3.0, so just remove > the platform overridden value in .dsc file to fix this issue. > > This also fixed the FWTS failure belo

Re: [edk2-devel] Issues with CLANGDWARF tool specification and X64 -- am I nuts or what?

2022-01-11 Thread Bill Paul
BTW, regarding 3) below, it looks like this is expected behavior from Clang/ LLVM. Dereferencing a NULL pointer is technically undefined in C, and by default the Clang optimizer will cause a trap to occur if you try to do it (because it assumes it's not safe for programs to do that). The flag -f

[edk2-devel] [edk2-test][PATCH v1] uefi-sct/SctPkg: Allow SimpleTextOut SetMode to return EFI_UNSUPPORTED

2022-01-11 Thread Sunny Wang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3738 The SimpleTestOut test cases don't allow SetMode to return EFI_UNSUPPORTED, which doesn't comply with UEFI spec. UEFI spec allows EFI_SIMPLE_TEXT_OUT_PROTOCOL.SetMode function to return EFI_UNSUPPORTED for the condition below: if the outpu

[edk2-devel] [edk2-platform PATCH v1] Silicon/Marvell/Armada7k8k: Fix wrong SMBIOS version issue

2022-01-11 Thread Sunny Wang
The SMBIOS data is based on v3.3.0, but its version is set to v3.2.0. Since PcdSmbiosVersion in MdeModulePkg.dec is v3.3.0, so just remove the platform overridden value in .dsc file to fix this issue. This also fixed the FWTS failure below: dmicheck: Type 17 expects length of 0x54, has incorrect

[edk2-devel] [PATCH] MdeModulePkg/Variable: Make only EFI_VARIABLE_NON_VOLATILE invalid

2022-01-11 Thread Sunny Wang
Only EFI_VARIABLE_NON_VOLATILE attribute is an invalid combination of attribute bits, so update the variable driver to return EFI_INVALID_PARAMETER so that we can prevent the invalid variable being created. This change also fixes the SCT failure below: - RT.QueryVariableInfo - With being an inval

[edk2-devel] [PATCH v2 3/3] DynamicTablesPkg: Add AmlCodeGenMethodRetInteger function

2022-01-11 Thread Rebecca Cran
Add AmlCodeGenMethodRetInteger function to generate AML code for a Method returning an Integer. Signed-off-by: Rebecca Cran Reviewed-by: Pierre Gondois --- DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h| 47 ++ DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c | 156

[edk2-devel] [PATCH v2 2/3] DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn

2022-01-11 Thread Rebecca Cran
In AmlCodeGenReturn, the cast to AML_NODE_HEADER* in the call to AmlSetFixedArgument is redundant because ReturnNode is already a AML_NODE_HEADER* . Signed-off-by: Rebecca Cran Reviewed-by: Pierre Gondois --- DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c | 2 +- 1 file changed, 1

[edk2-devel] [PATCH v2 0/3] Add Memory32Fixed and AmlCodeGenMethodRetInteger functions

2022-01-11 Thread Rebecca Cran
Add functions to generate code for the Memory32Fixed ASL macro and a method returning an Integer. Remove a redundant cast from AmlCodeGenReturn. Changes from v1 to v2: o Fixed indentation of doxygen comments. o Switched to using BIT0 for bitfield. o Switched to using EFI_ACPI_32_BIT_MEMORY_RANG

[edk2-devel] [PATCH v2 1/3] DynamicTablesPkg: Add Memory32Fixed function

2022-01-11 Thread Rebecca Cran
Add a Memory32Fixed function to generate code for the corresponding Memory32Fixed macro in AML. Signed-off-by: Rebecca Cran --- DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h| 33 DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c | 57

Re: [edk2-devel] [PATCH 1/3] DynamicTablesPkg: Add Memory32Fixed function

2022-01-11 Thread Rebecca Cran
Thanks. I've fixed these issues in the v2 patch which I'll send out soon. -- Rebecca Cran On 1/11/22 04:34, Pierre Gondois wrote: Hello Rebecca, On 1/8/22 10:57 PM, Rebecca Cran via groups.io wrote: Add a Memory32Fixed function to generate code for the corresponding Memory32Fixed macro in

[edk2-devel] [PATCH v2 6/6] ArmVirtPkg/Kvmtool: Enable Acpiview

2022-01-11 Thread PierreGondois
From: Sami Mujawar Acpiview is a command line tool allowing to display, dump, or check installed ACPI tables. Add a 'ACPIVIEW_ENABLE' switch to enable it on an ArmVirt platform. The switch is set for the ArmVirtKvmTool platform. Signed-off-by: Sami Mujawar Signed-off-by: Pierre Gondois Acked-

[edk2-devel] [PATCH v2 5/6] ArmVirtPkg/Kvmtool: Enable ACPI support

2022-01-11 Thread PierreGondois
From: Sami Mujawar A Configuration Manager that uses the Dynamic Tables framework to generate ACPI tables for Kvmtool Guests has been provided. This Configuration Manager uses the FdtHwInfoParser module to parse the Kvmtool Device Tree and generate the required Configuration Manager objects for g

[edk2-devel] [PATCH v2 4/6] ArmVirtPkg/Kvmtool: Add Configuration Manager

2022-01-11 Thread PierreGondois
From: Sami Mujawar Add Configuration Manager to enable ACPI tables for Kvmtool firmware. The Configuration Manager for Kvmtool uses the DT Hardware Information Parser module (FdtHwInfoParser) to parse the DT provided by Kvmtool. The FdtHwInfoParser parses the DT and invokes the callback function

[edk2-devel] [PATCH v2 3/6] ArmVirtPkg/Kvmtool: Add DSDT ACPI table

2022-01-11 Thread PierreGondois
From: Sami Mujawar Most ACPI tables for Kvmtool firmware are dynamically generated. The AML code is also generated at runtime for most components in appropriate SSDTs. Although there may not be much to describe in the DSDT, the DSDT table is mandatory. Therefore, add an empty stub for DSDT. Si

[edk2-devel] [PATCH v2 2/6] ArmVirtPkg: Add cspell exceptions

2022-01-11 Thread PierreGondois
From: Pierre Gondois The cpsell tool checks for unknown words in the upstream CI. Add some new words to the list of exceptions. Signed-off-by: Pierre Gondois --- Notes: v2: - Adding 'acpiview'. Since the patch change, Laszlo's Reviewed-by is not added. [Pierre] ArmVirtPkg/ArmVi

[edk2-devel] [PATCH v2 1/6] DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID

2022-01-11 Thread PierreGondois
From: Pierre Gondois Add a macro that specifies the format for printing CM_OBJECT_ID. This allows to print the CM_OBJECT_ID is a consistent way in the output logs. Signed-off-by: Pierre Gondois --- Notes: v2: - New patch, requested by Laszlo. DynamicTablesPkg/Include/ConfigurationMan

[edk2-devel] [PATCH v2 0/6] Add ACPI support for Kvmtool

2022-01-11 Thread PierreGondois
From: Pierre Gondois Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3742 V1: https://edk2.groups.io/g/devel/message/76990 V2: - New patch: "DynamicTablesPkg: Print specifier macro for CM_OBJECT_ID" [Laszlo] - Only add AcpiView for ArmVirtKvmTool instead of all ArmVirt platforms. This is

Re: 回复: [edk2-devel] [PATCH] MdeModulePkg\CoreDxe: Allow DXE Drivers to use untested memory

2022-01-11 Thread Michael D Kinney
Hi Sean, The auto promotion of memory was only intended as a dev/debug feature to maximize platform boot without having to tune what memory is tested in PEI phase. In my opinion, a production platform should never trigger any auto promotions of untested to tested memory, and part of production v

[edk2-devel] Does CI support nested virtualization?

2022-01-11 Thread Boeuf, Sebastien
Hi, I was thinking about running a simple test with Cloud Hypervisor (VMM relying on KVM) to validate the associated Ovmf target can be properly booted. Unfortunately I get an error about /dev/kvm not being available. Is there a way to let the Azure Pipelines know that we need a machine that supp

Re: [edk2-devel] [PATCH] BaseTools/Brotli: update to latest brotli submodule

2022-01-11 Thread Bob Feng
Actually https://github.com/google/brotli/pull/893 this PR just fixed the GCC 11 build issue. It was merged at https://github.com/google/brotli/commit/0a3944c8c99b8d10cc4325f721b7c273d2b41f7b. Both of Pedro's patch and Ross's patch include that fix. I think the difference between the Pedro's pa

Re: [edk2-devel] [PATCH] IntelSiliconPkg/IntelVTdDxe: Reduce Debug Level

2022-01-11 Thread Kowalewski, Robert
Reviewed-by: Robert Kowalewski -Original Message- From: Sheng, W Sent: Tuesday, January 11, 2022 2:27 AM To: devel@edk2.groups.io Cc: Ni, Ray ; Chaganty, Rangasai V ; Huang, Jenny ; Kowalewski, Robert Subject: [PATCH] IntelSiliconPkg/IntelVTdDxe: Reduce Debug Level Reduce the debug l

Re: [edk2-devel] Guidance about CI

2022-01-11 Thread Boeuf, Sebastien
Is the CI only relying on QEMU using TCG? I have some patches to run the CI with Cloud Hypervisor but I got an error about /dev/kvm not being available :/ Is there a certain type of machine used by the AzurePipelines that would support nested virtualization? Thanks, Sebastien On Fri, 2022-01-07

[edk2-devel] [PATCH v4 10/11] OvmfPkg/CloudHv: add Maintainers.txt entry

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Acked-by: Gerd Hoffmann Reviewed-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- Maintainers.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Maintainers.txt b/Maintainers.txt index 71c42bddae..3bda97ef25 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @

[edk2-devel] [PATCH v4 09/11] OvmfPkg/CloudHv: Remove CSM support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't need the support for legacy BIOS, therefore the CSM support can be removed. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 20 OvmfPkg/CloudHv/CloudHvX64.fdf

[edk2-devel] [PATCH v4 11/11] OvmfPkg: Add CloudHvX64 to the CI

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Adding the newly created target for Cloud Hypervisor to the CI, validating it can be properly built. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- .../.azurepipelines/Ubuntu-GCC5.yml | 9 + OvmfPkg/PlatformCI/CloudHvBuild

[edk2-devel] [PATCH v4 08/11] OvmfPkg/CloudHv: Remove USB support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate any USB controller or device, therefore the support can be removed. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 11 --- OvmfPkg/CloudHv/CloudHvX64.fdf | 10

[edk2-devel] [PATCH v4 07/11] OvmfPkg/CloudHv: Remove video support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf No need for video or virtio-gpu support since Cloud Hypervisor doesn't emulate any of these. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 16 OvmfPkg/CloudHv/CloudHvX64.fdf | 4 2

[edk2-devel] [PATCH v4 06/11] OvmfPkg/CloudHv: Reduce dependency on QemuFwCfg

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Since Cloud Hypervisor doesn't rely on the FwCfg mechanism, remove the libraries imports when possible. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 2 -- 1 file changed, 2 deletions(-) diff --git a/Ov

[edk2-devel] [PATCH v4 05/11] OvmfPkg/CloudHv: Remove Q35 specifics

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Anything specific to the QEMU Q35 platform is not relevant for the CloudHv target. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 10 -- 1 file changed, 10 deletions(-) diff --git a/OvmfPkg/Cloud

[edk2-devel] [PATCH v4 04/11] OvmfPkg/CloudHv: Remove legacy 8259 PIC support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor does not emulate any 8259 PIC, therefore there's no reason to load the corresponding driver for it. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 4 OvmfPkg/CloudHv/CloudHvX64.fdf |

[edk2-devel] [PATCH v4 03/11] OvmfPkg/CloudHv: Connect serial console

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate any LPC bridge, therefore we simply need to rely on the serial I/O port to be connected as a console. It reuses the code from Xen since it's very generic. Acked-by: Gerd Hoffmann Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- Ov

[edk2-devel] [PATCH v4 02/11] OvmfPkg/CloudHv: Replace legacy 8254 PIT with local APIC timer

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate the legacy 8254 PIT, which is why instead of relying on it as the timer UEFI services, rely on the XenTimerDxe implementation. This is not Xen specific, as it simply uses the local APIC timer triggering interrupts on the vector 32. Acked-by:

[edk2-devel] [PATCH v4 01/11] OvmfPkg/CloudHv: Add new target for Cloud Hypervisor

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Adding the new target CloudHvX64, copied directly from OvmfPkgX64. The point is to create a target dedicated for Cloud Hypervisor rather than trying to support both QEMU and Cloud Hypervisor on the same target. Improvements and cleanups will be performed in follow up patche

[edk2-devel] [PATCH v4 00/11] Create new target for Cloud Hypervisor

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Since Cloud Hypervisor and QEMU pc/q35 are quite different, it makes more sense to create a dedicated OVMF target for Cloud Hypervisor rather than trying to support both VMMs from the same OvmfPkgX64 target. That's the reason why this series introduces a new target called C

Re: [edk2-devel] [PATCH v3 00/11] Create new target for Cloud Hypervisor

2022-01-11 Thread Gerd Hoffmann
On Tue, Jan 11, 2022 at 11:20:42AM +0100, sebastien.bo...@intel.com wrote: > From: Sebastien Boeuf > > Since Cloud Hypervisor and QEMU pc/q35 are quite different, it makes > more sense to create a dedicated OVMF target for Cloud Hypervisor rather > than trying to support both VMMs from the same O

[edk2-devel] [PATCH 1/1] MdePkg/UefiDevicePathLib: Add support for PEIMs

2022-01-11 Thread Albecki, Mateusz
DevicePathLib utilities are useful in PEI to locate the devices which need an opal unlock on S3 resume. This commit reuses the implementation done to support Standalone MM for PEI. Signed-off-by: Mateusz Albecki Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu --- ...iesStandaloneMm.c =>

[edk2-devel] [PATCH 0/1] MdePkg/UefiDevicePathLib: Add support for PEIMs

2022-01-11 Thread Albecki, Mateusz
This patch adds support for PEIMs in UefiDevicePathLib. Although this library and DEVICE_PATH_PROTOCOL itself was initially intended for DXE the use case of unlocking opal-locked storage devices during S3 resume makes it useful in PEI. As it is the change will break the users who will need to ch

Re: [edk2-devel] [PATCH 3/3] DynamicTablesPkg: Add AmlCodeGenMethodRetInteger function

2022-01-11 Thread PierreGondois
Hello Rebecca, This patch looks good to me: Reviewed-by: Pierre Gondois On 1/8/22 10:57 PM, Rebecca Cran via groups.io wrote: > Add AmlCodeGenMethodRetInteger function to generate AML code for > a Method returning an Integer. > > Signed-off-by: Rebecca Cran > --- > DynamicTablesPkg/Include/L

Re: [edk2-devel] [PATCH 2/3] DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn

2022-01-11 Thread PierreGondois
Hello Rebecca, The patch looks good to me, Reviewed-by: Pierre Gondois On 1/8/22 10:57 PM, Rebecca Cran via groups.io wrote: > In AmlCodeGenReturn, the cast to AML_NODE_HEADER* in the call to > AmlSetFixedArgument is redundant because ReturnNode is already a > AML_NODE_HEADER* . > > Signed-off

Re: [edk2-devel] [PATCH 1/3] DynamicTablesPkg: Add Memory32Fixed function

2022-01-11 Thread PierreGondois
Hello Rebecca, On 1/8/22 10:57 PM, Rebecca Cran via groups.io wrote: > Add a Memory32Fixed function to generate code for the corresponding > Memory32Fixed macro in AML. > > Signed-off-by: Rebecca Cran > --- > DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h| 33 > +++

Re: [edk2-devel] [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI

2022-01-11 Thread Yao, Jiewen
Acked-by: Jiewen Yao > -Original Message- > From: Boeuf, Sebastien > Sent: Tuesday, January 11, 2022 6:21 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kra...@redhat.com; Boeuf, Sebastien > > Subject: [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI > > From:

Re: [edk2-devel] [PATCH v3 10/11] OvmfPkg/CloudHv: add Maintainers.txt entry

2022-01-11 Thread Yao, Jiewen
Reviewed-by: Jiewen Yao > -Original Message- > From: devel@edk2.groups.io On Behalf Of Boeuf, > Sebastien > Sent: Tuesday, January 11, 2022 6:21 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kra...@redhat.com; Boeuf, Sebastien > > Subject: [edk2-devel] [PATCH v3

Re: [edk2-devel] [PATCH v3 03/11] OvmfPkg/CloudHv: Connect serial console

2022-01-11 Thread Yao, Jiewen
Acked-by: Jiewen Yao > -Original Message- > From: Boeuf, Sebastien > Sent: Tuesday, January 11, 2022 6:21 PM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Justen, Jordan L > ; kra...@redhat.com; Boeuf, Sebastien > > Subject: [PATCH v3 03/11] OvmfPkg/CloudHv: Connect serial console > >

[edk2-devel] [PATCH v3 11/11] OvmfPkg: Add CloudHvX64 to the CI

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Adding the newly created target for Cloud Hypervisor to the CI, validating it can be properly built. Signed-off-by: Sebastien Boeuf --- .../.azurepipelines/Ubuntu-GCC5.yml | 9 + OvmfPkg/PlatformCI/CloudHvBuild.py| 37 +++ 2 file

[edk2-devel] [PATCH v3 09/11] OvmfPkg/CloudHv: Remove CSM support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't need the support for legacy BIOS, therefore the CSM support can be removed. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 20 OvmfPkg/CloudHv/CloudHvX64.fdf | 6 -- 2 files chan

[edk2-devel] [PATCH v3 10/11] OvmfPkg/CloudHv: add Maintainers.txt entry

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Signed-off-by: Sebastien Boeuf --- Maintainers.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Maintainers.txt b/Maintainers.txt index 71c42bddae..3bda97ef25 100644 --- a/Maintainers.txt +++ b/Maintainers.txt @@ -440,6 +440,11 @@ F: OvmfPkg/Library/ResetSyste

[edk2-devel] [PATCH v3 08/11] OvmfPkg/CloudHv: Remove USB support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate any USB controller or device, therefore the support can be removed. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 11 --- OvmfPkg/CloudHv/CloudHvX64.fdf | 10 -- 2 files changed,

[edk2-devel] [PATCH v3 07/11] OvmfPkg/CloudHv: Remove video support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf No need for video or virtio-gpu support since Cloud Hypervisor doesn't emulate any of these. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 16 OvmfPkg/CloudHv/CloudHvX64.fdf | 4 2 files changed, 20 deleti

[edk2-devel] [PATCH v3 06/11] OvmfPkg/CloudHv: Reduce dependency on QemuFwCfg

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Since Cloud Hypervisor doesn't rely on the FwCfg mechanism, remove the libraries imports when possible. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 2 -- 1 file changed, 2 deletions(-) diff --git a/OvmfPkg/CloudHv/CloudHvX64.

[edk2-devel] [PATCH v3 05/11] OvmfPkg/CloudHv: Remove Q35 specifics

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Anything specific to the QEMU Q35 platform is not relevant for the CloudHv target. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 10 -- 1 file changed, 10 deletions(-) diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc b/OvmfP

[edk2-devel] [PATCH v3 04/11] OvmfPkg/CloudHv: Remove legacy 8259 PIC support

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor does not emulate any 8259 PIC, therefore there's no reason to load the corresponding driver for it. Acked-by: Jiewen Yao Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc | 4 OvmfPkg/CloudHv/CloudHvX64.fdf | 1 - 2 files changed, 5

[edk2-devel] [PATCH v3 03/11] OvmfPkg/CloudHv: Connect serial console

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate any LPC bridge, therefore we simply need to rely on the serial I/O port to be connected as a console. It reuses the code from Xen since it's very generic. Signed-off-by: Sebastien Boeuf --- OvmfPkg/CloudHv/CloudHvX64.dsc

[edk2-devel] [PATCH v3 02/11] OvmfPkg/CloudHv: Replace legacy 8254 PIT with local APIC timer

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Cloud Hypervisor doesn't emulate the legacy 8254 PIT, which is why instead of relying on it as the timer UEFI services, rely on the XenTimerDxe implementation. This is not Xen specific, as it simply uses the local APIC timer triggering interrupts on the vector 32. Acked-by:

[edk2-devel] [PATCH v3 01/11] OvmfPkg/CloudHv: Add new target for Cloud Hypervisor

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Adding the new target CloudHvX64, copied directly from OvmfPkgX64. The point is to create a target dedicated for Cloud Hypervisor rather than trying to support both QEMU and Cloud Hypervisor on the same target. Improvements and cleanups will be performed in follow up patche

[edk2-devel] [PATCH v3 00/11] Create new target for Cloud Hypervisor

2022-01-11 Thread Boeuf, Sebastien
From: Sebastien Boeuf Since Cloud Hypervisor and QEMU pc/q35 are quite different, it makes more sense to create a dedicated OVMF target for Cloud Hypervisor rather than trying to support both VMMs from the same OvmfPkgX64 target. That's the reason why this series introduces a new target called C

Re: [edk2-devel] [PATCH v2 02/10] OvmfPkg/CloudHv: Replace legacy 8254 PIT with local APIC timer

2022-01-11 Thread Gerd Hoffmann
On Mon, Jan 10, 2022 at 06:47:22PM +0100, sebastien.bo...@intel.com wrote: > From: Sebastien Boeuf > > Cloud Hypervisor doesn't emulate the legacy 8254 PIT, which is why > instead of relying on it as the timer UEFI services, rely on the > XenTimerDxe implementation. This is not Xen specific, as i

Re: [edk2-devel] [PATCH 08/10] OvmfPkg: Update Sec to support Tdvf Config-B

2022-01-11 Thread Gerd Hoffmann
Hi, > > Well, if you want avoid the refactoring because of the risk there is still > > the > > option to have tdx config-b use the normal PEI boot flow. > > Then revisit refactoring and adding support for PEI-less boot later. > > > I think it still makes sense (Adding a basic PlatformInitLib w