[edk2-devel] [edk2-platforms][PATCH v1 6/7] AmpereAltraPkg: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve AmpereAltraPkg platforms build. Cc: Nhi Pham Cc: Vu Nguyen Cc: Thang Nguyen Cc: Chuong Tran Cc: Leif Lindholm

[edk2-devel] [edk2-platforms][PATCH v1 5/7] Socionext: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve DeveloperBox platforms build. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Masami Hiramatsu Signed-off-by: Kun Qin ---

[edk2-devel] [edk2-platforms][PATCH v1 7/7] PhytiumCommonPkg: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve PhytiumCommonPkg platforms build. Cc: Leif Lindholm Cc: Peng Xie Cc: Ling Jia Cc: Yiqi Shu Signed-off-by: Kun Qin ---

[edk2-devel] [edk2-platforms][PATCH v1 3/7] VExpressPkg: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve ArmVExpress platforms build. Cc: Ard Biesheuvel Cc: Thomas Abraham Cc: Sami Mujawar Signed-off-by: Kun Qin ---

[edk2-devel] [edk2-platforms][PATCH v1 2/7] U5SeriesPkg: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve U5SeriesPkg platforms build. Cc: Abner Chang Cc: Gilbert Chen Cc: Daniel Schaefer Signed-off-by: Kun Qin ---

[edk2-devel] [edk2-platforms][PATCH v1 4/7] Qemu: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve SbsaQemu platform builds. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Graeme Gregory Cc: Radoslaw Biernacki Signed-off-by: Kun

[edk2-devel] [edk2-platforms][PATCH v1 0/7] Resolving SecureBootVariableLib dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This patch series added the new library instance from SecurityPkg to resolve edk2 platforms build. Patch v1 branch: https://github.com/kuqin12/edk2-platforms/tree/fix_sb_dep Cc: Ard Biesheuvel Cc:

[edk2-devel] [edk2-platforms][PATCH v1 1/7] RaspberryPi: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve RaspberryPi platforms build. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Jeremy Linton Signed-off-by: Kun Qin ---

[edk2-devel] [PATCH v3 2/3] DynamicTablesPkg: AcpiSsdtPcieLibArm: Support UID > 0xF

2022-07-08 Thread Jeff Brasen via groups.io
Add support for PCIe devices with UID > 0xF. This is done by using the next value in the name so PCI5, PC26, etc Signed-off-by: Jeff Brasen --- .../Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 5 - .../Library/Acpi/Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.h | 2 +- 2 files

[edk2-devel] [PATCH v3 3/3] DynamicTablesPkg: AcpiSsdtPcieLibArm: Create support library

2022-07-08 Thread Jeff Brasen via groups.io
Add support library to allow for customization of _OSC and slot info. The functions in the library are unchanged, with the exception of adding PciInfo pointer to the APIs. Signed-off-by: Jeff Brasen --- .../Include/Library/SsdtPcieSupportLib.h | 73 +++

[edk2-devel] [PATCH v3 1/3] DynamicTablesPkg: AcpiSsdtPcieLibArm: Correct translation value

2022-07-08 Thread Jeff Brasen via groups.io
The translation value in ACPI should be the difference between the CPU and PCIe address. Signed-off-by: Jeff Brasen --- .../Arm/AcpiSsdtPcieLibArm/SsdtPcieGenerator.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git

[edk2-devel] [PATCH v3 0/3] DynamicTablesPkg: Pcie generation updates

2022-07-08 Thread Jeff Brasen via groups.io
Add fixes/features to dynamic PCIe support - Correct issue with translation in generated ACPI tables. - Allow for more than 16 controllers to be generated. - Add support library to allow for override of _OSC and slot info. Updates: v3 - Remove segment as UID patch, convert override to

Re: [edk2-devel] [PATCH v3 00/11] Enhance Secure Boot Variable Libraries

2022-07-08 Thread Kun Qin
Hi Ard, I thought pipeline should have caught this type of errors. Sorry for the inconvenience. A patch was sent here to fix this issue: https://edk2.groups.io/g/devel/message/91189 Regards, Kun On 7/8/2022 9:38 AM, Ard Biesheuvel wrote: I think this series has broken some ARM platforms,

[edk2-devel] [PATCH v1 1/1] ArmVirtPkg: Pipeline: Resolving newly introduced dependency

2022-07-08 Thread Kun Qin
The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve ArmVirtPkg builds. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Sami Mujawar Cc: Gerd Hoffmann Signed-off-by: Kun Qin ---

Re: [edk2-devel] [PATCH] MinPlatformPkg: Resolve SecureBootVariableLib dependency

2022-07-08 Thread Oram, Isaac W
Pushed as 4775d4e4f8..a3f3f4bde7 -Original Message- From: devel@edk2.groups.io On Behalf Of Oram, Isaac W Sent: Friday, July 8, 2022 10:34 AM To: devel@edk2.groups.io; Liu, Zhiguang Cc: Kun Qin ; Chiu, Chasel ; Desimone, Nathaniel L ; Gao, Liming ; Dong, Eric Subject: Re:

Re: [edk2-devel] [PATCH] MinPlatformPkg: Resolve SecureBootVariableLib dependency

2022-07-08 Thread Oram, Isaac W
Reviewed-by: Isaac Oram -Original Message- From: devel@edk2.groups.io On Behalf Of Zhiguang Liu Sent: Thursday, July 7, 2022 8:44 PM To: devel@edk2.groups.io Cc: Liu, Zhiguang ; Kun Qin ; Chiu, Chasel ; Desimone, Nathaniel L ; Oram, Isaac W ; Gao, Liming ; Dong, Eric Subject:

Re: [edk2-devel] [PATCH v3 00/11] Enhance Secure Boot Variable Libraries

2022-07-08 Thread Ard Biesheuvel
I think this series has broken some ARM platforms, please double check. https://ci.linaro.org/job/leg-virt-tianocore-edk2-upstream/4573/console On Thu, 7 Jul 2022 at 03:09, Yao, Jiewen wrote: > > Merged https://github.com/tianocore/edk2/pull/3050 > > > > From: Kun Qin > Sent: Thursday, July

Re: [edk2-devel] [PATCH 4/4] DynamicTablesPkg: AcpiSsdtPcieLibArm: Add support for override protocol

2022-07-08 Thread Jeff Brasen via groups.io
I think this would work. Instead of GeneratePciDeviceInfo the function we would want to break out would be GeneratePciSlots. I'll work on changing my patch series to this. Unless you have a better name will call this library SsdtPciSupportLib and place in under Library/Common Going to also

Re: [edk2-devel] [PATCH 2/4] DynamicTablesPkg: AcpiSsdtPcieLibArm: Allow use of segment number as UID

2022-07-08 Thread Jeff Brasen via groups.io
So to detail the use case we have an embedded device on a known controller (we know the segment number) by forcing the autogeneration to the segment number we could in another SSDT create the subdevice node right. With just \SB\PCI9\D0x as the scope right? If we had a callback I suppose we

Re: [edk2-devel] [PATCH v2 0/4] DynamicTablesPkg: Pcie generation updates

2022-07-08 Thread Jeff Brasen via groups.io
Ok, I never got those responses, will have to check what happened with my email. Will respond to those. > -Original Message- > From: Pierre Gondois > Sent: Friday, July 8, 2022 1:31 AM > To: Jeff Brasen ; devel@edk2.groups.io > Cc: sami.muja...@arm.com; alexei.fedo...@arm.com > Subject:

[edk2-devel] [PATCH 1/1] BaseTools: add '-p' for Linux 'cp' command.

2022-07-08 Thread Yuwei Chen
Currently BaseTools use 'cp' command for PcdValueInit and GenMake process, as the command can not keep the time info of the source file, which will cause incremental build issue in Linux system, thus the '-p' need be added to keep the source file's attributes in copy process. This patch fixes

[edk2-devel] [PATCH v3] [edk2-platforms] Silicon/Intel/FitGen: Fix CheckOverlap would do incorrect split BiosModule action in corner case

2022-07-08 Thread Lin, Jason1
From: Jason1 Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3922 [Description] CheckOverlap function would do incorrect split on the BiosModule which not happen overlap. This would cause incorrect value locate in FIT entry record. [Condition] - This BiosModule base address is lower

[edk2-devel] [PATCH v3] BaseTools/Capsule: Add support for signtool to input subject name to sign capsule file

2022-07-08 Thread Lin, Jason1
From: Jason1 Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3928 Windows-based system using signtool.exe to sign the capsule. Add the support to using "--subject-name" argument to assign the subject name used to sign the capsule file. This argument would pass to signtool.exe as a part

[edk2-devel] [PATCH v2] BaseTools/Capsule: Add support for signtool to input subject name to sign capsule file

2022-07-08 Thread Lin, Jason1
From: Jason1 Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3928 Windows-based system using signtool.exe to sign the capsule. Add the support to using "--subject-name" argument to assign the subject name used to sign the capsule file. This argument would pass to signtool.exe as a part

Re: 回复: [edk2-devel] [PATCH v2 2/7] MdePkg: Allow PcdFSBClock to by Dynamic

2022-07-08 Thread Anthony PERARD via groups.io
On Fri, Jul 08, 2022 at 10:14:35AM +0800, gaoliming wrote: > Ray: > The problem is that PcdFSBClock is configured as Dynamic on OVMF. > Anthony: > Have you any suggestion for this problem? > > Liming > > 发件人: devel@edk2.groups.io 代表 ray_l...@hotmail.com > 发送时间: 2022年7月7日 12:13 > 收件人:

Re: [edk2-devel] [PATCH v2 0/4] DynamicTablesPkg: Pcie generation updates

2022-07-08 Thread PierreGondois
Hello Jeff, I had some questions about the V1 at: https://edk2.groups.io/g/devel/topic/92089320#90932 https://edk2.groups.io/g/devel/topic/92089321#90933 Regards, Pierre On 7/7/22 18:59, Jeff Brasen wrote: Pierre, Any thoughts on this v2 version? -Jeff -Original Message- From: