Re: [edk2] Dependency expression inheritance problems

2018-04-06 Thread darylm
Liming, I don't remember whether I replied to you. I submitted Bugzilla report #914 - DEPEX not inherited from binary libraries - on 30 March 2018. Thanks, Daryl -Original Message- From: edk2-devel On Behalf Of Gao, Liming Sent: Thursday, March 29, 2018 5:36 PM To: edk2-li...@mc2researc

Re: [edk2] Dependency expression inheritance problems

2018-04-06 Thread edk2-lists
Liming, I don't remember whether I answered you or not, but I did submit a Bugzilla report on March 30, 2018. Bug 914 - DEPEX not inherited from binary libraries Thank you, Daryl -Original Message- From: edk2-devel On Behalf Of Gao, Liming Sent: Thursday, March 29, 2018 5:36 PM To: edk2

Re: [edk2] [Patch 9/9] SignedCapsulePkg/SystemFirmwareUpdateDxe: Use progress API

2018-04-06 Thread Kinney, Michael D
Ard, Yes. I need to do an edk2-platforms patch to go with this one. The current API can be implemented on top of the new API with no use of progress. That is the simple patch. Each platform can choose to use progress for portions of flash update if needed. Mike > -Original Message- >

Re: [edk2] [RFC v1 00/15] *** Proposal for StandaloneMmPkg ***

2018-04-06 Thread Supreeth Venkatesh
Jiewen, My response inline for some of the comments. I have posted new series of patches. Please review them and provide feedback. Thanks, Supreeth -Original Message- From: Yao, Jiewen Sent: Monday, December 4, 2017 12:36 AM To: Supreeth Venkatesh ; edk2-devel@lists.01.org Cc: leif.lind

[edk2] [edk2-platforms PATCH v1 3/3] VExpressPkg: Reorder driver load order for AARCH64 FVP.

2018-04-06 Thread Supreeth Venkatesh
ARM CPU driver inf file recently got updated to have a depedency expression to load after GIC driver. However, there are other Arm drivers like NorFlashDxe, MM Communication drivers etc. which depends on ARM CPU driver for AddMemorySpace() and its related operations to work properly. Hence, Norflas

[edk2] [edk2-platforms PATCH v1 1/3] Platform/VExpressPkg: Enable MM communication driver.

2018-04-06 Thread Supreeth Venkatesh
This patch enables MmCommunicationDxe on AArch64 Fixed Virtual Platform (FVP) by defining required PCDs and driver inf file. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Supreeth Venkatesh --- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 11 +++ Platfo

[edk2] [edk2-platforms PATCH v1 0/3] *** Enable Standalone Management Mode Core Interface on AARCH64 FVP ***

2018-04-06 Thread Supreeth Venkatesh
*** PI Specification v1.5 "Volume 4: Management Mode Core Interface" introduces the concept of MM Standalone Mode. This patchset enables Standalone Management Mode Core Interface on AARCH64 FVP. *** Supreeth Venkatesh (3): Platform/VExpressPkg: Enable MM communication driver. VExpressPkg: Add

[edk2] [edk2-platforms PATCH v1 2/3] VExpressPkg: Add Test application "MmCommTest" to AArch64 FVP.

2018-04-06 Thread Supreeth Venkatesh
This patch enables "MmCommTest" application on AArch64 Fixed Virtual Platform (FVP) by defining required inf file in description and fd files. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Supreeth Venkatesh --- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 1 +

[edk2] [PATCH v1 18/18] StandaloneMmPkg: Add handler to handle event received from Normal World.

2018-04-06 Thread Supreeth Venkatesh
This patch adds a simple handler to handle event received from "mmcommtest" shell application. It prints the version information from the copy of the UEFI system table received from normal world. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Sup

[edk2] [PATCH v1 17/18] StandaloneMmPkg: Add application to test MM communication protocol.

2018-04-06 Thread Supreeth Venkatesh
This patch adds a simple application that uses the MM communication protocol to pass a copy of the UEFI system table to the MM environment in the secure world. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Supreeth Venkatesh --- .../Applicatio

[edk2] [PATCH v1 11/18] StandaloneMmPkg: MM driver entry point library.

2018-04-06 Thread Supreeth Venkatesh
This patch implements module entry point library for Standalone management mode (MM) Drivers. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Supreeth Venkatesh --- .../Include/Library/MmDriverStandaloneEntryPoint.h | 148 +

[edk2] [PATCH v1 12/18] StandaloneMmPkg/CpuMm: Add CPU driver suitable for ARM Platforms.

2018-04-06 Thread Supreeth Venkatesh
This patch adds a simple CPU driver that exports the EFI_MM_CONFIGURATION_PROTOCOL to allow registration of the Standalone MM Foundation entry point. It preserves the existing notification mechanism for the configuration protocol. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-

[edk2] [PATCH v1 16/18] BaseTools/AutoGen: Update header file for MM modules.

2018-04-06 Thread Supreeth Venkatesh
This patch corrects the Module Type Header file for Management Mode(MM) as specified in PI v1.6 Specification. Also, it updates parameter for auto generated template functions from EFI_SMM_SYSTEM_TABLE2 to EFI_MM_SYSTEM_TABLE. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by:

[edk2] [PATCH v1 14/18] StandaloneMmPkg: Describe the declaration, definition and fdf files.

2018-04-06 Thread Supreeth Venkatesh
This patch describes the package declarations, definitions and firmware device files for creating standalone management mode image with core/foundation and drivers. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Supreeth Venkatesh --- Standalon

[edk2] [PATCH v1 15/18] ArmPkg: Extra action to update permissions for S-ELO MM Image.

2018-04-06 Thread Supreeth Venkatesh
The Standalone MM drivers runs in S-EL0 in AArch64 on ARM Standard Platforms and is deployed during SEC phase. The memory allocated to the Standalone MM drivers should be marked as RO+X. During PE/COFF Image section parsing, this patch implements extra action "UpdatePeCoffPermissions" to request t

[edk2] [PATCH v1 07/18] StandaloneMmPkg/FvLib: Add a common FV Library for management mode.

2018-04-06 Thread Supreeth Venkatesh
This patch implements a firmware volume library that can be used by the Standalone management mode core module to parse the firmware volume. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Supreeth Venkatesh --- StandaloneMmPkg/Include/Library/F

[edk2] [PATCH v1 08/18] StandaloneMmPkg/MemLib: AARCH64 Specific instance of memory check library.

2018-04-06 Thread Supreeth Venkatesh
MM memory check library library implementation. This library consumes MM_ACCESS_PROTOCOL to get MMRAM information. In order to use this library instance, the platform should produce all MMRAM range via MM_ACCESS_PROTOCOL, including the range for firmware (like MM Core and MM driver) and/or specific

[edk2] [PATCH v1 10/18] StandaloneMmPkg/HobLib: Add AARCH64 Specific HOB Library for management mode.

2018-04-06 Thread Supreeth Venkatesh
The Standalone MM environment is initialized during the SEC phase on ARM Standard Platforms. The MM Core driver implements an entry point module which is architecture specific and runs prior to the generic core driver code. The former creates a Hob list that the latter consumes. This happens in the

[edk2] [PATCH v1 09/18] StandaloneMmPkg/MemoryAllocationLib: Add MM memory allocation library.

2018-04-06 Thread Supreeth Venkatesh
This patch implements management mode memory allocation services.The implementation borrows the MM Core Memory Allocation services as the primitive for memory allocation instead of using MM System Table services. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta S

[edk2] [PATCH v1 06/18] StandaloneMmPkg: Add an AArch64 specific entry point library.

2018-04-06 Thread Supreeth Venkatesh
The Standalone MM environment runs in S-EL0 in AArch64 on ARM Standard Platforms and is initialised during the SEC phase. ARM Trusted firmware in EL3 is responsible for initialising the architectural context for S-EL0 and loading the Standalone MM image. The memory allocated to this image is marked

[edk2] [PATCH v1 04/18] ArmPkg/ArmMmuLib: Add MMU Library suitable for use in S-EL0.

2018-04-06 Thread Supreeth Venkatesh
The Standalone MM environment runs in S-EL0 in AArch64 on ARM Standard Platforms. Privileged firmware e.g. ARM Trusted Firmware sets up its architectural context including the initial translation tables for the S-EL1/EL0 translation regime. The MM environment could still request ARM TF to change th

[edk2] [PATCH v1 03/18] ArmPkg/Include: Add MM interface SVC return codes.

2018-04-06 Thread Supreeth Venkatesh
This patch adds the Management Mode(MM) SVC return codes as specified in http://infocenter.arm.com/help/topic/com.arm.doc.den0060a/DEN0060A_ARM_MM_Interface_Specification.pdf. Also, corrects SVC ID for retrieving SPM version information. Contributed-under: TianoCore Contribution Agreement 1.1 Sign

[edk2] [PATCH v1 05/18] ArmPkg/ArmMmuLib: Add MMU library inf file suitable for use in S-EL0.

2018-04-06 Thread Supreeth Venkatesh
This patch adds the definitions, sources, packages and library classes needed to compile and link MMU Library suitable for use in S-EL0. Currently, this is used only during the Standalone MM Core initialization and hence defined as MM_CORE_STANDALONE Module. Contributed-under: TianoCore Contribut

[edk2] [PATCH v1 02/18] ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.

2018-04-06 Thread Supreeth Venkatesh
PI v1.5 Specification Volume 4 defines Management Mode Core Interface and defines EFI_MM_COMMUNICATION_PROTOCOL. This protocol provides a means of communicating between drivers outside of MM and MMI handlers inside of MM. This patch implements the EFI_MM_COMMUNICATION_PROTOCOL DXE runtime driver f

[edk2] [PATCH v1 01/18] ArmPkg: Add PCDs needed for MM communication driver.

2018-04-06 Thread Supreeth Venkatesh
This patch defines PCDs to describe the base address and size of communication buffer between normal world (uefi) and standalone MM environment in the secure world. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Achin Gupta Signed-off-by: Supreeth Venkatesh --- ArmPkg/Ar

[edk2] [PATCH v1 00/18] *** Standalone Management Mode Core Interface for AARCH64 Platforms ***

2018-04-06 Thread Supreeth Venkatesh
*** PI Specification v1.5 "Volume 4: Management Mode Core Interface" introduces the concept of MM Standalone Mode. Initialization of this mode can be done during the SEC phase (Section 1.5.2). On ARMv8-A systems, ARM Trusted Firmware is responsible for launching the normal world firmware e.g. U

Re: [edk2] [Patch 9/9] SignedCapsulePkg/SystemFirmwareUpdateDxe: Use progress API

2018-04-06 Thread Ard Biesheuvel
On 4 April 2018 at 22:25, Michael D Kinney wrote: > From: "Kinney, Michael D" > > https://bugzilla.tianocore.org/show_bug.cgi?id=801 > > Use PlatformFlashWriteWithProgress() instead of PlatformFLashWrite() > so the user can be informed of the progress as a capsule is used > to update a firmware i