From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=sughosh.ganu@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 78D212119F077 for ; Wed, 26 Dec 2018 20:53:38 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 33C2CEBD; Wed, 26 Dec 2018 20:53:38 -0800 (PST) Received: from usa.arm.com (a074948-lin.blr.arm.com [10.162.4.56]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DA92B3F5AF; Wed, 26 Dec 2018 20:53:36 -0800 (PST) From: Sughosh Ganu To: edk2-devel@lists.01.org, Ard Biesheuvel , Leif Lindholm Date: Thu, 27 Dec 2018 10:23:19 +0530 Message-Id: <1545886402-8518-1-git-send-email-sughosh.ganu@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-platforms v3 0/3] Platform/ARM/SgiPkg: Enable StandaloneMm on Sgi platforms X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 X-List-Received-Date: Thu, 27 Dec 2018 04:53:39 -0000 Changes since v2: Handle review comments from Ard Biesheuvel The following patches enable building of StandaloneMm image on Sgi platforms. The first patch adds build infra for StandaloneMm image. The second patch of the series adds memory buffer required for communication between the non-secure world with StandaloneMm image using MM Communicate. The third patch of the series enables MmCommunication module on the platform for it subsequent use by features like Secure-Boot and Error Injection and Handling for RAS. Sughosh Ganu (3): Platform/ARM/SgiPkg: Build infrastructure for StandaloneMm image Platform/ARM/SgiPkg: Setup memory buffers for MmCommunicate Platform/ARM/SgiPkg: Enable MmCommunication module on the platform Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 128 ++++++++++++++++++++ Platform/ARM/SgiPkg/SgiPlatform.dsc | 14 +++ Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 99 +++++++++++++++ Platform/ARM/SgiPkg/SgiPlatform.fdf | 3 + Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLib.inf | 4 + Platform/ARM/SgiPkg/Library/PlatformLib/PlatformLibMem.c | 8 +- 6 files changed, 255 insertions(+), 1 deletion(-) create mode 100644 Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc create mode 100644 Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf -- 2.7.4