[edk2-devel] [edk2-platforms][PATCH v2 1/1] EarlySpiFlashRescueFeaturePkg: Initial commit of new feature

2022-09-18 Thread Benjamin Doron
Implement a new debug feature to assist in recovering the SPI flash from broken firmware. This feature is intended to be used with the userspace tool presently in my repo here: https://github.com/benjamindoron/early_flash_rescue. After my planned second project for GSoC 2022 finished early, I chos

Re: [edk2-devel] measurement to command-line/initrd for loading kernel via -kernel option

2022-09-18 Thread Ard Biesheuvel
Hello Min Xu, On Sat, 17 Sept 2022 at 04:53, Xu, Min M wrote: > > Hi, Ard > > I am checking the measurement behavior when loading the kernel via the QEMU > -kernel option. I find it is implemented by below 2 driver/lib: > > - OvmfPkg/QemuKernelLoaderFsDxe > > This is a separate DXE driver that

[edk2-devel] Event: Tools, CI, Code base construction meeting series - 09/19/2022 #cal-reminder

2022-09-18 Thread Group Notification
*Reminder: Tools, CI, Code base construction meeting series* *When:* 09/19/2022 4:30pm to 5:30pm (UTC-07:00) America/Los Angeles *Where:* https://github.com/tianocore/edk2/discussions/2614 View Event ( https://edk2.groups.io/g/devel/viewevent?eventid=1610028 ) *Description:* TianoCore communit

Re: [edk2-devel] [PATCH 0/7] CryptoPkg: Add BigNum and EC support to BaseCryptLib

2022-09-18 Thread yi1 li
Hi all, Is there any comment on this patch? Thanks. Regards, Yi -Original Message- From: devel@edk2.groups.io On Behalf Of yi1 li Sent: Wednesday, September 7, 2022 4:29 PM To: devel@edk2.groups.io Cc: Li, Yi1 ; Yao, Jiewen ; Wang, Jian J ; Xiaoyu Lu ; Jiang, Guomin Subject: [edk2-de

Re: [edk2-devel] measurement to command-line/initrd for loading kernel via -kernel option

2022-09-18 Thread Min Xu
On September 18, 2022 8:52 PM, Ard Biesheuvel wrote: > Hello Min Xu, > > On Sat, 17 Sept 2022 at 04:53, Xu, Min M wrote: > > > > Hi, Ard > > > > I am checking the measurement behavior when loading the kernel via the > QEMU -kernel option. I find it is implemented by below 2 driver/lib: > > > > -

[edk2-devel] [edk2-platforms][PATCH v2 0/2] Update SbsaQemu/OemMiscLib

2022-09-18 Thread Nhi Pham via groups.io
This patchset is to update SbsaQemu/OemMiscLib to reflect the recent changes in edk2/OemMiscLib. Changes since v1: + Update OemGetBiosRelease and OemGetEmbeddedControllerFirmwareRelease functions [Leif, Sami] Nhi Pham (2): SbsaQemu/OemMiscLib: Update for new OemMiscLib APIs SbsaQemu/O

[edk2-devel] [edk2-platforms][PATCH v2 1/2] SbsaQemu/OemMiscLib: Update for new OemMiscLib APIs

2022-09-18 Thread Nhi Pham via groups.io
This is to reflect the new APIs added to edk2/OemMiscLib library. Signed-off-by: Nhi Pham --- Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.inf | 5 +++ Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.c | 42 2 files changed, 47 insertions(+) diff --git a/Platform/Qemu/SbsaQ

[edk2-devel] [edk2-platforms][PATCH v2 2/2] SbsaQemu/OemMiscLib: Fix typo of "AssetTagType02"

2022-09-18 Thread Nhi Pham via groups.io
This fixes the typo of AssetTagType02 according to the recent changes from OemMiscLib.h in the edk2. Signed-off-by: Nhi Pham Reviewed-by: Leif Lindholm --- Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Qemu/SbsaQemu/O

[edk2-devel] [PATCH v4 0/6] ArmPkg/SMBIOS fixes and improvements

2022-09-18 Thread Nhi Pham via groups.io
This patchset is to update the ArmPkg/SMBIOS for fixes and improvements. Changes since v3: + Update for OemGetBiosRelease and OemGetEmbeddedControllerFirmwareRelease functions [Leif, Sami] Changes since v2: + Add tags from Ard and Sami + Fix patch 3 for compilation error with OemM

[edk2-devel] [PATCH v4 1/6] ArmPkg/ProcessorSubClassDxe: Get processor version from OemMiscLib

2022-09-18 Thread Nhi Pham via groups.io
From: Minh Nguyen In some scenarios, the processor version may be updated dynamically from pre-UEFI firmware during booting. But the processor version is fixed with PCD (PcdProcessorVersion), so it can not be updated it dynamically. This patch will support setting that value both statically and d

[edk2-devel] [PATCH v4 2/6] ArmPkg: Correct return value of "SMCCC_ARCH_SOC_ID" Function ID call

2022-09-18 Thread Nhi Pham via groups.io
From: Minh Nguyen According to "SMC Calling Convention" specification, section 7.4, return value of Arm Architecture Calls is stored at first argument of SMC aguments (ARM_SMC_ARGS). This value can be negative values indicating error or positive values (including zero) indicating success. Positiv

[edk2-devel] [PATCH v4 3/6] ArmPkg/SmbiosMiscDxe: Support fetching System UUID

2022-09-18 Thread Nhi Pham via groups.io
This adds an API to OemMiscLib for fetching the system UUID according to the platform. Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed-by: Sami Mujawar Acked-by: Ard Biesheuvel Acked-by: Leif Lindholm --- ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf

[edk2-devel] [PATCH v4 4/6] ArmPkg/SmbiosMiscDxe: Fix typo of "AssetTagType02"

2022-09-18 Thread Nhi Pham via groups.io
From: Minh Nguyen This patch fixes typo from "AssertTagType02" to "AssetTagType02". Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed-by: Sami Mujawar Acked-by: Ard Biesheuvel Acked-by: Leif Lindholm --- ArmPkg/Include/Library/OemMiscLib.h

[edk2-devel] [PATCH v4 5/6] ArmPkg/SmbiosMiscDxe: Remove redundant updates in SMBIOS Type 2

2022-09-18 Thread Nhi Pham via groups.io
From: Minh Nguyen This patch removes redundant updates of "BoardManufacturerType02" and "SerialNumberType02". Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed-by: Sami Mujawar Acked-by: Ard Biesheuvel Acked-by: Leif Lindholm --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscB

[edk2-devel] [PATCH v4 6/6] ArmPkg/SmbiosMiscDxe: Get SMBIOS information from OemMiscLib

2022-09-18 Thread Nhi Pham via groups.io
From: Minh Nguyen In some scenarios, the information of Bios Version, Bios Release and Embedded Controller Firmware Release are fetched during UEFI booting. This patch supports updating those fields dynamically when the PCDs are empty. Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed

[edk2-devel] [PATCH] FIX MinPlatformPkg PCIE Base Addess avoid thunking operation.

2022-09-18 Thread Ashraf Ali S
thunking the PCIE base address will cause the distruption in the execution flow when the PCIE base address is 64bit bit. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4068 Signed-off-by: Ashraf Ali S Cc: Ray Ni Cc: Rangasai V Chaganty Cc: Isaac Oram Cc: Chasel Chiu Cc: Nate DeSimone C

Re: [edk2-devel] measurement to command-line/initrd for loading kernel via -kernel option

2022-09-18 Thread Ard Biesheuvel
On Mon, 19 Sept 2022 at 04:13, Xu, Min M wrote: > > On September 18, 2022 8:52 PM, Ard Biesheuvel wrote: > > Hello Min Xu, > > > > On Sat, 17 Sept 2022 at 04:53, Xu, Min M wrote: > > > > > > Hi, Ard > > > > > > I am checking the measurement behavior when loading the kernel via the > > QEMU -kerne