Re: [edk2-devel] [Patch v2 21/28] UefiPayloadPkg: Add ProtectedVariable reference

2022-04-29 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Vang, Judah Sent: Friday, April 29, 2022 11:04 AM To: devel@edk2.groups.io Cc: Wang, Jian J ; Dong, Guo ; Ni, Ray ; Maurice Ma ; You, Benjamin ; Rhodes, Sean ; Mistry, Nishant C Subject: [Patch v2 21/28] UefiPayloadPkg: Add

[edk2-devel] [PATCH 1/1] WhitleyOpenBoardPkg/Build: Fix GCC build issues

2022-04-29 Thread Oram, Isaac W
Fix build warning in PlatformInfo.c. Fix script invocation issues in build_board.py for AML content build in WilsonCityRvp and JunctionCity. Cc: Nate DeSimone Cc: Chasel Chiu Signed-off-by: Isaac Oram --- .../WhitleyOpenBoardPkg/JunctionCity/build_board.py | 11 ---

Re: [edk2-devel] [edk2-platforms][PATCH v1 1/1] IntelSiliconPkg/SpiFvbService: Add support for VariableFlashInfoLib

2022-04-29 Thread Michael Kubacki
Please help review this patch when possible. Thanks, Michael On 4/22/2022 10:02 AM, Michael Kubacki wrote: Reminder to review this patch. On 4/18/2022 7:43 PM, Michael Kubacki wrote: From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3478 Adds support for getting

Re: [edk2-devel] [edk2-platforms][PATCH v1 0/3] MinPlatformPkg: Add FADT duty offset and width PCDs

2022-04-29 Thread Michael Kubacki
Another reminder to merge this series. Chasel has added his review and that is in this branch: https://github.com/makubacki/edk2-platforms/commits/active/add_duty_pcds_minplatformpkg_v1_rb1 Thanks, Michael On 4/22/2022 10:04 AM, Michael Kubacki wrote: Reminder to review this series. Ankit

Re: [edk2-devel] [edk2-platforms][PATCH v1 10/10] PlatformStandaloneMmPkg: Add VariableFlashInfoLib

2022-04-29 Thread Ilias Apalodimas
Thanks for the patches On Mon, 25 Apr 2022 at 19:06, Sami Mujawar wrote: > > Hi Michael, > > Thank you for this patch. > > These changes look good to me. > > Reviewed-by: Sami Mujawar > > Regards, > > Sami Mujawar > > On 20/04/2022 09:44 pm, mikub...@linux.microsoft.com wrote: > > From: Michael

[edk2-devel] [Patch v2 28/28] CryptoPkg: Enable cypto HMAC KDF library

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 RPMC confidentiality feature requires HMAC-SHA256 support during SMM phase. This allows the protected variable's data to be encrypted in the SPI flash. Cc: Jiewen Yao Cc: Jian J Wang Cc: Xiaoyu Lu Cc: Guomin Jiang Cc: Nishant C Mistry

[edk2-devel] [Patch v2 25/28] OvmfPkg: Add ProtectedVariableLib reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Rebecca Cran Cc: Peter Grehan Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- OvmfPkg/Bhyve/BhyveX64.dsc

[edk2-devel] [Patch v2 27/28] OvmfPkg: Add ProtectedVariable reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Sebastien Boeuf Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- OvmfPkg/CloudHv/CloudHvX64.dsc | 1 + 1

[edk2-devel] [Patch v2 24/28] OvmfPkg: Add ProtectedVariableLib reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Jiewen Yao Cc: Min Xu Cc: Brijesh Singh Cc: Erdem Aktas Cc: James Bottomley Cc: Tom Lendacky Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C

[edk2-devel] [Patch v2 26/28] OvmfPkg: Add ProtectedVariableLib reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Gerd Hoffmann Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- OvmfPkg/Microvm/MicrovmX64.dsc | 3 ++- 1

[edk2-devel] [Patch v2 23/28] OvmfPkg: Add ProtectedVariable reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Jiewen Yao Cc: Jordan Justen Cc: Gerd Hoffmann Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah

[edk2-devel] [Patch v2 22/28] EmulatorPkg: Add ProtectedVariable reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to null ProtectedVariableLib. Cc: Jian J Wang Cc: Andrew Fish Cc: Ray Ni Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- EmulatorPkg/EmulatorPkg.dsc | 3

[edk2-devel] [Patch v2 20/28] ArmVirtPkg: Add reference to ProtectedVariableNull

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Need reference to ProtectVariableNullLib otherwise build fails. Cc: Jian J Wang Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang ---

[edk2-devel] [Patch v2 21/28] UefiPayloadPkg: Add ProtectedVariable reference

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference for ProtectedVariableLib so build is successful. Cc: Jian J Wang Cc: Guo Dong Cc: Ray Ni Cc: Maurice Ma Cc: Benjamin You Cc: Sean Rhodes Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry

[edk2-devel] [Patch v2 18/28] MdeModulePkg: Reference Null ProtectedVariableLib

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Make reference to new Null ProtectVariableLib. The null ProtectedVariableLib is used by default. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang

[edk2-devel] [Patch v2 19/28] SecurityPkg: Add references to new *.inf files

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add references to the different *ProtectedVariableLib.inf. Also add references to VariableKeyLibNull.inf, EncryptionVariableLibNull.inf, ProtectedVariableNull.inf. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian

[edk2-devel] [Patch v2 14/28] SecurityPkg: Add null encryption variable libs

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Provide null ecryption variable libraries. These will be used by default for platforms that don't support protected variable encryption. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by:

[edk2-devel] [Patch v2 11/28] SecurityPkg: Update RPMC APIs with index

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Update RPMC APIs with index parameter because sometimes there are more than 1 RPMC counter on the platform. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by:

[edk2-devel] [Patch v2 10/28] SecurityPkg: Add new KeyService types and defines

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add new KeyService types and defines. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang --- SecurityPkg/Include/Ppi/KeyServicePpi.h | 57

[edk2-devel] [Patch v2 13/28] SecurityPkg: Fix GetVariableKey API

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Fix GetVariableKey API to match changes in header files. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang ---

[edk2-devel] [Patch v2 16/28] SecurityPkg: Add EncryptionVariable lib with AES

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add encryption/decryption of protected variable functionality. Add functions to get/set cipher data of a protected variable. This is use for supporting confidentiality for protected variables. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C

[edk2-devel] [Patch v2 12/28] SecurityPkg: Add new variable types and functions

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add new variable encryption/decryption function prototypes. Add new variable digest structure. Add new Protected variable function prototypes. Update RPMC APIs to Add an index because there is could more than one counter. Cc: Jian J Wang

[edk2-devel] [Patch v2 15/28] SecurityPkg: Add VariableKey library function

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Provide function that retrieves the key for protected variables. Cc: Jian J Wang Cc: Jiewen Yao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang ---

[edk2-devel] [Patch v2 08/28] MdeModulePkg: Add new Variable functionality

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Provide new APIs for retrieving variable information. Add new function stubs for retrieving Protected variable information. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry

[edk2-devel] [Patch v2 07/28] MdeModulePkg: Add Null ProtectedVariable Library

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add Null versions of the ProtectedVariable Library. This will be the default libraries for platforms that do not support ProtectedVariable. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by:

[edk2-devel] [Patch v2 06/28] MdeModulePkg: Add new include files

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add EncryptionVariableLib.h for providing encryption and decryption services for protected variables. Add ProtectedVariableLib.h for providing integrity or variables. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by:

[edk2-devel] [Patch v2 05/28] MdeModulePkg: Add new ProtectedVariable GUIDs

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 New ProtectVariable GUIDs for passing variable information from PEI phase to SMM phase. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry Signed-off-by: Judah Vang ---

[edk2-devel] [Patch v2 04/28] MdeModulePkg: Add reference to new Ppi Guid

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Add reference to gEfiPeiVariableStoreDiscoveredPpiGuid which contains information whether variable store is available. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C Mistry

[edk2-devel] [Patch v2 02/28] SecurityPkg: Add new GUIDs for

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 The gEdkiiProtectedVariableGlobalGuid HOB contains the global configuration data structure which is verified in PEI Phase. The gEdkiiMetaDataHmacVariableGuid is used for saving the meta data HMAC variable. The

[edk2-devel] [Patch v2 03/28] MdeModulePkg: Update AUTH_VARIABLE_INFO struct

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Added NameSize and State to AUTH_VARIABLE_INFO struct. The size of the name and state is needed when creating the variable digest. Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang Signed-off-by: Nishant C

[edk2-devel] [Patch v2 01/28] MdeModulePkg: Add new GUID for Variable Store Info

2022-04-29 Thread Judah Vang
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2594 Discover if Variable Store Info HOB has been published by platform driver. It contains information in regards to HOB or NV Variable Store availability Cc: Jian J Wang Cc: Liming Gao Cc: Nishant C Mistry Signed-off-by: Jian J Wang

[edk2-devel] [Patch v2 00/28] UEFI variable protection

2022-04-29 Thread Judah Vang
For a more detail description of the UEFI variable protected feature you can view the Readme.md located at the following location: https://github.com/judahvang/edk2/tree/rpmc-update Judah Vang (28): MdeModulePkg: Add new GUID for Variable Store Info SecurityPkg: Add new GUIDs for

Re: [edk2-devel] [PATCH v5 0/8] Add Variable Flash Info HOB

2022-04-29 Thread Michael Kubacki
I agree that would be a useful tool and in the case of changes such as this that provide backward compatibility with existing functionality, particularly helpful. Some packages such as MdePkg (https://github.com/tianocore/edk2/blob/master/MdePkg/MdeLibs.dsc.inc) and NetworkPkg

Re: [edk2-devel] [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB

2022-04-29 Thread Guo Dong
Reviewed-by: Guo Dong -Original Message- From: Tan, Dun Sent: Wednesday, April 27, 2022 11:46 PM To: devel@edk2.groups.io Cc: Tan, Dun ; Ni, Ray ; Dong, Guo ; You, Benjamin ; Rhodes, Sean ; Liu, Zhiguang Subject: [Patch V2] UefiPayloadPkg: Add definition for PayloadCommandLine HOB

Re: [edk2-devel] [PATCH v6] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-04-29 Thread Rebecca Cran
The Standard_Error_Output.log file isn't even really useful (it should show a diff), but there's something wrong with the coding style in Bhyve.c: Files with formatting errors:  Formatting errors in Bhyve/AcpiPlatformDxe/Bhyve.c -- Rebecca Cran On 4/29/22 07:55, Ard Biesheuvel wrote: (+

Re: [edk2-devel] [PATCH v6] OvmfPkg/Bhyve: add support for QemuFwCfg

2022-04-29 Thread Ard Biesheuvel
(+ sean, mike) I tried to merge this but it is rejected by CI, and I got lost in the maze of CI status and report pages. Could someone please figure out what's wrong? https://github.com/tianocore/edk2/pull/2841 On Wed, 27 Apr 2022 at 12:07, Corvin Köhne wrote: > > QemuFwCfg is much more

Re: [edk2-devel] [PATCH v5 0/8] Add Variable Flash Info HOB

2022-04-29 Thread Ard Biesheuvel
On Tue, 26 Apr 2022 at 03:29, wrote: > > From: Michael Kubacki > > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3479 > > Platforms: This series introduces a new library class called > VariableFlashInfoLib. Platforms using the variable modules will > need to specify these library classes.

Re: [edk2-devel] [PATCH edk2-platforms v1 0/3] Enable PCI/CPU topology generation for Juno

2022-04-29 Thread Ard Biesheuvel
On Fri, 29 Apr 2022 at 15:39, Pierre Gondois wrote: > > Hello Ard, > Sami is on leave for the next 2 weeks. > Also, just in case, this patch-set has a dependency on: > https://edk2.groups.io/g/devel/message/89348 > Yes, that is why I asked him to review: he is the DynamicTablesPkg maintainer, so

Re: [edk2-devel] [edk2-platforms][PATCH v2 00/11] Add VariableFlashInfoLib

2022-04-29 Thread Ard Biesheuvel
On Tue, 26 Apr 2022 at 04:19, wrote: > > From: Michael Kubacki > > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3479 > > Adds an instance for the library class VariableFlashInfoLib that > was recently introduced in MdeModulePkg. This change is made to > allow the new variable driver to

Re: [edk2-devel] [PATCH edk2-platforms v1 0/3] Enable PCI/CPU topology generation for Juno

2022-04-29 Thread PierreGondois
Hello Ard, Sami is on leave for the next 2 weeks. Also, just in case, this patch-set has a dependency on: https://edk2.groups.io/g/devel/message/89348 Regards, Pierre On 4/29/22 15:35, Ard Biesheuvel wrote: On Wed, 27 Apr 2022 at 17:00, PierreGondois wrote: From: Pierre Gondois

Re: [edk2-devel] [PATCH edk2-platforms v1 0/3] Enable PCI/CPU topology generation for Juno

2022-04-29 Thread Ard Biesheuvel
On Wed, 27 Apr 2022 at 17:00, PierreGondois wrote: > > From: Pierre Gondois > > DEPENDENCY: > This patch set relies on a fix sent at: > https://edk2.groups.io/g/devel/message/89348 > > The DynamicTablesPkg can now generate the AML description of the > PCI/CPU topology information. Use these new

Re: [edk2-devel] [PATCH v2 1/1] Platform/ARM: FVP: set IORT RC address limit for FVP RevC

2022-04-29 Thread Ard Biesheuvel
On Thu, 28 Apr 2022 at 11:53, Edward Pickup wrote: > > When booting Linux on FVP RevC, Linux reports the following error: > > ACPI: IORT: [Firmware Bug]: Root complex missing memory address limit > > This issue is due to the RC Address Limit not being configured in the > configuration manager for

[edk2-devel] [PATCH v3 10/10] MdePkg/CompilerIntrinsicsLib: add new sources to CompilerIntrinsicsLib.inf

2022-04-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- .../CompilerIntrinsicsLib.inf| 16 1 file changed, 16 insertions(+) diff --git a/MdePkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf

[edk2-devel] [PATCH v3 08/10] MdePkg/CompilerIntrinsicsLib: drop debug logging from Gcc.c

2022-04-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- .../Library/CompilerIntrinsicsLib/Ia32/Gcc.c | 22 --- 1 file changed, 22 deletions(-) diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c index

[edk2-devel] [PATCH v3 09/10] MdePkg/CompilerIntrinsicsLib: remove duplicate functions from Gcc.c

2022-04-29 Thread Gerd Hoffmann
Implementations for those functions already exist, so remove them to avoid duplicate symbols. Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- .../Library/CompilerIntrinsicsLib/Ia32/Gcc.c | 47 --- 1 file changed, 47 deletions(-) diff --git

[edk2-devel] [PATCH v3 04/10] MdePkg/CompilerIntrinsicsLib: move ia32 intrinsics and strcmp

2022-04-29 Thread Gerd Hoffmann
Move intrinsics for ia32 from CryptoPkg/Library/IntrinsicLib to MdePkg/Library/CompilerIntrinsicsLib. Also move strcmp. Remove CryptoPkg/Library/IntrinsicLib. Use MdePkg/Library/CompilerIntrinsicsLib instead. Update all references. Signed-off-by: Gerd Hoffmann Acked-by: Jiewen Yao Acked-by:

[edk2-devel] [PATCH v3 07/10] MdePkg/CompilerIntrinsicsLib: drop include from Gcc.c

2022-04-29 Thread Gerd Hoffmann
Does not exist and is not needed. Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c b/MdePkg/Library/CompilerIntrinsicsLib/Ia32/Gcc.c index

[edk2-devel] [PATCH v3 06/10] MdePkg/CompilerIntrinsicsLib: add SPDX License tags

2022-04-29 Thread Gerd Hoffmann
It's not an exact match, edk2 expects "BSD-2-Clause-Patent" but http://opensource.org/licenses/bsd-license.php references in comments is "BSD-2-Clause". Guess I need an explicit Intel explicitly agreeing to this even though that is a rather minor change ... Signed-off-by: Gerd Hoffmann

[edk2-devel] [PATCH v3 01/10] MdePkg: promote CompilerIntrinsicsLib from ArmPkg to MdePkg

2022-04-29 Thread Gerd Hoffmann
First step in creating a single, common compiler intrinsics library for everybody who needs it. Move the ArmPkg library to MdePkg, update all references. No code changes. Signed-off-by: Gerd Hoffmann Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel Acked-by: Liming Gao ---

[edk2-devel] [PATCH v3 05/10] MdePkg/CompilerIntrinsicsLib: copy over intrinsics from edk2-libc repo

2022-04-29 Thread Gerd Hoffmann
Copy over unmodified (except for running through uncrustify), from https://github.com/tianocore/edk2-libc/tree/master/StdLib/LibC/CRT Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- .../Library/CompilerIntrinsicsLib/Ia32/Gcc.c | 283 ++

[edk2-devel] [PATCH v3 02/10] MdePkg/CompilerIntrinsicsLib: fix msft sources for x64

2022-04-29 Thread Gerd Hoffmann
Update #if conditions so the 64bit version is picked for X64 too. Signed-off-by: Gerd Hoffmann Acked-by: Jiewen Yao Acked-by: Ard Biesheuvel Acked-by: Liming Gao --- MdePkg/Library/CompilerIntrinsicsLib/memcmp_ms.c | 2 +- MdePkg/Library/CompilerIntrinsicsLib/memcpy_ms.c | 2 +-

[edk2-devel] [PATCH v3 03/10] MdePkg/CompilerIntrinsicsLib: move size_t typedef to header file

2022-04-29 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Acked-by: Liming Gao --- .../{memset_ms.c => types_ms.h} | 29 +-- .../Library/CompilerIntrinsicsLib/memcpy_ms.c | 6 +--- .../CompilerIntrinsicsLib/memmove_ms.c| 6 +--- .../Library/CompilerIntrinsicsLib/memset_ms.c | 6 +---

[edk2-devel] [PATCH v3 00/10] consolidate compiler intrinsics

2022-04-29 Thread Gerd Hoffmann
This is an attept to start cleaning up the messy compiler intrinsics situation. Today we don't have a core intrinsics library, resulting in everybody creating their own. ArmPkg has one, CryptoPkg has one. I'm sure there are many more. This doesn't make sense. Given we can't avoid compiler

Re: [edk2-devel] [PATCH v5 4/5] Ovmf/PlatformPei: Use host-provided GPA end if available

2022-04-29 Thread Gerd Hoffmann
On Mon, Apr 25, 2022 at 11:43:49PM +0200, Ojeda Leon, Nicolas via groups.io wrote: > Read the "hardware-info" item from fw-cfg to extract specifications > of PCI host bridges and analyze the 64-bit apertures of them to > find out the highest 64-bit MMIO address required which determines > the

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Gerd Hoffmann
Hi, > > > Can Linux allocate resource for PCI(E) devices? How does it deal with the > > > IO type? > > > > Yes. Details depend a bit on the specific configuration, but in general > > linux will try assign io address space to pcie root ports and devices > > plugged into those ports. A

Re: [edk2-devel] Does BaseTools support VS2022?

2022-04-29 Thread Ni, Ray
I am asking this because I met a VS2019 build issue when I installed the VS2022. I had to uninstall it. Not sure about the latest status. From: devel@edk2.groups.io On Behalf Of Ni, Ray Sent: Friday, April 29, 2022 5:13 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Sean Brogan Subject:

[edk2-devel] Does BaseTools support VS2022?

2022-04-29 Thread Ni, Ray
Hi tool experts, I noticed that VS2022 17.1 has been released. Does BaseTools support VS2022? if no, any plan? Thanks, Ray -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89393): https://edk2.groups.io/g/devel/message/89393 Mute This

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Ni, Ray
> > Hi, > > > > I'd say the risk for regressions is rather low, though, given that it > > > only affects configurations that would fail PCI resource allocation > > > today. Or am I missing something? > > > > > > In any case, the PCIe spec is clear about this: I/O space is optional, > > > and

Re: [edk2-devel] 回复: [PATCH v2 00/10] consolidate compiler intrinsics

2022-04-29 Thread Gerd Hoffmann
On Fri, Apr 29, 2022 at 02:41:25PM +0800, gaoliming wrote: > Gerd: > Do you plan to catch this change into edk2 202205 stable tag? That would be great, yes. Working on v3 of the series right now (solving conflicts), will the update post soon. > For this patch set, Acked-by: Liming Gao

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Gerd Hoffmann
Hi, > > I'd say the risk for regressions is rather low, though, given that it > > only affects configurations that would fail PCI resource allocation > > today. Or am I missing something? > > > > In any case, the PCIe spec is clear about this: I/O space is optional, > > and we need to

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Ni, Ray
> -Original Message- > From: devel@edk2.groups.io On Behalf Of Ard Biesheuvel > Sent: Friday, April 29, 2022 3:00 PM > To: Gerd Hoffmann > Cc: Ni, Ray ; devel@edk2.groups.io; Pawel Polawski > ; Ard Biesheuvel > ; Gao, Liming ; Wu, Hao > A ; Oliver Steffen > ; Leif Lindholm ; Justen, >

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Ard Biesheuvel
On Fri, 29 Apr 2022 at 08:50, Gerd Hoffmann wrote: > > On Wed, Apr 27, 2022 at 03:08:50AM +, Ni, Ray wrote: > > Ard, > > can you explain more? > > > > Your code changes the PciHostBridge driver to ignore the failure of IO > > allocation. > > If IO requirement of certain PCI(E) devices can be

Re: [edk2-devel] [PATCH v5 1/6] MdeModulePkg/PciHostBridge: io range is not mandatory

2022-04-29 Thread Gerd Hoffmann
On Wed, Apr 27, 2022 at 03:08:50AM +, Ni, Ray wrote: > Ard, > can you explain more? > > Your code changes the PciHostBridge driver to ignore the failure of IO > allocation. > If IO requirement of certain PCI(E) devices can be ignored, can you change > the IncompatiblePciDevice protocol

[edk2-devel] 回复: [PATCH v2 00/10] consolidate compiler intrinsics

2022-04-29 Thread gaoliming
Gerd: Do you plan to catch this change into edk2 202205 stable tag? For this patch set, Acked-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: Gerd Hoffmann > 发送时间: 2022年4月12日 22:07 > 收件人: devel@edk2.groups.io > 抄送: Maurice Ma ; Andrew Fish > ; Pawel Polawski ; Benjamin You > ; Yuwei

回复: [edk2-devel] [PATCH] PcAtChipsetPkg: Change the flow of PcRtcInit()

2022-04-29 Thread gaoliming
Zhuoran: Ray is the maintainer of PcAtChipsetPkg. Can you collect his feedback on this change? Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Zhuoran Chao > 发送时间: 2022年4月29日 13:43 > 收件人: devel@edk2.groups.io; Gao, Liming > 抄送: Ni, Ray > 主题: Re: [edk2-devel] [PATCH]