[edk2-devel] [PATCH v3 6/6] DynamicTablesPkg: AcpiSsdtPcieLibArm: Added case handling for PCI config

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3998 This change added a switch case handling for PCI_SS_CONFIG during SSDT generation. This will allow PCI config case return EFI_SUCCESS instead of EFI_INVALID_PARAMETER. Cc: Sami Mujawar Cc: Alexei Fedorov Co-authored-by: Joe Lopez Signed

[edk2-devel] [PATCH v3 2/6] DynamicTablesPkg: DynamicPlatRepoLib: Fix incorrect dereferencing

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3996 The content of token should be derived from the data section of the `CmObject` instead of the object itself. This change fixed the issue by dereferencing the token value from the data buffer of input CmObject. Cc: Sami Mujawar Cc: Alexei

[edk2-devel] [PATCH v3 3/6] DynamicTablesPkg: DynamicPlatRepoLib: Adding more token fixers

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3996 This change added more token fixers for other node types, including NamedComponentNode, RootComplexNode, and SmmuV3Node. The corresponding entries for tokenFixer functions table is also updated. Cc: Sami Mujawar Cc: Alexei Fedorov Co-au

[edk2-devel] [PATCH v3 5/6] DynamicTablesPkg: AcpiSsdtPcieLibArm: Added function to reserve ECAM space

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3998 Certain OSes will complain if the ECAM config space is not reserved in the ACPI namespace. This change adds a function to reserve PNP motherboard resources for a given PCI node. Co-authored-by: Joe Lopez Signed-off-by: Kun Qin Reviewed-b

[edk2-devel] [PATCH v3 4/6] DynamicTablesPkg: DynamicTableManagerDxe: Added check for installed tables

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3997 This change added an extra step to allow check for installed ACPI tables. For FADT, MADT, GTDT, DSDT, DBG2 and SPCR tables, either pre-installed or supplied through AcpiTableInfo can be accepted. An extra check for FADT ACPI table existenc

[edk2-devel] [PATCH v3 1/6] DynamicTablesPkg: DynamicPlatRepoLib: Added MemoryAllocationLib to inf

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3996 The DynamicPlatRepoLib has multiple reference to MemoryAllocationLib, such as DynamicPlatRepo.c and TokenMapper.c. Not including it in the library inf file could lead to potential build break. This change added the MemoryAllocationLib into

[edk2-devel] [PATCH v3 0/6] Enhance DynamicTablesPkg modules

2022-07-30 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3996 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3997 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3998 This patch series is a follow-up of previous submission: https://edk2.groups.io/g/devel/message/91926 The main changes between

[edk2-devel] [PATCH] OvmfPkg/SmbiosPlatformDxe: Always add BIOS Information structure

2022-07-30 Thread Ammar Ratnani
If OVMF is not running on Cloud Hypervisor nor QEMU, previously no SMBIOS structures would be registered with the EFI_SMBIOS_PROTOCOL. This patch instead registers the default BIOS Information (Type 0) structure, defined as mOvmfDefaultType0 in SmbiosPlatformDxe.c. This change appeases (at least)

[edk2-devel] Event: TianoCore Design Meeting - APAC/NAMO - 08/05/2022 #cal-reminder

2022-07-30 Thread Group Notification
*Reminder: TianoCore Design Meeting - APAC/NAMO* *When:* 08/05/2022 9:30am to 10:30am (UTC+08:00) Asia/Shanghai *Where:* Microsoft Teams *Organizer:* Ray Ni ray...@intel.com ( ray...@intel.com?subject=Re:%20Event:%20TianoCore%20Design%20Meeting%20-%20APAC%2FNAMO ) View Event ( https://edk2.gr

[edk2-devel] Building C static Library for UEFI

2022-07-30 Thread Ayush Singh
Hello everyone. There are some tests in Rust std that statically link to a C static library to check ffi. Since if Rust is ever used in edk2, it would probably have to integrate with the existing C code. Thus, I thought rather than ignoring these tests, I wanted to make them work. What Rust ca

[edk2-devel] Proposal to move Rust std work to edk2-staging

2022-07-30 Thread Ayush Singh
Hello everyone. The work on Rust std for UEFI has been progressing smoothly. Running Rust tests is now possible in it's entirety. The number of tests that fail is 133 (4 cause exception + 129 normal fails) out of 13,212 tests. Apart from the 4 tests that cause exceptions, most of the 129 other