[edk2-devel] [PATCH v2 3/3] RedfishPkg/JsonLib: add object clear interface

2023-07-04 Thread Nickle Wang via groups.io
-Add JsonObjectClear() interface for application to clear all elements in JSON object. -Fix typo. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Chang --- RedfishPkg/Include/Library/JsonLib.h | 33 +-- RedfishPkg/Librar

[edk2-devel] [PATCH v2 2/3] RedfishPkg/RedfishPlatformConfigDxe: hide debug message

2023-07-04 Thread Nickle Wang via groups.io
Change debug message level of showing ordered list op-code to REDFISH_PLATFORM_CONFIG_DEBUG. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez --- .../RedfishPlatformConfigDxe.h| 2 +- .../RedfishPlatformConfigDxe.c| 24 +

[edk2-devel] [PATCH v2 1/3] RedfishPkg/RedfishRestExDxe: fix CPU exception in RedfishRestExDxe

2023-07-04 Thread Nickle Wang via groups.io
RedfishRestExDxe driver failed to uninstall service binding protocol when driver binding stop is called. Application drivers may still use RedfishRestExDxe after it is disconnected in system. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez Reviewed-by: Abner Ch

Re: [edk2-devel] [edk2 PATCH] MdePkg: Use same ProcessorBind symbol define for RISCV64

2023-07-04 Thread Xue, Gavin
Hi Pedro, There are 3 different include guard names for ProcessorBind.h file. AArch64/Arm/Ebc/Ia32/X64 use __PROCESSOR_BIND_H__ (start/end with 2 underscore characters). RISCV64 uses PROCESSOR_BIND_H__ (end with 2 underscore) LoongArch64 uses PROCESSOR_BIND_H_ (end with 1 underscore) From the c

[edk2-devel] Updated Event: TianoCore Community Meeting - APAC/NAMO - Thursday, July 13, 2023 #cal-invite

2023-07-04 Thread Group Notification
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:PUBLISH REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20230407T050750Z TZURL:https://www.tzurl.org/zoneinfo-outlook/America/Los_An

[edk2-devel] Updated Event: TianoCore Community Meeting EMEA/NAMO - Thursday, July 13, 2023 #cal-invite

2023-07-04 Thread Group Notification
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:PUBLISH REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20230407T050750Z TZURL:https://www.tzurl.org/zoneinfo-outlook/America/Los_An

[edk2-devel] [PATCH] RedfishPkg/RedfishDebugLib: add new interfaces

2023-07-04 Thread Nickle Wang via groups.io
Introduce DumpHiiStatementValue() and DumpRedfishValue() to RedfishDebugLib. Application uses these functions to debug print the value of HII_STATEMENT_VALUE and EDKII_REDFISH_VALUE. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy --- RedfishPkg/Include/Library/RedfishDebugLib.

Re: [edk2-devel] [Patch V4 0/5] Eliminate the second INIT-SIPI-SIPI sequence

2023-07-04 Thread Ni, Ray
Reviewed-by: Ray Ni > -Original Message- > From: devel@edk2.groups.io On Behalf Of Yuanhao Xie > Sent: Wednesday, June 28, 2023 4:47 PM > To: devel@edk2.groups.io > Subject: [edk2-devel] [Patch V4 0/5] Eliminate the second INIT-SIPI-SIPI > sequence > > To speed up MP initialization, thi

Re: [edk2-devel] [RFC][PATCH][edk2-redfish-client] RedfishClientPkg: rename RedfishResourceIdentifyLibComuterSystem

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang Thanks for catching this, all good except the [RFC] tag in the subject. 😊 Abner > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 6:36 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; nick...@nvidia.co

Re: [edk2-devel] [PATCH 0/2][edk2-redfish-client] fix trivial misprint

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Thank you Mike, please just create a PR for this. Abner > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 5:38 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; nick...@nvidia.com; > ig...@ami.com; Mike Maslenkin > Subject: [PA

Re: [edk2-devel] [PATCH 2/2][edk2-redfish-client] Tools: fix script name in README

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 5:38 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; nick...@nvidia.com; > ig...@ami.com; Mike Maslenkin > Subject: [PATCH 2/2][edk2-redfish-client] T

Re: [edk2-devel] [PATCH 1/2][edk2-redfish-client] RedfishClientPkg: fix format used for output __func__

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 5:38 AM > To: devel@edk2.groups.io > Cc: Chang, Abner ; nick...@nvidia.com; > ig...@ami.com; Mike Maslenkin > Subject: [PATCH 1/2][edk2-redfish-client] R

Re: [edk2-devel] [PATCH 3/3] RedfishPkg/JsonLib: add object clear interface

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Monday, July 3, 2023 9:21 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [PATCH 3/3] RedfishPkg/JsonLib: add object clear interfa

Re: [edk2-devel] [PATCH 2/3] RedfishPkg/RedfishPlatformConfigDxe: hide debug message

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Hi Nickle, Besides using REDFISH_PLATFORM_CONFIG_DEBUG, can we update REDFISH_PLATFORM_CONFIG_DEBUG to DEBUG_MANAGEABILITY? Thanks Abner > -Original Message- > From: Nickle Wang > Sent: Monday, July 3, 2023 9:20 PM > To: devel@edk2.groups.io > Cc: Chan

Re: [edk2-devel] [PATCH 1/3] RedfishPkg/RedfishRestExDxe: fix CPU exception in RedfishRestExDxe

2023-07-04 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Monday, July 3, 2023 9:20 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy ; > Nick Ramirez > Subject: [PATCH 1/3] RedfishPkg/RedfishRestExDxe: fix CPU excepti

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

2023-07-04 Thread Group Notification
*Reminder: TianoCore Bug Triage - APAC / NAMO* *When:* Tuesday, July 4, 2023 6:30pm to 7:30pm (UTC-07:00) America/Los Angeles *Where:* https://teams.microsoft.com/l/meetup-join/19%3ameeting_OTk1YzJhN2UtOGQwNi00NjY4LWEwMTktY2JiODRlYTY1NmY0%40thread.v2/0?context=%7b%22Tid%22%3a%2246c98d88-e344-4ed4

[edk2-devel] [edk2-staging][PATCH 1/1] BaseTools/Fmmt: Fix GCC warnings

2023-07-04 Thread Albecki, Mateusz
GCC is throwing a warning during BaseTools compilation which leads to build errors when Wall is set. This commit removes all conditions which are always true/false(Waddress warning) and wraps one snprintf in compiler pragma to disable format-truncation warning. Cc: Bob Feng Cc: Liming Gao Cc: Yu

Re: [edk2-devel] [PATCH 2/2][edk2-redfish-client] Tools: fix script name in README

2023-07-04 Thread Nickle Wang via groups.io
Reviewed-by: Nickle Wang Regards, Nickle > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 5:38 AM > To: devel@edk2.groups.io > Cc: abner.ch...@amd.com; Nickle Wang ; > ig...@ami.com; Mike Maslenkin > Subject: [PATCH 2/2][edk2-redfish-client] Tools: fix script

Re: [edk2-devel] [PATCH 1/2][edk2-redfish-client] RedfishClientPkg: fix format used for output __func__

2023-07-04 Thread Nickle Wang via groups.io
Reviewed-by: Nickle Wang Regards, Nickle > -Original Message- > From: Mike Maslenkin > Sent: Tuesday, July 4, 2023 5:38 AM > To: devel@edk2.groups.io > Cc: abner.ch...@amd.com; Nickle Wang ; > ig...@ami.com; Mike Maslenkin > Subject: [PATCH 1/2][edk2-redfish-client] RedfishClientPkg:

[edk2-devel] [PATCH 1/1] OvmfPkg/Include: remove QemuSmramSaveStateMap.h

2023-07-04 Thread Gerd Hoffmann
The qemu/kvm SMM emulation uses the AMD SaveState layout. So, now that we have AMD SaveState support merged we can just use Amd/SmramSaveStateMap.h, QemuSmramSaveStateMap.h is not needed any more. Signed-off-by: Gerd Hoffmann --- .../Include/Register/QemuSmramSaveStateMap.h | 178 -

Re: [edk2-devel] [PATCH 1/1] UefiCpuPkg/MpInitLib: fix apic mode for cpu hotplug

2023-07-04 Thread Gerd Hoffmann
On Wed, May 24, 2023 at 12:32:24PM +, Ni, Ray wrote: > Gerd, > I was busy on something else. The patch was ready and I am testing it before > sending them out. Ping. Any update? take care, Gerd > > Thanks, > Ray > > > > -Original Message- > > From: kra...@redhat.com > > Sent:

[edk2-devel] [PATCH v2 6/6] SecurityPkg/RngDxe: Simplify Rng algorithm selection for Arm

2023-07-04 Thread PierreGondois
From: Pierre Gondois The first element of mAvailableAlgoArray is defined as the default Rng algorithm to use. Don't go through the array at each RngGetRNG() call and just return the first element of the array. Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- .../RandomNumberGenerat

[edk2-devel] [PATCH v2 5/6] SecurityPkg/RngDxe: Use GetRngGuid() when probing RngLib

2023-07-04 Thread PierreGondois
From: Pierre Gondois BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4151 The EFI_RNG_PROTOCOL can rely on the RngLib. The RngLib has multiple implementations, some of them are unsafe (e.g. BaseRngLibTimerLib). To allow the RngDxe to detect when such implementation is used, a GetRngGuid() fun

[edk2-devel] [PATCH v2 4/6] MdePkg/Rng: Add GetRngGuid() to RngLib

2023-07-04 Thread PierreGondois
From: Pierre Gondois The EFI_RNG_PROTOCOL can use the RngLib. The RngLib has multiple implementations, some of them are unsafe (e.g. BaseRngLibTimerLib). To allow the RngDxe to detect when such implementation is used, add a GetRngGuid() function to the RngLib. Signed-off-by: Pierre Gondois Revi

[edk2-devel] [PATCH v2 3/6] MdePkg/Rng: Add GUIDs to describe Rng algorithms

2023-07-04 Thread PierreGondois
From: Pierre Gondois BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4441 The EFI_RNG_PROTOCOL can rely on the RngLib. The RngLib has multiple implementations, some of them are unsafe (e.g. BaseRngLibTimerLib). To allow the RngDxe to detect when such implementation is used, a GetRngGuid() fun

[edk2-devel] [PATCH v2 2/6] MdePkg/DxeRngLib: Request raw algorithm instead of default

2023-07-04 Thread PierreGondois
From: Pierre Gondois The DxeRngLib tries to generate a random number using the 3 NIST SP 800-90 compliant DRBG algorithms, i.e. 256-bits CTR, HASH and HMAC. If none of the call is successful, the fallback option is the default RNG algorithm of the EFI_RNG_PROTOCOL. This default algorithm might be

[edk2-devel] [PATCH v2 1/6] SecurityPkg/SecurityPkg.dec: Move PcdCpuRngSupportedAlgorithm to MdePkg

2023-07-04 Thread PierreGondois
From: Pierre Gondois In order to use PcdCpuRngSupportedAlgorithm in the MdePkg in a following patch and to avoid making the MdePkg dependent on another package, move PcdCpuRngSupportedAlgorithm to the MdePkg. As the Pcd is only used for AARCH64, place it in an AARCH64 specific sections. Signed-

[edk2-devel] [PATCH v2 0/6] SecurityPkg/MdePkg: Update RngLib GUID identification

2023-07-04 Thread PierreGondois
From: Pierre Gondois v2: [1/8] MdePkg/ArmTrngLib: Remove ASSERTs in Null implementation - Dropped [2/8] MdePkg/MdePkg.dec: Move PcdCpuRngSupportedAlgorithm to MdePkg - Change gEfiMdePkgTokenSpaceGuid.PcdCpuRngSupportedAlgorithm token number - Rename to SecurityPkg/SecurityPkg.dec: Move PcdCpu

Re: [edk2-devel] [PATCH edk2-platforms v2 3/3] Platform/SbsaQemu: handle systems without GIC ITS

2023-07-04 Thread Yuquan Wang
Hi, Marcin On 2023-07-04 15:36, marcin.juszkiewicz wrote: The problem is with QEMU 8.0.0 (no GIC ITS) where I get some kernel complaints about interrupts. And this is what I am working on right now. https://github.com/hrw/fork-edk2-platforms/commits/submit/0628-its has my work-in-progress tre

Re: [edk2-devel] [Patch V3] [edk2-staging] BaseTools/FMMT: C FMMT match new version machine defines

2023-07-04 Thread Yuwei Chen
Hi Liming and Cran, Can you help merge the code? It is urgent for us to use. 😊 Thanks a lot~ Thanks, Christine > -Original Message- > From: gaoliming > Sent: Tuesday, June 27, 2023 2:14 PM > To: Chen, Christine ; devel@edk2.groups.io > Cc: 'Rebecca Cran' ; Feng, Bob C > > Subject: 回复

Re: [edk2-devel] [PATCH edk2-platforms v2 3/3] Platform/SbsaQemu: handle systems without GIC ITS

2023-07-04 Thread Marcin Juszkiewicz
W dniu 4.07.2023 o 09:20, Yuquan Wang pisze: Sorry to disturb you but I would like to consult you a little question about this patch because of my lack of engineering experience: Q: It seems like that the third patch will delete Iort.aslc file and moving the creation of IORT into SbsaQemuAcpi

Re: [edk2-devel] [PATCH v2 1/1] OvmfPkg/README: Document Secure Boot

2023-07-04 Thread Gerd Hoffmann
On Fri, Jun 30, 2023 at 02:26:03AM +0400, Joursoir wrote: > Add the new section for Secure Boot. > > Signed-off-by: Alexander Goncharov Acked-by: Gerd Hoffmann take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#106627)

Re: [edk2-devel] [PATCH edk2-platforms v2 3/3] Platform/SbsaQemu: handle systems without GIC ITS

2023-07-04 Thread Yuquan Wang
Hi Marcin, Sorry to disturb you but I would like to consult you a little question about this patch because of my lack of engineering experience: Q: It seems like that the third patch will delete Iort.aslc file and moving the creation of IORT into SbsaQemuAcpiDxe driver, so the firmware can dyna

Re: [edk2-devel] [PATCH v4 5/7] OvmfPkg/RiscVVirt: Add VirtNorFlashDxe to APRIORI list

2023-07-04 Thread Sunil V L
On Mon, Jul 03, 2023 at 11:45:45PM -0700, Tuan Phan wrote: > As i said, VirtNorFlashDxe needed to be loaded before VariableRuntimeDxe so > your suggestion will not work. > Okay, at least for me, by removing APRIORI patch and adding this depex, edk2 boots fine with your series. I am not sure what w