Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Ard Biesheuvel
On Tue, 12 Dec 2023 at 08:17, Mike Beaton wrote: > > > > A completely different approach, which allows clang to spot that the > > > usage has been 'optimised away' and so to not complain (and therefore > > > allows us to re-enable the warning in CLANGDWARF as well), is the > > > following: > > >

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
> > A completely different approach, which allows clang to spot that the > > usage has been 'optimised away' and so to not complain (and therefore > > allows us to re-enable the warning in CLANGDWARF as well), is the > > following: > > > > --- a/MdePkg/Include/Library/DebugLib.h > > +++

Re: [edk2-devel] [PATCH v3 06/11] CryptoPkg: Add all .inf files for BaseCryptLibMbedTls

2023-12-11 Thread Alexey Kardashevskiy via groups.io
ah never mind, sorry for the noise. Needed to build BaseTools/Source/C and install some packages. On 12/12/23 14:52, Alexey Kardashevskiy via groups.io wrote: Hi, This broke build: nice build -q --cmd-len=64436 -n 20 -t GCC5 -a X64 -p OvmfPkg/OvmfPkgX64.dsc build.py...

Re: [edk2-devel] [PATCH v3 06/11] CryptoPkg: Add all .inf files for BaseCryptLibMbedTls

2023-12-11 Thread Alexey Kardashevskiy via groups.io
Hi, This broke build: nice build -q --cmd-len=64436 -n 20 -t GCC5 -a X64 -p OvmfPkg/OvmfPkgX64.dsc build.py... /home/aik/p/o-snp/CryptoPkg/CryptoPkg.dec(32): error 000E: File/directory not found in workspace /home/aik/p/o-snp/CryptoPkg/Library/MbedTlsLib/mbedtls/include What am I

Re: [edk2-devel] [PATCH v3 11/39] UefiCpuPkg: Add LoongArch64 CPU Timer library

2023-12-11 Thread Chao Li
Hi Laszlo, Thanks for reviewing again this patch while you are sick and please take care. My opinion is as follow: Thanks, Chao On 2023/12/12 01:16, Laszlo Ersek wrote: On 11/23/23 12:43, Chao Li wrote: On 2023/11/23 00:12, Laszlo Ersek wrote: On 11/17/23 11:00, Chao Li wrote: Add the

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, December 12, 2023 #cal-reminder

2023-12-11 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, December 12, 2023 6:30pm to 7:30pm (UTC-08:00) America/Los Angeles *Where:*

Re: [edk2-devel] [Patch V3 0/6] Create and consume a new gMpInformationHobGuid2 in UefiCpuPkg.

2023-12-11 Thread duntan
Hi Laszlo, Thanks for your reply. Sorry that I didn't add you in the reviewer list from the beginning of this patch series review. About the patch review, please take your time. Also take care your body! The patch set was reviewed-by Ray last week. So I think we can merge the patch set first.

Re: [edk2-devel] [PATCH 0/4] Add DEBUG_MANAGEABILITY to debug level comments

2023-12-11 Thread Rebecca Cran
On 12/11/2023 6:17 PM, Laszlo Ersek wrote: On 12/9/23 01:33, Rebecca Cran via groups.io wrote: On 12/8/2023 5:19 PM, Rebecca Cran wrote: Add the new DEBUG_MANAGEABILITY debug level to MdePkg.dec and MdePkg.uni. Improve the wording of the description of the DEBUG_MANAGEABILITY level in

Re: [edk2-devel] [PATCH 0/4] Add DEBUG_MANAGEABILITY to debug level comments

2023-12-11 Thread Laszlo Ersek
On 12/9/23 01:33, Rebecca Cran via groups.io wrote: > On 12/8/2023 5:19 PM, Rebecca Cran wrote: >> Add the new DEBUG_MANAGEABILITY debug level to MdePkg.dec and MdePkg.uni. >> >> Improve the wording of the description of the DEBUG_MANAGEABILITY >> level in >> DebugLib.h. >> >> Update the comment

回复: [edk2-devel] [PATCH v4 1/1] MdeModulePkg: Support customized FV Migration Information

2023-12-11 Thread gaoliming via groups.io
Fan: Please separate the patch for the different packages. Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Wang Fan > 发送时间: 2023年12月11日 17:06 > 收件人: devel@edk2.groups.io > 抄送: Fan Wang ; Michael D Kinney > ; Liming Gao ; > Ray Ni ; Guomin Jiang ; Jian J > Wang > 主题:

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Laszlo Ersek
On 12/11/23 18:26, Mike Beaton wrote: >>> I believe this would be logically wrong, as the other versions still >>> wouldn't compile if you changed the relevant debug Pcds. (Which are >>> logically independent of the compile and link options - e.g. what if for >>> some reason you wanted to single

回复: [edk2-devel] [PATCH 1/1] MdePkg/IndustryStandard: Add _PSD/_CPC/Coord types definitions

2023-12-11 Thread gaoliming via groups.io
The change is good to me. Reviewed-by: Liming Gao Thanks Liming > -邮件原件- > 发件人: devel@edk2.groups.io 代表 > PierreGondois > 发送时间: 2023年12月6日 17:43 > 收件人: Ni, Ray ; devel@edk2.groups.io > 抄送: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; Sami > Mujawar ; Leif Lindholm > > 主题: Re:

Re: [edk2-devel] [PATCH v2 3/3] UefiCpuPkg/CpuMpPei: Use CpuPageTableLib to set memory attribute.

2023-12-11 Thread Laszlo Ersek
On 12/1/23 09:42, Ni, Ray wrote: > Reviewed-by: Ray Ni This series seems to have been merged meanwhile -- that's good, because I could have usefully reviewed only patch#1, and only ACK patches #2 and #3, due to time constraints. However... please do report on the list whenever a series is

[edk2-devel] 回复: [PATCH v1 1/1] BaseTools: Resolve regex syntax warnings

2023-12-11 Thread gaoliming via groups.io
Joey: Does this change still work on old python version, such as Python 3.9? Thanks Liming > -邮件原件- > 发件人: Joey Vagedes > 发送时间: 2023年12月7日 4:27 > 收件人: devel@edk2.groups.io > 抄送: Rebecca Cran ; Liming Gao > ; Bob Feng ; Yuwei Chen > > 主题: [PATCH v1 1/1] BaseTools: Resolve regex syntax

Re: [edk2-devel] [Patch V2] UefiCpuPkg/PiSmmCpuDxeSmm: SmmCpuRendezvous ensure all Aps in Present.

2023-12-11 Thread Laszlo Ersek
On 12/6/23 04:35, Wu, Jiaxin wrote: >> (1) Here's why I don't like this: >> >> we already have a function that is supposed to do this, and it is >> SmmWaitForApArrival(). >> >> SmmWaitForApArrival() is called in two contexts. One, in BSPHandler(). >> Two, here. >> >> Consider the following

[edk2-devel] 回复: [PATCH v3] MdePkg: Add a new memory type definition

2023-12-11 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: ManickamX Srinivasan > 发送时间: 2023年12月8日 13:37 > 收件人: devel@edk2.groups.io > 抄送: ManickamX Srinivasan ; Michael D > Kinney ; Liming Gao > ; Zhiguang Liu ; T V > Krishnamoorthy > 主题: [PATCH v3] MdePkg: Add a new memory type definition > > New

回复: [edk2-devel] [PATCH] MdePkg: Define the DevicePath argument from LoadImage as optional

2023-12-11 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 ManickamX > Srinivasan > 发送时间: 2023年12月8日 15:29 > 收件人: devel@edk2.groups.io > 抄送: ManickamX Srinivasan ; Zhiguang > Liu ; Michael D Kinney > ; Liming Gao ; T > V Krishnamoorthy > 主题: [edk2-devel] [PATCH] MdePkg: Define the

Re: [edk2-devel] [PATCH V2] RedfishPkg/RedfishDicovery: Remedy Redfish service discovery flow

2023-12-11 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Here is the PR https://github.com/tianocore/edk2/pull/5139 with Igor's RB for the V1. Hi Igor, please check it again as I had moved the code around. Thanks Abner > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chang, > Abner via

Re: [edk2-devel] [PATCH v2 1/1] OvmfPkg/VirtNorFlashDxe: sanity-check variables

2023-12-11 Thread Laszlo Ersek
On 12/7/23 10:44, Gerd Hoffmann wrote: > Extend the ValidateFvHeader function, additionally to the header checks > walk over the list of variables and sanity check them. > > In case we find inconsistencies indicating variable store corruption > return EFI_NOT_FOUND so the variable store will be

[edk2-devel] [PATCH v2 4/4] [WIP] UefiPayloadPkg: Support SMRAMC register

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron Former Intel platforms controlled SMRAM protection using a dedicated register. SlimBootloader-supported platforms have converged on the SMRR, but for coreboot to support prior platforms too, lock-down is advised. Requires testing. TODO: It is more correct to install a

[edk2-devel] [PATCH v2 3/4] [WIP] UefiPayloadPkg/CbParseLib: Initial coreboot support for SMM payload

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron To be used with the https://review.coreboot.org/c/coreboot/+/70378 patch-series. Now feature complete, awaiting final upstream feedback whether generating some data inside coreboot is okay. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by:

[edk2-devel] [PATCH v2 2/4] UefiPayloadPkg: Introduce coreboot FMAP parser library

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron Parse coreboot FMAP structures to find the memory region in SPI flash by the FMAP area name. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Benjamin Doron --- UefiPayloadPkg/Include/Coreboot.h | 21

[edk2-devel] [PATCH v2 1/4] UefiPayloadPkg/SblParseLib: Build SMM feature GUID HOBs from bootloader

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron UefiPayload does not install all SBL HOBs, EDK2-relevant ones must be installed individually. This was omitted from the SMM feature pushes. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Benjamin Doron ---

[edk2-devel] [PATCH v1 4/4] [WIP] UefiPayloadPkg: Support SMRAMC register

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron Former Intel platforms controlled SMRAM protection using a dedicated register. SlimBootloader-supported platforms have converged on the SMRR, but for coreboot to support prior platforms too, lock-down is advised. Requires testing. TODO: It is more correct to install a

[edk2-devel] [PATCH v1 3/4] [WIP] UefiPayloadPkg/CbParseLib: Initial coreboot support for SMM payload

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron To be used with the https://review.coreboot.org/c/coreboot/+/70378 patch-series. Now feature complete, awaiting final upstream feedback whether generating some data inside coreboot is okay. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by:

[edk2-devel] [PATCH v1 2/4] UefiPayloadPkg: Introduce coreboot FMAP parser library

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron Parse coreboot FMAP structures to find the memory region in SPI flash by the FMAP area name. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Benjamin Doron --- UefiPayloadPkg/Include/Coreboot.h | 21

[edk2-devel] [PATCH v1 1/4] UefiPayloadPkg/SblParseLib: Build SMM feature GUID HOBs from bootloader

2023-12-11 Thread Benjamin Doron
From: Benjamin Doron UefiPayload does not install all SBL HOBs, EDK2-relevant ones must be installed individually. This was omitted from the SMM feature pushes. Cc: Guo Dong Cc: Ray Ni Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: Benjamin Doron ---

Re: [edk2-devel] [PATCH 1/1] OutOfBandManagement/SpcrFeaturePkg: PCD based IRQ/GSI

2023-12-11 Thread Nate DeSimone
Pushed as 3c0adfe. -Original Message- From: Abdul Lateef Attar Sent: Wednesday, August 2, 2023 11:35 PM To: devel@edk2.groups.io Cc: Abdul Lateef Attar ; Chaganty, Rangasai V ; Oram, Isaac W ; Desimone, Nathaniel L ; Gao, Liming ; Abner Chang Subject: [PATCH 1/1]

Re: [edk2-devel] [PATCH 1/1] OutOfBandManagement/SpcrFeaturePkg: PCD based IRQ/GSI

2023-12-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: Abdul Lateef Attar Sent: Wednesday, August 2, 2023 11:35 PM To: devel@edk2.groups.io Cc: Abdul Lateef Attar ; Chaganty, Rangasai V ; Oram, Isaac W ; Desimone, Nathaniel L ; Gao, Liming ; Abner Chang Subject: [PATCH 1/1]

Re: [edk2-devel] [PATCH v1 1/1] IpmiFeaturePkg/GenericIpmi: Sync change from SMM

2023-12-11 Thread Nate DeSimone
Pushed as 7afba0. -Original Message- From: Huang, Li-Xia Sent: Tuesday, December 5, 2023 11:00 PM To: devel@edk2.groups.io Cc: Abner Chang ; Desimone, Nathaniel L Subject: [PATCH v1 1/1] IpmiFeaturePkg/GenericIpmi: Sync change from SMM Sync change from SMM to StandaloneMm GenericIpmi

Re: [edk2-devel] [PATCH v1 1/1] IpmiFeaturePkg/GenericIpmi: Sync change from SMM

2023-12-11 Thread Nate DeSimone
Reviewed-by: Nate DeSimone -Original Message- From: Huang, Li-Xia Sent: Tuesday, December 5, 2023 11:00 PM To: devel@edk2.groups.io Cc: Abner Chang ; Desimone, Nathaniel L Subject: [PATCH v1 1/1] IpmiFeaturePkg/GenericIpmi: Sync change from SMM Sync change from SMM to StandaloneMm

Re: [edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API in BaseIoLibIntrinsic

2023-12-11 Thread Michael D Kinney
Merged: https://github.com/tianocore/edk2/pull/5138 > -Original Message- > From: Kinney, Michael D > Sent: Monday, December 11, 2023 9:34 AM > To: Tan, Dun ; devel@edk2.groups.io > Cc: Gao, Liming ; Liu, Zhiguang > ; Ni, Ray ; Kinney, Michael D > > Subject: RE: [edk2-devel] [PATCH 2/2]

Re: [edk2-devel] [PATCH v7 1/5] UefiCpuPkg: Add macro definitions for CET feature for NASM files.

2023-12-11 Thread Laszlo Ersek
On 12/7/23 10:01, Sheng Wei wrote: > Hi Ray, > I update the copyright year and add your review-by for the 5 patches. > And here is the PR https://github.com/tianocore/edk2/pull/5109 Why was my Reviewed-by removed from v6 patches #2 through #5? Those patches didn't change between v6 and v7,

Re: [edk2-devel] [Patch V4 0/3] UefiCpuPkg/MpInitLib: Eliminate redundant microcode loading in DXE.

2023-12-11 Thread Laszlo Ersek
On 11/24/23 04:45, Ni, Ray wrote: > Reviewed-by: Ray Ni Please go ahead with merging this. The patch set has changed so much since v2 (which I last reviewed) that I can't perform an incremental review, and I can't review this from zero at the moment. Thanks Laszlo > > Thanks, > Ray >>

Re: [edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API in BaseIoLibIntrinsic

2023-12-11 Thread Michael D Kinney
Acked-by: Michael D Kinney Mike > -Original Message- > From: Tan, Dun > Sent: Wednesday, December 6, 2023 1:26 AM > To: devel@edk2.groups.io; Tan, Dun > Cc: Kinney, Michael D ; Gao, Liming > ; Liu, Zhiguang ; Ni, > Ray > Subject: RE: [edk2-devel] [PATCH 2/2] MdePkg:simplify Fifo API

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
> > I believe this would be logically wrong, as the other versions still > > wouldn't compile if you changed the relevant debug Pcds. (Which are > > logically independent of the compile and link options - e.g. what if for > > some reason you wanted to single step with the Debug Pcds set to > >

Re: [edk2-devel] [PATCH edk2-test v2 0/4] Various improvements to the repo

2023-12-11 Thread Rebecca Cran
I don't appear to have permission to push to the edk2-test repo. Could somebody merge my change please? Thanks. Rebecca On 11/10/2023 12:08 PM, Rebecca Cran wrote: Some improvements to the edk2-test repository. Since buildzip.sh creates output that appears more useful for running on the

Re: [edk2-devel] [PATCH v2] CloudHv: Add CI for CloudHv on AArch64

2023-12-11 Thread Laszlo Ersek
Hi Jianyong, On 12/11/23 17:31, Laszlo Ersek wrote: > On 11/23/23 04:22, Jianyong Wu wrote: >> Add the long lost CI for CloudHv on AArch64. >> As CloudHv CI works nearly the same way with other VMMs like KvmTool, >> thus we can easily create its CI configuration based on KvmTool. >> >>

Re: [edk2-devel] [PATCH v3 11/39] UefiCpuPkg: Add LoongArch64 CPU Timer library

2023-12-11 Thread Laszlo Ersek
On 11/23/23 12:43, Chao Li wrote: > On 2023/11/23 00:12, Laszlo Ersek wrote: >> On 11/17/23 11:00, Chao Li wrote: >>> Add the LoongArch64 CPU Timer library, using CPUCFG 0x4 and 0x5 for >>> Stable Counter frequency. >>> >>> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4584 >>> >>> Cc: Eric

Re: [edk2-devel] [PATCH] MdePkg/BaseFdtLib: Rename standard functions

2023-12-11 Thread Jeff Brasen via groups.io
Hit send before adding the cc on this one. (Would probably be good to get that added to here (https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Development-Process) so copy paste doesn't get folks . I sent them as different patch series as I thought this one might cause some

Re: [edk2-devel] [PATCH edk2-test v2 2/4] Rename files in HowToBuild to avoid spaces in filenames

2023-12-11 Thread G Edhaya Chandran
Thank you, Rebecca. However the other reviewers too felt that your naming convention was more apt. So we will take it as it is. No need of any changes. With Warm Regards, Edhay > -Original Message- > From: Rebecca Cran > Sent: Monday, December 11, 2023 9:38 PM > To: G Edhaya Chandran ;

Re: [edk2-devel] [PATCH v2] CloudHv: Add CI for CloudHv on AArch64

2023-12-11 Thread Laszlo Ersek
On 11/23/23 04:22, Jianyong Wu wrote: > Add the long lost CI for CloudHv on AArch64. > As CloudHv CI works nearly the same way with other VMMs like KvmTool, > thus we can easily create its CI configuration based on KvmTool. > > Reviewed-by: Laszlo Ersek > Signed-off-by: Jianyong Wu > --- >

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Laszlo Ersek
On 12/11/23 16:18, Mike Beaton wrote: > I believe this would be logically wrong, as the other versions still > wouldn't compile if you changed the relevant debug Pcds. (Which are > logically independent of the compile and link options - e.g. what if for > some reason you wanted to single step with

Re: [edk2-devel] [PATCH edk2-test v2 2/4] Rename files in HowToBuild to avoid spaces in filenames

2023-12-11 Thread Rebecca Cran
On 11/29/2023 1:06 AM, G Edhaya Chandran wrote: Hi Rebecca, Thank you for these updates. Just a matter of style, but can we do HowToBuild*SCT*.txt instead of HowToBuild*Sct*.txt? Sure! I can make that change just before I push the series. -- Rebecca Cran -=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH] MdePkg/BaseFdtLib: Rename standard functions

2023-12-11 Thread Pedro Falcato
On Mon, Dec 11, 2023 at 3:40 PM Jeff Brasen via groups.io wrote: > Jeff, You're missing CC's on this patch. Also, you should probably send the 3 patches in a single series, since they're all related. > Rename the standard functions in the LibFdtSupport to remove conflicts > with other

Re: [edk2-devel] [PATCH v9 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2023-12-11 Thread Pedro Falcato
On Mon, Dec 4, 2023 at 8:30 AM Dhaval Sharma wrote: > > Use newly defined cache management operations for RISC-V where possible > It builds up on the support added for RISC-V cache management > instructions in BaseLib. > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Laszlo

[edk2-devel] [PATCH] EmbeddedPkg/PrePiMemoryAllocationLib: Add ReallocatePool

2023-12-11 Thread Jeff Brasen via groups.io
Add implementation of ReallocatePool which is defined in the MemoryAllocationLib header file to allow components to not need special handling for PrePi module types. Signed-off-by: Jeff Brasen --- .../MemoryAllocationLib.c | 57 +++ 1 file changed, 57

[edk2-devel] [PATCH] EmbeddedPkg: Add DtPlatformLoaderLib gmock support

2023-12-11 Thread Jeff Brasen via groups.io
Add Google Mock Library for DtPlatformLoaderDtbLib Signed-off-by: Jeff Brasen --- EmbeddedPkg/EmbeddedPkg.dec | 1 + .../Library/MockDtPlatformDtbLoaderLib.h | 31 +++ .../MockDtPlatformDtbLoaderLib.cpp| 13

[edk2-devel] [PATCH] MdePkg: Add FdtLib gmock support

2023-12-11 Thread Jeff Brasen via groups.io
Add Google Mock Library for FdtLib Signed-off-by: Jeff Brasen --- .../Include/GoogleTest/Library/MockFdtLib.h | 165 ++ .../GoogleTest/MockFdtLib/MockFdtLib.cpp | 34 .../GoogleTest/MockFdtLib/MockFdtLib.inf | 28 +++ 3 files changed, 227 insertions(+) create

Re: [edk2-devel] [PATCH v9 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2023-12-11 Thread Pedro Falcato
On Mon, Dec 11, 2023 at 3:20 PM Sunil V L wrote: > > On Mon, Dec 11, 2023 at 03:09:19PM +, Pedro Falcato wrote: > > On Mon, Dec 11, 2023 at 1:12 PM Sunil V L wrote: > > > > > > On Sun, Dec 10, 2023 at 07:51:12PM +0530, Dhaval Sharma wrote: > > [...] > > > > nit: Can we pick a log style here?

[edk2-devel] [PATCH] MdePkg/BaseFdtLib: Rename standard functions

2023-12-11 Thread Jeff Brasen via groups.io
Rename the standard functions in the LibFdtSupport to remove conflicts with other libraries that define them. Signed-off-by: Jeff Brasen --- MdePkg/Library/BaseFdtLib/LibFdtSupport.h | 16 +++ MdePkg/Library/BaseFdtLib/LibFdtWrapper.c | 25 ++- 2 files changed,

Re: [edk2-devel] [PATCH v9 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2023-12-11 Thread Sunil V L
On Mon, Dec 11, 2023 at 03:09:19PM +, Pedro Falcato wrote: > On Mon, Dec 11, 2023 at 1:12 PM Sunil V L wrote: > > > > On Sun, Dec 10, 2023 at 07:51:12PM +0530, Dhaval Sharma wrote: > [...] > > > nit: Can we pick a log style here? Like : > > > In this case, "CacheOpCacheRange: Performing

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Mike Beaton
I believe this would be logically wrong, as the other versions still wouldn't compile if you changed the relevant debug Pcds. (Which are logically independent of the compile and link options - e.g. what if for some reason you wanted to single step with the Debug Pcds set to disabled, in a NOOPT

Re: [edk2-devel] [PATCH v9 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2023-12-11 Thread Pedro Falcato
On Mon, Dec 11, 2023 at 1:12 PM Sunil V L wrote: > > On Sun, Dec 10, 2023 at 07:51:12PM +0530, Dhaval Sharma wrote: [...] > > nit: Can we pick a log style here? Like : > > In this case, "CacheOpCacheRange: Performing ...". It's just prettier > > and more greppable. > > My interpretation of this

Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable unneeded-internal-declaration warning in CLANGPDB

2023-12-11 Thread Laszlo Ersek
On 12/10/23 11:18, Mike Beaton wrote: > From: Mike Beaton > > This warning was already disabled in CLANGDWARF by commit > d3225577123767fd09c91201d27e9c91663ae132. > > gcc can distinguish between optimised-away variable usage (as can occur in > valid debug code) and genuinely unused variables,

[edk2-devel] [PATCH V2] RedfishPkg/RedfishDicovery: Remedy Redfish service discovery flow

2023-12-11 Thread Chang, Abner via groups.io
From: Abner Chang Remedy Redfish service discovery flow changes made in commit 8736b8fd. The above fix creates the dependency with SMBIOS 42h record, which has a problem as SMBIOS 42h may not be created when RedfishDiscovery.Supported() is invoked even all of the required protocols are ready on

Re: [edk2-devel] [PATCH v3] ArmVirt: Allow memory attributes protocol to be disabled

2023-12-11 Thread Ard Biesheuvel
On Mon, 11 Dec 2023 at 15:33, Laszlo Ersek wrote: > > On 12/11/23 11:55, Gerd Hoffmann wrote: > >> + // > >> + // Work around shim's terminally broken use of the EFI memory attributes > >> + // protocol, by uninstalling it if requested on the QEMU command line. > >> + // > >> + // E.g., > >>

Re: [edk2-devel] [PATCH v3] ArmVirt: Allow memory attributes protocol to be disabled

2023-12-11 Thread Laszlo Ersek
On 12/11/23 11:55, Gerd Hoffmann wrote: >> + // >> + // Work around shim's terminally broken use of the EFI memory attributes >> + // protocol, by uninstalling it if requested on the QEMU command line. >> + // >> + // E.g., >> + // -fw_cfg

Re: [edk2-devel] [PATCH v2] ArmVirt: Allow memory attributes protocol to be disabled on first boot

2023-12-11 Thread Laszlo Ersek
On 12/8/23 16:34, Ard Biesheuvel wrote: > On Fri, 8 Dec 2023 at 15:34, Laszlo Ersek wrote: >>> diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec >>> index 0f2d7873279f..c55978f75c19 100644 >>> --- a/ArmVirtPkg/ArmVirtPkg.dec >>> +++ b/ArmVirtPkg/ArmVirtPkg.dec >>> @@ -68,3 +68,9

Re: [edk2-devel] [PATCH v3 4/5] DynamicTablesPkg: Adds API to generate a method with ArgN

2023-12-11 Thread PierreGondois
Hello Abdul, Thanks for the new patches. I reviewed this one, but I think it would be better to have one single generic function to handle the 2 cases (and the many more that might spawn) that you have. Would it be possible to make a function based on this kind of interface instead ? /* Type

Re: [edk2-devel] [Patch V3 0/6] Create and consume a new gMpInformationHobGuid2 in UefiCpuPkg.

2023-12-11 Thread Laszlo Ersek
Hi Dun, On 12/11/23 04:16, Tan, Dun wrote: > Hi Laszlo, > > Previously I sent a patch set " Move gMpInformationHobGuid from > StandaloneMmPkg to UefiCpuPkg. " and thanks for your review. To solve the > issue that the maximum length of one HOB might not be enough when CPU count > is 1-2000 or

Re: [edk2-devel] [PATCH v9 4/5] MdePkg: Utilize Cache Management Operations Implementation For RISC-V

2023-12-11 Thread Sunil V L
On Sun, Dec 10, 2023 at 07:51:12PM +0530, Dhaval Sharma wrote: > Thanks for the review. My comments inline: > > On Fri, Dec 8, 2023 at 9:58 AM Sunil V L wrote: > > > On Thu, Dec 07, 2023 at 10:31:48AM +0530, Dhaval Sharma wrote: > > > Comments inline: > > > > > > > > > On Wed, Dec 6, 2023 at

Re: [edk2-devel] [PATCH v2 1/2] SctPkg: Fix X64 build errors for GCC toolchain

2023-12-11 Thread Sunny Wang
Good fix and cleanup, Abdul. EFIAPI is needed for https://uefi.org/specs/UEFI/2.9_A/02_Overview.html#calling-conventions. Looks good to me as long as we can also successfully build AARCH64 and other architectures with this change. Reviewed-by: Sunny Wang -Original Message- From:

Re: [edk2-devel] [PATCH edk2-test v2 4/4] Fix the URL for the edk2-test repo

2023-12-11 Thread Sunny Wang
Good catch. Looks good to me. Thanks, Rebecca! Reviewed-by: Sunny Wang -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran via groups.io Sent: Friday, November 10, 2023 7:08 PM To: devel@edk2.groups.io; G Edhaya Chandran ; Barton Gao ; Carolyn Gjertsen ; Samer

Re: [edk2-devel] [PATCH edk2-test 3/4] Point users to the URL for edk2-test-parser if it doesn't exist

2023-12-11 Thread Sunny Wang
This is good. Thanks, Rebecca! Reviewed-by: Sunny Wang -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran via groups.io Sent: Friday, November 10, 2023 7:02 PM To: devel@edk2.groups.io; G Edhaya Chandran ; Barton Gao ; Carolyn Gjertsen ; Samer El-Haj-Mahmoud ;

Re: [edk2-devel] [PATCH edk2-test v2 2/4] Rename files in HowToBuild to avoid spaces in filenames

2023-12-11 Thread Sunny Wang
Looks good to me. Better to add https://github.com/tianocore/tianocore.github.io/wiki/Code-Style-C#user-content-CamelCase in commit message for reference. Reviewed-by: Sunny Wang -Original Message- From: devel@edk2.groups.io On Behalf Of Rebecca Cran via groups.io Sent: Friday,

Re: [edk2-devel] [PATCH edk2-test v2 1/4] Unbreak buildzip.sh

2023-12-11 Thread Sunny Wang
Looks good to me. The commit message looks a little confusing to me in the beginning because one of purposes to run the edksetup.sh is to correctly configure both WORKSPACE and PACKAGES_PATH. However, since buildzip.sh can be independently run, it seems better to remove the line of sourcing

Re: [edk2-devel] [PATCH v3] ArmVirt: Allow memory attributes protocol to be disabled

2023-12-11 Thread Gerd Hoffmann
> + // > + // Work around shim's terminally broken use of the EFI memory attributes > + // protocol, by uninstalling it if requested on the QEMU command line. > + // > + // E.g., > + // -fw_cfg opt/org.tianocore/UninstallMemAttrProtocol,string=y > + // > + // This is only needed on

[edk2-devel] [PATCH v3] ArmVirt: Allow memory attributes protocol to be disabled

2023-12-11 Thread Ard Biesheuvel
From: Ard Biesheuvel Shim's PE loader uses the EFI memory attributes protocol in a way that results in an immediate crash when invoking the loaded image, unless the base and size of its executable segment are both aligned to 4k. If this is not the case, it will strip the memory allocation of

[edk2-devel] [PATCH v3 5/5] DynamicTablesPkg: Adds wrapper API AmlCodeGenMethodInvokeMethodArgn

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Adds a wrapper API AmlCodeGenMethodInvokeMethodArgnWithInteger() to the AmlCodeGenMethodInvokeMethodArgn(). Wrapper API provides ability to add integer arguments along with ArgN argument. This help to generate dynamic code to invoke another method(might be in static ASL

[edk2-devel] [PATCH v3 4/5] DynamicTablesPkg: Adds API to generate a method with ArgN

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Adds an API to generate a method which invokes another method with arguments. This help to generate dynamic code to invoke another method(might be in static ASL file) with build-in argument parameters. e.g: Method (MET0, 6, Serialized) { \_SB.MET1 (Arg0, Arg1, Arg2,

[edk2-devel] [PATCH v3 0/5] DynamicTablesPkg: Updated word I/O

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar PR: https://github.com/tianocore/edk2/pull/5131/ Cc: Pierre Gondois Cc: Sami Mujawar Cc: Abdul Lateef Attar Abdul Lateef Attar (5): DynamicTablesPkg: AML Code generation for word I/O ranges DynamicTablesPkg: Corrects AmlCodeGenRdWordBusNumber parameters

[edk2-devel] [PATCH v3 3/5] DynamicTablesPkg: Corrects function pointer typedef of AML_PARSE_FUNCTION

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Corrects the function pointer typedef AML_PARSE_FUNCTION, otherwise some compiler like VS2019 gives error. Cc: Pierre Gondois Cc: Sami Mujawar Signed-off-by: Abdul Lateef Attar Reviewed-by: Pierre Gondois ---

[edk2-devel] [PATCH v3 2/5] DynamicTablesPkg: Corrects AmlCodeGenRdWordBusNumber parameters

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Corrects the parameters of AmlCodeGenRdWordBusNumber() to UINT16 to generate word bus number. Cc: Pierre Gondois Cc: Sami Mujawar Signed-off-by: Abdul Lateef Attar Reviewed-by: Pierre Gondois --- DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h | 10

[edk2-devel] [PATCH v3 1/5] DynamicTablesPkg: AML Code generation for word I/O ranges

2023-12-11 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Add helper functions to generate AML resource data for word I/O. Cc: Pierre Gondois Cc: Sami Mujawar Signed-off-by: Abdul Lateef Attar Reviewed-by: Pierre Gondois --- .../Include/Library/AmlLib/AmlLib.h | 65 ++

Re: [edk2-devel] [PATCH v3 13/39] UefiCpuPkg: Add CpuMmuLib.h to UefiCpuPkg

2023-12-11 Thread Chao Li
Ok, I will submit the V4 today. Thanks, Chao On 2023/12/11 16:13, Ni, Ray wrote: Thanks. I think we are aligned. Looking forward to your v4 patch. Thanks, Ray *From:*devel@edk2.groups.io *On Behalf Of *Chao Li *Sent:* Friday, December 8, 2023 10:10 AM *To:* Ni, Ray ; devel@edk2.groups.io

Re: [edk2-devel] [PATCH v2] ArmVirt: Allow memory attributes protocol to be disabled on first boot

2023-12-11 Thread Gerd Hoffmann
Hi, > OK, so not worth the trouble of trying to detect the first boot, I guess. > > For my info, is rhel-9.3 an old GRUB? 2.06 with a huge stack of downstream patches. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online

Re: [edk2-devel] [PATCH v4 1/1] MdeModulePkg: Support customized FV Migration Information

2023-12-11 Thread Wang Fan
Hi Ray, Liming, Mike and Jian I have updated the patch v4: https://edk2.groups.io/g/devel/message/112276 Pull Request: https://github.com/tianocore/edk2/pull/5124 v2: - Update commit message for better describe this feature v3: - Add more descriptions for "gEdkiiToMigrateFvInfoGuid" PPI

Re: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue

2023-12-11 Thread Yuwei Chen
Thanks a lot~ > -Original Message- > From: gaoliming > Sent: Monday, December 11, 2023 5:04 PM > To: Chen, Christine ; devel@edk2.groups.io; Feng, > Bob C > Cc: 'Rebecca Cran' ; Guo, Gua > Subject: 回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv > issue > > Christine:

回复: [edk2-devel] [edk2-stable202311][PATCH] BaseTools: Python VfrCompiler implementation

2023-12-11 Thread gaoliming via groups.io
Christine: Is there the change in Edk2 to apply new VfrCompiler? Can you share your code branch with new VfrCompiler to pass build on Emulator or Ovmf? I would like to try this tool first. Thanks Liming 发件人: Chen, Christine 发送时间: 2023年12月7日 17:08 收件人: devel@edk2.groups.io; Chen,

Re: [edk2-devel] [PATCH v2] ArmVirt: Allow memory attributes protocol to be disabled on first boot

2023-12-11 Thread Ard Biesheuvel
On Mon, Dec 11, 2023 at 10:06 AM Gerd Hoffmann wrote: > > On Thu, Dec 07, 2023 at 11:06:03AM +0100, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > > > Shim's PE loader uses the EFI memory attributes protocol in a way that > > results in an immediate crash when invoking the loaded image,

[edk2-devel] [PATCH v4 1/1] MdeModulePkg: Support customized FV Migration Information

2023-12-11 Thread Wang Fan
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4533 There are use cases which not all FVs need be migrated from TempRam to permanent memory before TempRam tears down. This new guid is introduced to avoid unnecessary FV migration to improve boot performance. Platform can publish MigrationInfo

Re: [edk2-devel] [PATCH v2] ArmVirt: Allow memory attributes protocol to be disabled on first boot

2023-12-11 Thread Gerd Hoffmann
On Thu, Dec 07, 2023 at 11:06:03AM +0100, Ard Biesheuvel wrote: > From: Ard Biesheuvel > > Shim's PE loader uses the EFI memory attributes protocol in a way that > results in an immediate crash when invoking the loaded image, unless the > base and size of its executable segment are both aligned

回复: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue

2023-12-11 Thread gaoliming via groups.io
Christine: I add PUSH label for this PR. Thanks Liming > -邮件原件- > 发件人: Chen, Christine > 发送时间: 2023年12月4日 10:59 > 收件人: Gao, Liming ; devel@edk2.groups.io; > Feng, Bob C > 抄送: 'Rebecca Cran' ; Guo, Gua > 主题: RE: [edk2-devel] [Patch V2 1/4] BaseTools: fixing FMMT ShrinkFv issue > > Hi

Re: [edk2-devel] [PATCH v3 13/39] UefiCpuPkg: Add CpuMmuLib.h to UefiCpuPkg

2023-12-11 Thread Ni, Ray
Thanks. I think we are aligned. Looking forward to your v4 patch. Thanks, Ray From: devel@edk2.groups.io On Behalf Of Chao Li Sent: Friday, December 8, 2023 10:10 AM To: Ni, Ray ; devel@edk2.groups.io Cc: Dong, Eric ; Kumar, Rahul R ; Gerd Hoffmann ; Leif Lindholm ; Ard Biesheuvel ; Sami

Re: [edk2-devel] [PATCH v2] NetworkPkg: Triger regularly scan only if not connect to AP

2023-12-11 Thread Heng Luo
Hi Zack, Could you please review the change? Thanks, Heng > -Original Message- > From: Kasbekar, Saloni > Sent: Saturday, December 2, 2023 5:25 AM > To: Luo, Heng ; devel@edk2.groups.io > Cc: Clark-williams, Zachary > Subject: RE: [PATCH v2] NetworkPkg: Triger regularly scan only if not