[edk2-devel] [PATCH] NetworkPkg: Fix incorrect unicode string of the AKM/Cipher Suite

2022-01-25 Thread Heng Luo
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3813 The size of buffer should be 3 CHAR16 for Null-terminated Unicode string. The first char is the AKM/Cipher Suite number, the second char is ' ', the third char is '\0'. Cc: Maciej Rabeda Cc: Fu Siyuan Cc: Wu Jiaxin Signed-off-by: Heng

回复: [edk2-devel] [Patch] BaseTools/Conf: Add new macro for customizing dll file reduction.

2022-01-25 Thread gaoliming
Reviewed-by: Liming Gao > -邮件原件- > 发件人: Wei6 Xu > 发送时间: 2022年1月20日 23:00 > 收件人: devel@edk2.groups.io > 抄送: Bob Feng ; Liming Gao > ; Yuwei Chen > 主题: [edk2-devel] [Patch] BaseTools/Conf: Add new macro for customizing > dll file reduction. > > REF:

[edk2-devel] 回复: [PATCH v3 0/6] MM communicate functionality in variable policy

2022-01-25 Thread gaoliming
Hi, all If no other comment, I will merge this patch set tomorrow. Thanks Liming > -邮件原件- > 发件人: Kun Qin > 发送时间: 2022年1月26日 3:39 > 收件人: devel@edk2.groups.io > 抄送: Jian J Wang ; Liming Gao > ; Hao A Wu ; Michael D > Kinney ; Zhiguang Liu > ; Leif Lindholm ; Ard > Biesheuvel ; Bret

Re: [edk2-devel] [PATCH 0/2] SEV BaseMemEncryptLib cleanup

2022-01-25 Thread Brijesh Singh via groups.io
On 1/21/22 2:04 AM, Gerd Hoffmann via groups.io wrote: On Wed, Jan 19, 2022 at 05:03:30PM -0600, Brijesh Singh wrote: This is the first of cleanup for SEV MemEncryptLib. The library uses the CPUID followed by the MSR read to determine whether SEV is enabled. Now that we have a workarea

[edk2-devel] [PATCH v3 6/6] ArmPkg: MmCommunicationDxe: Update MM communicate `MessageLength` check

2022-01-25 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3751 Current MM communicate routine from ArmPkg would conduct few checks prior to proceeding with SMC calls. However, the inspection step is different from PI specification. This patch updated MM communicate input argument inspection routine to

[edk2-devel] [PATCH v3 5/6] ArmPkg: MmCommunicationDxe: Update MM communicate `CommSize` check

2022-01-25 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3751 Current MM communicate routine from ArmPkg would conduct few checks prior to proceeding with SMC calls. However, the inspection step is different from PI specification. This patch updated MM communicate input argument inspection routine to

[edk2-devel] [PATCH v3 2/6] MdePkg: MmCommunication2: Update MM communicate2 function description

2022-01-25 Thread Kun Qin
Current MM communicate2 function definition described input arguments `CommBufferPhysical`, `CommBufferVirtual` and `CommSize` as input only, which mismatches with the "input and output type" as in PI specification. This change updated function descriptions of MM communite2 definition to match

[edk2-devel] [PATCH v3 3/6] ArmPkg: MmCommunicationDxe: MM communicate function argument attributes

2022-01-25 Thread Kun Qin
Current MM communicate2 function from ArmPkg described input arguments `CommBufferPhysical`, `CommBufferVirtual` and `CommSize` as input only, which mismatches with the "input and output type" as in PI specification. This change updated function descriptions of MM communite2 to match input

[edk2-devel] [PATCH v3 4/6] ArmPkg: MmCommunicationDxe: Update MM communicate `CommBuffer**` checks

2022-01-25 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3751 Current MM communicate routine from ArmPkg would conduct few checks prior to proceeding with SMC calls. However, the inspection step is different from PI specification. This patch updated MM communicate input argument inspection routine to

[edk2-devel] [PATCH v3 0/6] MM communicate functionality in variable policy

2022-01-25 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3709 REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3751 This patch series is a follow up of previous submission: https://edk2.groups.io/g/devel/message/85116 All v3 patches added "Reviewed-By" tags collected during v2 series. Patch v3

[edk2-devel] [PATCH v3 1/6] MdeModulePkg: VariableSmmRuntimeDxe: Fix Variable Policy Message Length

2022-01-25 Thread Kun Qin
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3709 In EDKII implementation of variable policy, the DXE runtime agent would communicate to MM to disable, register or query policies. However, these operations populate the value of MessageLength that includes communicate header to include MM

Re: [edk2-devel] [PATCH v2 1/2] EDK2 Code First: PI Specification: New error codes of Host Software class

2022-01-25 Thread Kun Qin
Hi Mike, Sorry if the questions are being naive. My interpretation for the code-first process below is that we need to first obtain "Reviewed-By" tags for all patches in this branch on this mailing list, is that correct? If so, do you mind provide rb tags or other feedback for them? Or if

Re: [edk2-devel] [PATCH V2 01/10] EmbeddedPkg: Fix a build error in FwVol.c in X64 arch

2022-01-25 Thread Abner Chang
Reviewed-by: Abner Chang > -Original Message- > From: devel@edk2.groups.io On Behalf Of Min Xu > Sent: Tuesday, January 25, 2022 2:33 PM > To: devel@edk2.groups.io > Cc: Min Xu ; Leif Lindholm ; Ard > Biesheuvel ; Chang, Abner (HPS SW/FW > Technologist) ; Schaefer, Daniel (ROM Janitor)

[edk2-devel] Cancelled Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, February 1, 2022 #cal-cancelled

2022-01-25 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:CANCELLED REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20201011T015911Z

[edk2-devel] Cancelled Event: TianoCore Bug Triage - APAC / NAMO - Tuesday, January 25, 2022 #cal-cancelled

2022-01-25 Thread devel@edk2.groups.io Calendar
BEGIN:VCALENDAR VERSION:2.0 PRODID:-//Groups.io Inc//Groups.io Calendar//EN METHOD:CANCELLED REFRESH-INTERVAL;VALUE=DURATION:PT1H X-PUBLISHED-TTL:PT1H CALSCALE:GREGORIAN BEGIN:VTIMEZONE TZID:America/Los_Angeles LAST-MODIFIED:20201011T015911Z

[edk2-devel] [PATCH v3 8/8] MdeModulePkg/PciBusDxe: Handling of pre-populated PCI BARs

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Extend the PCI BAR placement logic in order to consider pre-populated resources first, if indicated by the Pcd token for such purpose. The PCI_BAR type is augmented by one field for mapping the absolute address of prepopulated BARs into a root bridge relative offset. As part of the

[edk2-devel] [PATCH v3 7/8] MdeModulePkg/Pci MdePkg: Create service to retrieve PCI base addresses

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Extend the PCI host bridge resource allocation protocol to include one more service that retrieves the base addresses of all resources of a given root bridge. The service is defined to provide, on runtime, the possibility to fetch the base addresses of a root bridge, replicating the address

[edk2-devel] [PATCH v3 6/8] MdeModulePkg, OvmfPkg: Add Pcd token for PCI pre-populated BARs

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Create a new PCD boolean token in MdeModulePkg for global use. We use this token to indicate if the configuration, parsed from fw-cfg, requires pre-populated BARs to be preserved. During creation of root bridges configurations, the flag is set according to the "pre-populated-bars" item in fw-cfg.

[edk2-devel] [PATCH v3 5/8] OvmfPkg/PciHostBridgeUtilityLib: Initialize RootBridges apertures with spec

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Consume the host-provided specification of PCI host bridges if available. Using the DxeHardwareInfoLib, populate a list of hardware descriptors based on the content of the "hardware-info" fw-cfg file, if provided. In the affirmative case, use the resources and attributes specified by the

[edk2-devel] [PATCH v3 4/8] Ovmf/PlatformPei: Use host-provided GPA end if available

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Read the "hardware-info" item from fw-cfg to extract specifications of PCI host bridges and analyze the 64-bit apertures of them to find out the highest 64-bit MMIO address required which determines the address space required by the guest, and, consequently, the FirstNonAddress used to calculate

[edk2-devel] [PATCH v3 2/8] Ovmf/HardwareInfoLib: Create Pei lib to parse directly from fw-cfg

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Define the HardwareInfoLib API and create the PeiHardwareInfoLib which implements it, specifically for Pei usage, supporting only static accesses to parse data directly from a fw-cfg file. All list-like APIs are implemented as unsupported and only a fw-cfg wrapper to read hardware info elements is

[edk2-devel] [PATCH v3 0/8] Handling of multiple PCI host bridges specified

2022-01-25 Thread Ojeda Leon, Nicolas via groups.io
Increased control is provided in Ovmf platforms to define and configure the specifications of multiple PCI host bridges in the hypervisor. The host propagates this information to the guest, initially through fw-cfg interface. In some AWS EC2 platforms, we expose a PCI topology including several

[edk2-devel] [PATCH] Features/Ext4Pkg: Modularize Ext4 DSC/FDF files

2022-01-25 Thread Jake Garver via groups.io
This change modularizes the Ext4 DSC/FDF files following the model used in edk2/NetworkPkg. A platform DSC can include Ext4 using "!include Features/Ext4.dsc.inc". Ext.dsc.inc includes all the required information to enable Ext4 features. Similarly, "!include Features/Ext4.fdf.inc" would be used