[edk2-devel] Topics for March TianoCore Community Meeting

2024-03-05 Thread Michael D Kinney
Please let me know if you have any topics for the TianoCore Community Meeting this month. Mike -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116424): https://edk2.groups.io/g/devel/message/116424 Mute This Topic:

[edk2-devel] [PATCH] MdePkg: Add devAuthBoot GlobalVariable

2024-03-05 Thread Wenxing Hou
According to UEFI 2.10 spec 3.3 Globally Defined Variables section, add devAuthBoot GlobalVariable. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou --- MdePkg/Include/Guid/GlobalVariable.h | 8 +++-

Re: [edk2-devel] [edk2-redfish-client][PATCH 3/3] RedfishClientPkg/Features: support config2 protocol

2024-03-05 Thread Nickle Wang via groups.io
Yes that is correct. Regards, Nickle > -Original Message- > From: devel@edk2.groups.io On Behalf Of Chang, Abner > via groups.io > Sent: Wednesday, March 6, 2024 1:51 PM > To: Nickle Wang ; devel@edk2.groups.io > Cc: Igor Kulchytskyy ; Nick Ramirez > Subject: Re: [edk2-devel]

Re: [edk2-devel] [edk2-redfish-client][PATCH 00/13] use Redfish HTTP protocol

2024-03-05 Thread Nickle Wang via groups.io
Thanks for your feedback, Igor! I will create a patch and remove RedfishLib in RedfishClientPkg. Regards, Nickle From: Igor Kulchytskyy Sent: Wednesday, March 6, 2024 1:50 AM To: Nickle Wang ; Mike Maslenkin ; devel@edk2.groups.io Cc: Abner Chang Subject: RE: [EXTERNAL] RE: [edk2-devel]

Re: [edk2-devel] [edk2-redfish-client][PATCH 2/3] RedfishClientPkg/Edk2RedfishResourceConfigLib: support config2 protocol

2024-03-05 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Looks good to me. Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Monday, March 4, 2024 9:27 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [edk2-redfish-client][PATCH 2/3] >

Re: [edk2-devel] [edk2-redfish-client][PATCH 3/3] RedfishClientPkg/Features: support config2 protocol

2024-03-05 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Hi Nickle, I think we have to merge this patch with 2/3. Otherwise, the build will be failed on the commit of 2/3, right? Thanks Abner > -Original Message- > From: Nickle Wang > Sent: Monday, March 4, 2024 9:27 PM > To: devel@edk2.groups.io > Cc:

Re: [edk2-devel] [edk2-redfish-client][PATCH 1/3] RedfishClientPkg: introduce Redfish resource config2 protocol.

2024-03-05 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] > -Original Message- > From: Nickle Wang > Sent: Monday, March 4, 2024 9:27 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [edk2-redfish-client][PATCH 1/3] RedfishClientPkg: introduce Redfish > resource

[edk2-devel] [PATCH v2] MdePkg: Add TCG PFP 1.06 support.

2024-03-05 Thread Wenxing Hou
Add support for TCG PC Client Platform Firmware Profile Specification 1.06. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou --- MdePkg/Include/IndustryStandard/Spdm.h| 4 +- .../IndustryStandard/UefiTcgPlatform.h| 186

[edk2-devel] [PATCH v2 2/2] MdePkg: Add gEfiDeviceSignatureDatabaseGuid to dec

2024-03-05 Thread Wenxing Hou
According to UEFI 2.10 spec 32.8.2 UEFI Device Signature Variable GUID and Variable Name section, add gEfiDeviceSignatureDatabaseGuid to dec. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou --- MdePkg/MdePkg.dec | 8 +++- 1 file changed, 7

[edk2-devel] [PATCH v2 1/2] MdePkg: Add UEFI 2.10 DeviceAuthentication

2024-03-05 Thread Wenxing Hou
According to UEFI 2.10 spec 32.8.2 UEFI Device Signature Variable GUID and Variable Name section, add signature database for device authentication. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou --- MdePkg/Include/Guid/DeviceAuthentication.h |

[edk2-devel] [PATCH v2 0/2] MdePkg: Add UEFI 2.10 DeviceAuthentication

2024-03-05 Thread Wenxing Hou
According to UEFI 2.10 spec 32.8.2 UEFI Device Signature Variable GUID and Variable Name section, add signature database for device authentication and add add gEfiDeviceSignatureDatabaseGuid to dec. Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu Cc: Jiewen Yao Signed-off-by: Wenxing Hou

[edk2-devel] Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, March 5, 2024 #cal-reminder

2024-03-05 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, March 5, 2024 6:30pm to 7:30pm (UTC-08:00) America/Los Angeles *Where:*

[edk2-devel] [PATCH v4 6/6] uefi-sct/SctPkg: TCG MORLOCK Locked with Key State Test

2024-03-05 Thread Abhimanyu Singh
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Locked with Key State test cases -Add remaining Assertions 32 - 49 from SCT spec -Add Test Case to

[edk2-devel] [PATCH v4 5/6] uefi-sct/SctPkg: TCG MORLOCK Locked No Key State Test

2024-03-05 Thread Abhimanyu Singh
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Locked No Key State test cases -Add Assertions 21 - 31 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G

[edk2-devel] [PATCH v4 3/6] uefi-sct/SctPkg: TCG MORLOCK SetVariable Test

2024-03-05 Thread Abhimanyu Singh
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLockSetVariable test cases -Add Assertions 7 through 16 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G

[edk2-devel] [PATCH v4 4/6] uefi-sct/SctPkg: TCG MORLOCK Unlocked State Test

2024-03-05 Thread Abhimanyu Singh
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlLock Unlocked State test cases -Add Assertions 17, 18, 19, and 20 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest

[edk2-devel] [PATCH v4 2/6] uefi-sct/SctPkg: TCG MOR SetVariable Test

2024-03-05 Thread Abhimanyu Singh
SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement MemoryOverwriteRequestControlSetVariable test cases -Add Assertions 5 and 6 from SCT spec -Add Test Case to MemoryOverwriteRequestFunctionTest Cc: G Edhaya Chandran

[edk2-devel] [PATCH v4 1/6] uefi-sct/SctPkg: TCG Platform Reset Check Test

2024-03-05 Thread Abhimanyu Singh
From: "Abhi.Singh" SCT spec: https://bugzilla.tianocore.org/show_bug.cgi?id=4374 BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4419 -Implement initial test infrastructure for all test cases including updates to: CommonGenFramework.sh, UEFI_SCT.dsc, and Category.ini. -Add Guid.c and

[edk2-devel] [PATCH v4 0/6] EDK2-TEST TCG MOR Tests

2024-03-05 Thread Abhimanyu Singh
Updates after feedback from Heinrich -updated deprecated useage of HandleProtocol() to OpenProtocol(). -added checks for unexpected values for Step and CheckpointStep values. -added check if system fails to cold reset, returns EFI_DEVICE_ERROR. -cast Attributes to (UINTN) when passing to

Re: [edk2-devel] [edk2-redfish-client][PATCH 00/13] use Redfish HTTP protocol

2024-03-05 Thread Igor Kulchytskyy via groups.io
Reviewed-by: Igor Kulchytskyy Whole patch reviewed Regards, Igor -Original Message- From: Nickle Wang Sent: Thursday, February 29, 2024 3:53 AM To: devel@edk2.groups.io Cc: Abner Chang ; Igor Kulchytskyy Subject: [EXTERNAL] [edk2-redfish-client][PATCH 00/13] use Redfish HTTP protocol

Re: [edk2-devel] [edk2-redfish-client][PATCH 00/13] use Redfish HTTP protocol

2024-03-05 Thread Igor Kulchytskyy via groups.io
Hi Nickle, Sorry, for late response. AMI does not use RedfishLib in RedfishClientPkg, but library in RedfishPkg used. Thank you, Igor From: Nickle Wang Sent: Thursday, February 29, 2024 8:24 PM To: Mike Maslenkin ; devel@edk2.groups.io; Igor Kulchytskyy Cc: Abner Chang Subject: [EXTERNAL]

Re: [edk2-devel] [PATCH v2 6/6] uefi-sct/SctPkg: TCG2 Protocol: add SubmitCommand test

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116403): https://edk2.groups.io/g/devel/message/116403 Mute This Topic: https://groups.io/mt/103625307/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 5/6] uefi-sct/SctPkg: TCG2 Protocol: add GetEventLog test

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116402): https://edk2.groups.io/g/devel/message/116402 Mute This Topic: https://groups.io/mt/103625306/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 4/6] uefi-sct/SctPkg: TCG2 Protocol: add HashLogExtendEvent test

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116401): https://edk2.groups.io/g/devel/message/116401 Mute This Topic: https://groups.io/mt/103625303/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 3/6] uefi-sct/SctPkg: TCG2 Protocol: add GetActivePcrBanks test

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116400): https://edk2.groups.io/g/devel/message/116400 Mute This Topic: https://groups.io/mt/103625301/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 2/6] uefi-sct/SctPkg: TCG2 Protocol: add test infrastructure and GetCapability Test

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116399): https://edk2.groups.io/g/devel/message/116399 Mute This Topic: https://groups.io/mt/103625304/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 1/6] uefi-sct/SctPkg: TCG2 Protocol: add header with TCG2 protocol definitions

2024-03-05 Thread G Edhaya Chandran
Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116398): https://edk2.groups.io/g/devel/message/116398 Mute This Topic: https://groups.io/mt/103625305/21656 Group Owner: devel+ow...@edk2.groups.io

Re: [edk2-devel] [PATCH v2 0/6] Tests for TCG2 Protocol

2024-03-05 Thread G Edhaya Chandran
Hi Stuart, Thank you for the contribution on TCG2 protocol. They significantly improve the coverage of edk2-test. Reviewed-by: G Edhaya Chandran -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116397):

Re: [edk2-devel] [PATCH v1 1/6] uefi-sct/SctPkg: TCG2 Protocol: add header with TCG2 protocol definitions

2024-03-05 Thread Stuart Yoder
On 12/15/23 8:30 AM, Heinrich Schuchardt wrote: On 12/15/23 00:39, Stuart Yoder wrote: From: Joseph Hemann Please, provide commit messages. This is fixed in v2 of the patch series. (Sent Jan 9) Thanks, Stuart -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to

Re: 回复: [edk2-devel] [PATCH v1 1/1] MdeModulePkg: Warn if out of flash space when writing variables

2024-03-05 Thread Laszlo Ersek
On 3/5/24 13:44, Oliver Steffen wrote: > The root cause is of course not addressed by this, but it might also be > hard to solve. One would have to identify obsolete network/hardware > settings somehow, but there is no way to tell if a certain NIC/MAC > might come back at a later point or not.

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread Abdul Lateef Attar via groups.io
Hi Pierre,     Thanks for reaching out, my patches are non-disruptive (wont impact existing ARM code base). I think lets review and integrate to main branch. Thanks AbduL On 05-03-2024 19:33, Pierre Gondois wrote: Caution: This message originated from an External Source. Use proper

Re: [edk2-devel] [edk2-platforms PATCH v2 4/4] SG2042Pkg/Sec: clean up ProcessLibraryConstructorList() decl

2024-03-05 Thread Sunil V L
On Tue, Mar 05, 2024 at 01:01:26PM +0100, Laszlo Ersek wrote: > declares a bogus > ProcessLibraryConstructorList() for the SG2042Pkg SEC module. Rely on > AutoGen for (properly) declaring ProcessLibraryConstructorList(). Remove > the correct, but superfluous, declaration as well. > >

Re: [edk2-devel] [PATCH v2 04/10] OvmfPkg/RiscVVirt/Sec: clean up ProcessLibraryConstructorList() decl

2024-03-05 Thread Sunil V L
On Tue, Mar 05, 2024 at 12:38:37PM +0100, Laszlo Ersek wrote: > declares a bogus > ProcessLibraryConstructorList() for the OvmfPkg/RiscVVirt SEC module. Rely > on AutoGen for (properly) declaring ProcessLibraryConstructorList(). > Remove the correct, but superfluous, declaration as well. > >

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread PierreGondois
Hello Adblu, Thanks for the patches. As the staging branch will see a lot of code changes, it would be not integrate new objects in the next weeks. Would it be possible to delay a bit the integration of your patches ? Regards, Pierre On 3/5/24 12:09, Attar, AbdulLateef (Abdul Lateef) wrote:

Re: [edk2-devel] [edk2-platforms PATCH v2 3/4] LoongArchQemuPkg: auto-gen & fix SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Chao Li
Hi Laszlo, If the SPEC and BaseTools are ready, then then that's fine with me. Reviewed-by: Chao Li Thanks, Chao On 2024/3/5 20:01, Laszlo Ersek wrote: declares a bogus ProcessLibraryConstructorList() for LoongArchQemuPkg's SEC module. Rely on AutoGen for (properly) declaring

Re: [edk2-devel] [PATCH v2 05/10] ArmPlatformPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Ard Biesheuvel
On Tue, 5 Mar 2024 at 12:39, Laszlo Ersek wrote: > > Rely on AutoGen for declaring ProcessLibraryConstructorList(). > > Build-tested with: > > build -a AARCH64 -b DEBUG \ > -m ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf \ > -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5 > > build -a

Re: [edk2-devel] [PATCH v2 06/10] ArmVirtPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Ard Biesheuvel
On Tue, 5 Mar 2024 at 12:39, Laszlo Ersek wrote: > > Rely on AutoGen for declaring ProcessLibraryConstructorList(). > > Build-tested with: > > build -a AARCH64 -b DEBUG \ > -m ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf \ > -p ArmVirtPkg/ArmVirtKvmTool.dsc -t GCC5 > > Cc: Ard

Re: [edk2-devel] [edk2-platforms PATCH v2 1/4] BeagleBoardPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Ard Biesheuvel
On Tue, 5 Mar 2024 at 13:01, Laszlo Ersek wrote: > > Rely on AutoGen for declaring ProcessLibraryConstructorList(). > > Build-tested with: > > build -a ARM -b DEBUG \ > -m Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf \ > -p

Re: 回复: [edk2-devel] [PATCH v1 1/1] MdeModulePkg: Warn if out of flash space when writing variables

2024-03-05 Thread Oliver Steffen
Quoting Laszlo Ersek (2024-03-05 08:33:57) > On 3/5/24 01:40, gaoliming via groups.io wrote: > > Oliver: > > If there is no enough space, Variable driver will reclaim flash and > > reserve the enough space at boot time. > > What if the flash is genuinely fully occupied by *live* non-volatile >

Re: [edk2-devel] [PATCH v2 00/10] clean up ProcessLibraryConstructorList() declarations in SEC modules

2024-03-05 Thread Yao, Jiewen
For OvmfPkg, reviewed-by: Jiewen Yao > -Original Message- > From: Laszlo Ersek > Sent: Tuesday, March 5, 2024 7:39 PM > To: edk2-devel-groups-io > Cc: Warkentin, Andrei ; Andrew Fish > ; Ard Biesheuvel ; S, Ashraf Ali > ; Feng, Bob C ; West, Catharine > ; Chiu, Chasel ; Duggapu, >

Re: [edk2-devel] [PATCH v8 14/37] UefiCpuPkg: Add CpuMmuLib to UefiCpuPkg

2024-03-05 Thread Chao Li
OK, I'll give it a try. Thanks, Chao On 2024/3/5 20:09, Laszlo Ersek wrote: On 3/5/24 12:50, Chao Li wrote: Hi Laszlo, OK, I see, let's me try. And I have another question: Where should the low-level library be placed? Under the UefiCpuPkg/Library and as the same folder as CpuMmuLib? In my

Re: [edk2-devel] [PATCH v8 14/37] UefiCpuPkg: Add CpuMmuLib to UefiCpuPkg

2024-03-05 Thread Laszlo Ersek
On 3/5/24 12:50, Chao Li wrote: > Hi Laszlo, > > OK, I see, let's me try. And I have another question: > > Where should the low-level library be placed? Under the > UefiCpuPkg/Library and as the same folder as CpuMmuLib? In my opinion: Under UefiCpuPkg/Library -- yes. In the same folder as

[edk2-devel] [edk2-platforms PATCH v2 4/4] SG2042Pkg/Sec: clean up ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for the SG2042Pkg SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Remove the correct, but superfluous, declaration as well. Build-tested with: build -a RISCV64 -b DEBUG -m

[edk2-devel] [edk2-platforms PATCH v2 2/4] SimicsOpenBoardPkg: auto-gen & fix SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for SimicsOpenBoardPkg's SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Update the call. Build-tested with: - appending the following directories to PACKAGES_PATH: Drivers Features/Intel

[edk2-devel] [edk2-platforms PATCH v2 3/4] LoongArchQemuPkg: auto-gen & fix SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for LoongArchQemuPkg's SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Update the call. Build-tested with: build -a LOONGARCH64 -b DEBUG \ -m Platform/Loongson/LoongArchQemuPkg/Sec/SecMain.inf \ -p

[edk2-devel] [edk2-platforms PATCH v2 1/4] BeagleBoardPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a ARM -b DEBUG \ -m Platform/BeagleBoard/BeagleBoardPkg/PrePi/PeiUniCore.inf \ -p Platform/BeagleBoard/BeagleBoardPkg/BeagleBoardPkg.dsc -t GCC5 Cc: Ard Biesheuvel Cc: Leif Lindholm Ref:

[edk2-devel] [edk2-platforms PATCH v2 0/4] clean up ProcessLibraryConstructorList() declarations in SEC modules

2024-03-05 Thread Laszlo Ersek
Bugzilla: - https://bugzilla.tianocore.org/show_bug.cgi?id=990 This patch series puts the recent BaseTools feature to use in which AutoGen generates the ProcessLibraryConstructorList() declaration in "AutoGen.h" for such non-library SEC modules whose INF_VERSION is at least 1.30. The BaseTools

Re: [edk2-devel] [PATCH v8 14/37] UefiCpuPkg: Add CpuMmuLib to UefiCpuPkg

2024-03-05 Thread Chao Li
Hi Laszlo, OK, I see, let's me try. And I have another question: Where should the low-level library be placed? Under the UefiCpuPkg/Library and as the same folder as CpuMmuLib? Thanks, Chao On 2024/3/5 17:26, Laszlo Ersek wrote: Hello Chao, On 3/4/24 04:39, Chao Li wrote: Hi Laszlo, OK.

[edk2-devel] [PATCH v2 10/10] UefiPayloadPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: python UefiPayloadPkg/UniversalPayloadBuild.py -a X64 -b DEBUG -t GCC5 python UefiPayloadPkg/UniversalPayloadBuild.py -a X64 -b DEBUG -f \ -t GCC5 build -a X64 -b DEBUG -p

[edk2-devel] [PATCH v2 09/10] UefiCpuPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m UefiCpuPkg/SecCore/SecCore.inf \ -p UefiCpuPkg/UefiCpuPkg.dsc -t GCC5 build -a X64 -b DEBUG -m UefiCpuPkg/SecCore/SecCoreNative.inf \ -p UefiCpuPkg/UefiCpuPkg.dsc -t GCC5 Cc:

[edk2-devel] [PATCH v2 08/10] IntelFsp2Pkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m IntelFsp2Pkg/FspSecCore/Fsp24SecCoreM.inf \ -p IntelFsp2Pkg/IntelFsp2Pkg.dsc -t GCC5 build -a X64 -b DEBUG -m IntelFsp2Pkg/FspSecCore/FspSecCoreM.inf \ -p

[edk2-devel] [PATCH v2 07/10] EmulatorPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a X64 -b DEBUG -m EmulatorPkg/Sec/Sec.inf \ -p EmulatorPkg/EmulatorPkg.dsc -t GCC5 Cc: Andrew Fish Cc: Ray Ni Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=990 Signed-off-by: Laszlo Ersek ---

[edk2-devel] [PATCH v2 04/10] OvmfPkg/RiscVVirt/Sec: clean up ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for the OvmfPkg/RiscVVirt SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Remove the correct, but superfluous, declaration as well. Build-tested with: build -a RISCV64 -b DEBUG -m

[edk2-devel] [PATCH v2 06/10] ArmVirtPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a AARCH64 -b DEBUG \ -m ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf \ -p ArmVirtPkg/ArmVirtKvmTool.dsc -t GCC5 Cc: Ard Biesheuvel Cc: Gerd Hoffmann Cc: Leif Lindholm Cc: Sami Mujawar

[edk2-devel] [PATCH v2 05/10] ArmPlatformPkg: auto-generate SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
Rely on AutoGen for declaring ProcessLibraryConstructorList(). Build-tested with: build -a AARCH64 -b DEBUG \ -m ArmPlatformPkg/PrePeiCore/PrePeiCoreMPCore.inf \ -p ArmPlatformPkg/ArmPlatformPkg.dsc -t GCC5 build -a AARCH64 -b DEBUG \ -m

[edk2-devel] [PATCH v2 03/10] OvmfPkg/IntelTdx: auto-gen & fix SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for IntelTdx's SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Update the call. Build-tested with: build -a X64 -b DEBUG -m OvmfPkg/IntelTdx/Sec/SecMain.inf \ -p OvmfPkg/IntelTdx/IntelTdxX64.dsc -t GCC5

[edk2-devel] [PATCH v2 02/10] OvmfPkg: auto-generate (and fix) SEC ProcessLibraryConstructorList() decl

2024-03-05 Thread Laszlo Ersek
declares a bogus ProcessLibraryConstructorList() for OVMF's SEC module. Rely on AutoGen for (properly) declaring ProcessLibraryConstructorList(). Update the call. Build-tested with: build -a X64 -b DEBUG -m OvmfPkg/Sec/SecMain.inf \ -p OvmfPkg/OvmfPkgX64.dsc -t GCC5 Cc: Ard Biesheuvel

[edk2-devel] [PATCH v2 00/10] clean up ProcessLibraryConstructorList() declarations in SEC modules

2024-03-05 Thread Laszlo Ersek
Bugzillas: - https://bugzilla.tianocore.org/show_bug.cgi?id=990 - https://bugzilla.tianocore.org/show_bug.cgi?id=991 - https://bugzilla.tianocore.org/show_bug.cgi?id=4643 CI: - https://github.com/tianocore/edk2/pull/5442 Branch: -

[edk2-devel] [PATCH v2 01/10] pip-requirements.txt: require edk2-basetools version 0.1.51

2024-03-05 Thread Laszlo Ersek
The edk2-basetools commit that corresponds to edk2 commit bac9c74080cf ("BaseTools/AutoGen: declare ProcessLibraryConstructorList() for SEC modules", 2024-02-29) is 5b7161de22ee ("BaseTools/AutoGen: declare ProcessLibraryConstructorList() for SEC modules", 2024-03-04); it is part of tag v0.1.51.

[edk2-devel] [PATCH v1 1/2] ShellPkg/Acpiview: Adds HPET parser

2024-03-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Adds HPET parse to the UefiShellAcpiViewCommandLib library. Cc: Zhichao Gao Cc: Pierre Gondois Signed-off-by: Abdul Lateef Attar --- .../UefiShellAcpiViewCommandLib/AcpiParser.h | 17 ++ .../Parsers/Hpet/HpetParser.c | 221 ++

[edk2-devel] [PATCH v1 2/2] ShellPkg/Acpiview: Adds ACPI WSMT Table parser

2024-03-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Adds WSMT parse to the UefiShellAcpiViewCommandLib library. Cc: Zhichao Gao Cc: Pierre Gondois Signed-off-by: Abdul Lateef Attar --- .../UefiShellAcpiViewCommandLib/AcpiParser.h | 17 .../Parsers/Wsmt/WsmtParser.c | 89 +++

[edk2-devel] [PATCH v1 0/2] ShellPkg/AcpiView: Adds HPET and WSMT parser

2024-03-05 Thread Abdul Lateef Attar via groups.io
From: Abdul Lateef Attar Adds HPET and WSMT parser for acpiview. Cc: Zhichao Gao Cc: Pierre Gondois Abdul Lateef Attar (2): ShellPkg/Acpiview: Adds HPET parser ShellPkg/Acpiview: Adds ACPI WSMT Table parser .../UefiShellAcpiViewCommandLib/AcpiParser.h | 34 +++

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread Abdul Lateef Attar via groups.io
Hi Sami, Sunil,     Yesterday I submitted few patches on main branch; I'll port those changes to this staging branch. Currently from AMD X64 perspective I'm working on ACPI tables, once that is done, then will move to smbios tables. Thanks AbduL On 05-03-2024 16:22, Sunil V L wrote:

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 1/2] DynamicTablesPkg: Introduce an Arch Common Namespace

2024-03-05 Thread Sami Mujawar
Hi Sunil, Thank you for the feedback. > + > +The CM_OBJECT_ID type is used to identify the Configuration Manager > + objects. > + > +## Description of Configuration Manager Object ID > + > +| 31 30 29 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | > 15 | 14 | 13 | 12 | 11 | 10

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread Sunil V L
Hi Sami, On Mon, Mar 04, 2024 at 04:46:15PM +, Sami Mujawar wrote: > This series is an initial proposal for introducing an Arch Common > namespace. Based on the mailing list discussions, further patch > series to move the configuration manager objects to the Arch > Common namespace and the

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 1/2] DynamicTablesPkg: Introduce an Arch Common Namespace

2024-03-05 Thread Sunil V L
On Mon, Mar 04, 2024 at 04:46:16PM +, Sami Mujawar wrote: > Introduce an Arch Common Namespace so that the common > architectural objects can be defined under this namespace > in the Configuration manager. Also rearrange the namespace > IDs so that the Arch Common Namespace has a value of 0x1,

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread Sami Mujawar
Hi Pierre, The staging branches have been created at: https://github.com/tianocore/edk2-staging/tree/dynamictables-reorg https://github.com/tianocore/edk2-platforms/tree/devel-dynamictables-reorg It would be good to have feedback from other stakeholders for this patch series. Regards, Sami

Re: [edk2-devel] [PATCH v8 14/37] UefiCpuPkg: Add CpuMmuLib to UefiCpuPkg

2024-03-05 Thread Laszlo Ersek
Hello Chao, On 3/4/24 04:39, Chao Li wrote: > Hi Laszlo, > > OK. > > When I discussed the CpuMmuLib API as a public API with Ray in the early > days, the API recommended by Ray should be the patch 13 in this series, > which only contains set/get memory region attribute, but in the first >

Re: [edk2-devel] [PATCH] OvmfPkg/SmbiosPlatformDxe: tweak fallback release date again

2024-03-05 Thread Laszlo Ersek
On 3/4/24 12:37, joeyli via groups.io wrote: > Hi, > > On Wed, Feb 07, 2024 at 04:02:52PM +0800, joeyli via groups.io wrote: >> On Wed, Feb 07, 2024 at 03:55:49PM +0800, joeyli wrote: >>> Hi Laszlo, >>> >>> First, thanks for your review! >>> >>> On Mon, Feb 05, 2024 at 05:41:25PM +0100, Laszlo

Re: [edk2-devel] [staging/dynamictables-reorg PATCH v1 0/2] DynamicTablesPkg: Arch Common Namespace

2024-03-05 Thread PierreGondois
Hello Sami, The patches look good to me: Reviewed-by: Pierre Gondois Shall we proceed to create the staging branch ? Regards, Pierre On 3/4/24 17:46, Sami Mujawar wrote: This series is an initial proposal for introducing an Arch Common namespace. Based on the mailing list discussions,