[edk2-devel] [PATCH v5] IntelFsp2Pkg: Fsp T new ARCH UPD Support

2024-03-21 Thread cbduggap
Changes to support spec changes 1. Remove usage of Pcd. 2. Change code to validate the Temporary Ram size input. 3. Consume the input saved in YMM Register Cc: Sai Chaganty Cc: Nate DeSimone Cc: Chiu Chasel Cc: Duggapu Chinni B Signed-off-by: Duggapu Chinni B ---

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

2024-03-21 Thread gaoliming via groups.io
Reviewed-by: Liming Gao > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Wenxing Hou > 发送时间: 2024年3月6日 11:24 > 收件人: devel@edk2.groups.io > 抄送: Michael D Kinney ; Liming Gao > ; Zhiguang Liu ; Jiewen > Yao > 主题: [edk2-devel] [PATCH v2 2/2] MdePkg: Add > gEfiDeviceSignatureDatabaseGuid to dec >

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

2024-03-21 Thread gaoliming via groups.io
Wenxing: > -邮件原件- > 发件人: devel@edk2.groups.io 代表 Wenxing Hou > 发送时间: 2024年3月6日 11:24 > 收件人: devel@edk2.groups.io > 抄送: Michael D Kinney ; Liming Gao > ; Zhiguang Liu ; Jiewen > Yao > 主题: [edk2-devel] [PATCH v2 1/2] MdePkg: Add UEFI 2.10 > DeviceAuthentication > > According to UEFI 2.10

[edk2-devel] [PATCH] Bug 4648 - Password Salt uses default seed

2024-03-21 Thread V V, Pranav
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4648 The SavePasswordToVariable function takes in the password, generates a salt, generates a SHA256 hash of the password and saves the password hash to a variable. The KeyLipGenerateSalt function calls RandomSeed with NULL as the first

[edk2-devel] [PATCH] REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4649

2024-03-21 Thread V V, Pranav
The KeyLibGenerateSalt function fails to check the return value of RandomSeed and RandomBytes function calls. SavePasswordToVariable function also fails to check the status of calling function KeyLibGenerateSalt Added a status check for all the above mentioned function's Signed-off-by: V V

Re: [edk2-devel] [RFC PATCH] OvmfPkg/SecurityPkg: Add build option for coexistance of vTPM and RTMR.

2024-03-21 Thread Yao, Jiewen
Please aware that this option will cause potential security risk. In case that any the guest component only knows one of vTPM or RTMR, and only extends one of vTPM or RTMR, but the other one only verifies the other, then the chain of trust is broken. This solution is secure if and only if all

[edk2-devel] [PATCH] NetworkPkg/WifiConnectionManagerDxe: Update UI according to UEFI spec

2024-03-21 Thread Tan, Ming
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4736 In UEFI_Spec_2_10_Aug29.pdf page 1694 section 35.5.4 for EFI_BROWSER_ACTION_FORM_OPEN: NOTE: EFI_FORM_BROWSER2_PROTOCOL.BrowserCallback() cannot be used with this browser action because question values have not been retrieved yet. So

Re: [edk2-devel] [PATCH v2 02/13] UefiCpuPkg/CpuExceptionHandlerLib: Reorder the INF files alphabetically

2024-03-21 Thread Ni, Ray
I feel that ordering alphabetically may break the logical groups. For example, below two might be placed in a reverse way. CpuExceptionCommon.h CpuExceptionCommon.c But luckily, you didn't re-order the above to make .c above .h. So, you are not simply ordering them alphabetically.

Re: [edk2-devel] [PATCH v2 01/13] UefiCpuPkg/CpuTimerLib: Reorder the INF file alphabetically

2024-03-21 Thread Ni, Ray
Reviewed-by: Ray Ni Thanks, Ray From: Chao Li Sent: Wednesday, March 20, 2024 16:42 To: devel@edk2.groups.io Cc: Ni, Ray ; Kumar, Rahul R ; Gerd Hoffmann Subject: [PATCH v2 01/13] UefiCpuPkg/CpuTimerLib: Reorder the INF file alphabetically Some of the order

Re: [edk2-devel] [PATCH v2 00/13] Part 2 patch set to add LoongArch support into UefiCpuPkg

2024-03-21 Thread Chao Li
Hi Ray and other maintainers, I submitted this series few days ago, could you review them and give me the R-B? Thanks, Chao On 2024/3/20 16:41, Chao Li wrote: This patch set adjusted some order in UefiCpuPig alphabetically, added LoongArch libraries and drivers into UefiCpuPkg, it is a

Re: [edk2-devel] [RFC PATCH] OvmfPkg/SecurityPkg: Add build option for coexistance of vTPM and RTMR.

2024-03-21 Thread Dionna Glaze via groups.io
On Thu, Mar 21, 2024 at 9:59 AM qinkun Bao wrote: > > From: Qinkun Bao > > The UEFI v2.10 spec defines the protocol EFI_CC_MEASUREMENT_PROTOCOL > to enable (for example) RTMR-based boot measurement for TDX VMs. > With the current UEFI spec’s “should not” wording and EDK2 > implementation, TPM

Re: [edk2-devel] [PATCH 00/19] DynamicTablesPkg: Move objects to Arch Common NameSpace (second)

2024-03-21 Thread PierreGondois
Hello, For reference: Patchsets: - https://edk2.groups.io/g/devel/message/116961 (first part) - https://edk2.groups.io/g/devel/message/116978 (second part) - https://edk2.groups.io/g/devel/message/117001 (platforms patches) Branches: -

[edk2-devel] [PATCH 14/14] Platform/ARM: Juno: Move Psd info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 13/14] Platform/ARM: Juno: Move Cpc info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 12/14] Platform/ARM: Juno: Move Cache info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 11/14] Platform/ARM: Juno: Move Proc Hierarchy info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 10/14] Platform/ARM: Juno: Rename GicCToken

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. The following field: (struct CmArchCommonProcHierarchyInfo).GicCToken was renamed to 'AcpiIdObjectToken'. Reflect this change in the edk2-platforms repository. This patch modifies the

[edk2-devel] [PATCH 09/14] Platform/ARM: Juno: Move Lpi info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 08/14] Platform/ARM: Juno: Move Pci Interrupt Map info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 07/14] Platform/ARM: Juno: Move Pci Address Map info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 06/14] Platform/ARM: FVP,Juno: Move Pci Config Space info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno - FVP for the following Arch Common object Id: -

[edk2-devel] [PATCH 05/14] Platform/ARM: Juno: Move CmRef info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno for the following Arch Common object Id: -

[edk2-devel] [PATCH 04/14] Platform/ARM: FVP: Move Fixed Feat Flags info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - FVP for the following Arch Common object Id: -

[edk2-devel] [PATCH 03/14] Platform/ARM: FVP,Juno:: Move Serial Port info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno - FVP for the following Arch Common object Id: -

[edk2-devel] [PATCH 02/14] Platform/ARM: FVP,Juno: Move Power Mgmt Profile info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno - FVP for the following Arch Common object Id: -

[edk2-devel] [PATCH 01/14] Platform/ARM: FVP,Juno: Add Arch Common objects handler

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Prepare the handling of these objects in the ConfigurationManagers by adding a function handler for these objects. This patch modifies the ConfigurationManager of the following platforms: - Juno -

[edk2-devel] [RESEND PATCH 00/14] Platform/ARM: FVP, Juno: Move DynamicTablesPkg obj to Arch Common

2024-03-21 Thread PierreGondois
Resend this patch since 'more than 40 messages in 30 minutes' have been sent and the mailing list blocked/rejected some patches. Following [1] and [2], other architectures than Arm aim to leverage the DynamicTablesPkg. The package uses namespaces/domains to split objects IDs. Currently most of

[edk2-devel] [PATCH 02/14] Platform/ARM: FVP,Juno: Move Power Mgmt Profile info to Arch Common

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Reflect this change by renaming/moving the relevant object. This patch modifies the ConfigurationManager of the following platforms: - Juno - FVP for the following Arch Common object Id: -

[edk2-devel] [PATCH 01/14] Platform/ARM: FVP,Juno: Add Arch Common objects handler

2024-03-21 Thread PierreGondois
Some DynamicTables objects have been moved from the Arm namespace to a new Arch Common namespace. Prepare the handling of these objects in the ConfigurationManagers by adding a function handler for these objects. This patch modifies the ConfigurationManager of the following platforms: - Juno -

[edk2-devel] [PATCH 00/14] Platform/ARM: FVP, Juno: Move DynamicTablesPkg obj to Arch Common

2024-03-21 Thread PierreGondois
Following [1] and [2], other architectures than Arm aim to leverage the DynamicTablesPkg. The package uses namespaces/domains to split objects IDs. Currently most of the objects are part of the Arm namespace. Some objects are generic enough to be re-used by other architectures. [3] and [4] moved

[edk2-devel] [PATCH 18/19] DynamicTablesPkg: Move PCC Type 5 info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCC Subspace Type 5 info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PCCT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer

[edk2-devel] [PATCH 19/19] DynamicTablesPkg: Move PSD info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PSD info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SSDT CPU topology generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 16/19] DynamicTablesPkg: Move PCC Type2 info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCC Subspace Type2 info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PCCT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 17/19] DynamicTablesPkg: Move PCC Type 3 & 4 info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCC Subspace Type 3 & 4 info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PCCT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer

[edk2-devel] [PATCH 15/19] DynamicTablesPkg: Move PCC Type1 info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCC Subspace Type1 info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PCCT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 14/19] DynamicTablesPkg: Move PCC Type0 info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCC Subspace Type0 info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PCCT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 13/19] DynamicTablesPkg: Move PCC structure definitions to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move PCC structure definitions from Arm Namespace header file to the Arch Common namespace header file. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal

[edk2-devel] [PATCH 11/19] DynamicTablesPkg: Move Cache info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the Cache info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PPTT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map. Cc: Pierre

[edk2-devel] [PATCH 12/19] DynamicTablesPkg: Move Continuous perf control info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the Continuous perfformance control info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SSDT CPU topology generator - ConfigurationManagerObjectParser - Dynamic

[edk2-devel] [PATCH 10/19] DynamicTablesPkg: Move Processor hierarchy info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the Processor hierarchy info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PPTT generator - SSDT CPU topology generator - ConfigurationManagerObjectParser -

[edk2-devel] [PATCH 09/19] DynamicTablesPkg: Rename GicCToken field in Processor Hierarchy Info

2024-03-21 Thread PierreGondois
From: Sami Mujawar The GicCToken field in the CM_ARM_PROC_HIERARCHY_INFO structure is a reference to the associated object which has the corresponding ACPI Processor ID, e.g. for Arm systems this is a reference to the CM_ARM_GICC_INFO object. For other architecture this may be a reference to a

[edk2-devel] [PATCH 08/19] DynamicTablesPkg: Move LPI info object to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the LPI info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SSDT Cpu Topology generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 07/19] DynamicTablesPkg: Move Generic Initiator affinity info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the Generic Initiator affinity info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SRAT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo

[edk2-devel] [PATCH 06/19] DynamicTablesPkg: Move PCI device Handle object to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the PCI device Handle object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SRAT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map. Cc:

[edk2-devel] [PATCH 05/19] DynamicTablesPkg: Move ACPI device Handle object to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the ACPI device Handle object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SRAT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map. Cc:

[edk2-devel] [PATCH 04/19] DynamicTablesPkg: Move Mem Affinity Info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move the Memory Affinity Info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SRAT generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map.

[edk2-devel] [PATCH 03/19] DynamicTablesPkg: Move Pci Interrupt Map Info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move Pci Interrupt Map Info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SSDT PCIe library - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map -

[edk2-devel] [PATCH 02/19] DynamicTablesPkg: Move CM_ARM_GENERIC_INTERRUPT struct to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar The CM_ARM_GENERIC_INTERRUPT struct describes a standard interrupt and is generic. Therefore move it to the Arch Common namespace header file and rename it as CM_ARCH_COMMON_GENERIC_INTERRUPT. Correspondingly also update the following modules to reflect the changes introduced

[edk2-devel] [PATCH 01/19] DynamicTablesPkg: Move Pci Address Map Info to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move Pci Address Map Info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - SSDT PCIe generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer map -

[edk2-devel] [PATCH 00/19] DynamicTablesPkg: Move objects to Arch Common NameSpace (second)

2024-03-21 Thread PierreGondois
Following [1] and [2], other architectures than Arm aim to leverage the DynamicTablesPkg. The package uses namespaces/domains to split objects IDs. Currently most of the objects are part of the Arm namespace. Some objects are generic enough to be re-used by other architectures. In [2], an Arch

[edk2-devel] [PATCH 16/16] DynamicTablesPkg & ArmVirtPkg: Move Pci Config Space Info

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move Pci Config Space Info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - MCFG generator - SSDT PCIe generator - SSDT PCIe support library -

[edk2-devel] [PATCH 15/16] DynamicTablesPkg: Move Cm Reference object to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move Cm Reference object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PPTT generator - SSDT CPU topology generator - SSDT PCIe generator -

[edk2-devel] [PATCH 14/16] DynamicTablesPkg: Move FADT Fixed Features Flags to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move FADT Fixed Features Flags object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - FADT Generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer

[edk2-devel] [PATCH 13/16] DynamicTablesPkg: Move Hypervisor Vendor Id to Arch Common

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move Hypervisor Vendor Id info object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - FADT Generator - ConfigurationManagerObjectParser - Dynamic Plat Repo TokenFixer

[edk2-devel] [PATCH 12/16] DynamicTablesPkg & ArmVirtPkg: Move Power Mgmt Profile Info Object

2024-03-21 Thread PierreGondois
From: Sami Mujawar Move PowerManagementProfileInfo Object from Arm Namespace to the Arch Common namespace. The following updates are also done to reflect the changes introduced by the move: - Update the FADT Generator to migrate to use the Power Management Profile Info object

[edk2-devel] [PATCH 11/16] ArmVirtPkg: Kvmtool: Update ConfigMgr to support ArchCommon

2024-03-21 Thread PierreGondois
From: Sami Mujawar Update the Configuration Manager for Kvmtool guest firmware to handle ArchComm namespace objects. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal Signed-off-by:

[edk2-devel] [PATCH 10/16] DynamicTablesPkg: Drop Reserved29 object ID from Arm Namespace

2024-03-21 Thread PierreGondois
From: Sami Mujawar The Arm Namespace Object ID Reserved29 was a reserved ID that was never used. Therefore, drop the EArmObjReserved29 object ID also update the Dynamic Plat Repo TokenFixer map and the Configuration Manager Object Parser. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef

[edk2-devel] [PATCH 09/16] DynamicTablesPkg: Drop Cpu Info object ID from Arm Namespace

2024-03-21 Thread PierreGondois
From: Sami Mujawar The Arm Namespace Object ID for CPU info was not used. Therefore, drop the EArmObjCpuInfo object ID. Also remove - the partial listing of the Arm Namespace object IDs from ConfigurationManagerObject.h and add a reference to the location where they are defined. - the

[edk2-devel] [PATCH 08/16] DynamicTablesPkg: Update documentation for CM_OBJECT_ID

2024-03-21 Thread PierreGondois
From: Sami Mujawar Remove the partial listing of the Arm Namespace object IDs from and add a reference to the enum EARM_OBJECT_ID that is used to describe the object in the ARM Namespace. Also document that the Arch Common namespace objects will be described using the enum

[edk2-devel] [PATCH 07/16] DynamicTablesPkg: Update DynamicPlatRepo for Arch Common namespace

2024-03-21 Thread PierreGondois
From: Sami Mujawar Update DynamicPlatRepo to reflect the introduction of the Arch Common namespace. Also, update the TokenFixer map to reflect the current state of the ArmNamespace Objects and add a note in the documentation header for the EARM_OBJECT_ID enum, that the Token fixer map needs

[edk2-devel] [PATCH 06/16] DynamicTablesPkg: TokenFixer: Return Non Arm NS objs as unsupported

2024-03-21 Thread PierreGondois
From: Sami Mujawar Update the Token Fixer to return objects other than Arm Namespace objects as unsupported. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal Signed-off-by: Sami

[edk2-devel] [PATCH 05/16] DynamicTablesPkg: Add support for ArchCommon objects in CmObjParser

2024-03-21 Thread PierreGondois
From: Sami Mujawar Update the Cm Object Parser to support parsing of Arch Common namespace objects. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc: Girish Mahadevan Cc: Leif Lindholm Cc: Meenakshi Aggarwal Signed-off-by: Sami Mujawar

[edk2-devel] [PATCH 04/16] DynamicTablesPkg: Introduce an Arch Common Namespace header file

2024-03-21 Thread PierreGondois
From: Sami Mujawar Introduce a new header file for defining the Arch Common Namespace objects. Also include it in the Configuration Manager Object header file so that the required definitions are propagated. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff

[edk2-devel] [PATCH 03/16] DynamicTablesPkg: Introduce ObjectId to validate CmObject Parser Array

2024-03-21 Thread PierreGondois
From: Sami Mujawar Add ObjectId to CM_OBJ_PARSER_ARRAY so that the code can validate the entries in the Cm object parser array. Also introduce helper macros to populate the Cm Object Parser Arrays. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen

[edk2-devel] [PATCH 02/16] DynamicTablesPkg: Replace ProcNodeIdInfo with EArmObjReserved29

2024-03-21 Thread PierreGondois
From: Sami Mujawar The CM_ARM_PROC_NODE_ID_INFO was dropped by the patch at "b2bbe3df5470 DynamicTablesPkg: Remove PPTT ID structure from ACPI 6.4 generator" and the EArmObjProcNodeIdInfo was made EArmObjReserved29. Since ProcNodeIdInfo is no longer used drop the CM object parser code from

[edk2-devel] [PATCH 01/16] DynamicTablesPkg/SsdtCpuTopology: Update function's parameter description

2024-03-21 Thread PierreGondois
The parameters of CreateAmlProcessorContainer() were not updated in: commit 5fb3f5723a1e ("DynamicTablesPkg: Allow for specified CPU names") This causes the EccCheck CI test to fail. Fix this. Cc: Pierre Gondois Cc: Yeo Reum Yun Cc: AbdulLateef Attar Cc: Jeshua Smith Cc: Jeff Brasen Cc:

[edk2-devel] [PATCH 00/16] DynamicTablesPkg: Move objects to Arch Common NameSpace (first)

2024-03-21 Thread PierreGondois
Following [1] and [2], other architectures than Arm aim to leverage the DynamicTablesPkg. The package uses namespaces/domains to split objects IDs. Currently most of the objects are part of the Arm namespace. Some objects are generic enough to be re-used by other architectures. In [2], an Arch

Re: [edk2-devel] [PATCH v1 21/26] OvmfPkg/LoongArchVirt: Add FdtQemuFwCfgLib

2024-03-21 Thread Chao Li
Hi Gerd, Thanks, Chao On 2024/3/21 19:39, Gerd Hoffmann wrote: Hi, QemuFwCfgLibMmio.inf is looks like a DXE stage library, while this patch is the PEI stage library we are dicussing. I have tow plans: *Plan A:* Keep this library under LoongArchQemuVirt. *Plan  B:* Create a new INF

Re: [edk2-devel] [PATCH V1 1/1] OvmfPkg/QemuBootOrderLib: Measure the etc/boot-menu-wait

2024-03-21 Thread Gerd Hoffmann
On Thu, Mar 21, 2024 at 08:39:13AM +, sunceping wrote: > On Wednesday, March 20, 2024 6:05 PM Gerd Hoffmann wrote: > > > > We don't need to read + cache all fw_cfg data. We only need to cache the > > entries which (a) must be measured, and (b) will not be measured in some > > other way. > >

Re: [edk2-devel] [PATCH v1 21/26] OvmfPkg/LoongArchVirt: Add FdtQemuFwCfgLib

2024-03-21 Thread Gerd Hoffmann
Hi, > QemuFwCfgLibMmio.inf is looks like a DXE stage library, while this patch is > the PEI stage library we are dicussing. > > I have tow plans: > > *Plan A:* Keep this library under LoongArchQemuVirt. > > *Plan  B:* Create a new INF named QemuFwCfgPeiLibMmio.inf under >

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

2024-03-21 Thread G Edhaya Chandran
Thank you Abhi, for your contributions to edk2-test. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#116957): https://edk2.groups.io/g/devel/message/116957 Mute This Topic: https://groups.io/mt/104756650/21656 Group Owner:

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

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

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

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

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

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

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

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

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

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

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

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

Re: [edk2-devel] [PATCH V1 1/1] OvmfPkg/QemuBootOrderLib: Measure the etc/boot-menu-wait

2024-03-21 Thread sunceping
On Wednesday, March 20, 2024 6:05 PM Gerd Hoffmann wrote: > > We don't need to read + cache all fw_cfg data. We only need to cache the > entries which (a) must be measured, and (b) will not be measured in some > other way. > I am afraid that it is difficult to determine which fw_cfg items are

Re: [edk2-devel] [Patch V4] BaseTools: VfrCompiler Adds DefaultValueError

2024-03-21 Thread Yuting Yang
Hi liming, Gentle reminder, we have removed the whitespace. Please help review the patch~ Thanks, Yuting -Original Message- From: devel@edk2.groups.io On Behalf Of Yuting Yang Sent: Thursday, March 21, 2024 3:30 PM To: devel@edk2.groups.io Cc: Rebecca Cran ; Liming Gao ; Feng, Bob C

[edk2-devel] [Patch V4] BaseTools: VfrCompiler Adds DefaultValueError

2024-03-21 Thread Yuting Yang
Add --catch_default option Raise a DefaultValueError when encountering VFR default definitions to help remove default variables. Signed-off-by: Yuting Yang Cc: Rebecca Cran Cc: Liming Gao Cc: Bob Feng Cc: Christine Chen Cc: Zifeng Zhang --- BaseTools/Source/C/VfrCompile/VfrCompiler.cpp |

[edk2-devel] [PATCH] BaseTools: VfrCompiler Adds DefaultValueError

2024-03-21 Thread Yuting Yang
Add --catch_default option Raise a DefaultValueError when encountering VFR default definitions to help remove default variables. Signed-off-by: Yuting Yang --- BaseTools/Source/C/VfrCompile/VfrCompiler.cpp | 8 +-- BaseTools/Source/C/VfrCompile/VfrCompiler.h | 1 +