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=jagadeesh.ujja@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 E1E1A21A07096 for ; Mon, 4 Mar 2019 02:12:04 -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 A6C83EBD; Mon, 4 Mar 2019 02:12:04 -0800 (PST) Received: from usa.arm.com (a075556-lin.blr.arm.com [10.162.2.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4ED863F703; Mon, 4 Mar 2019 02:12:03 -0800 (PST) From: Jagadeesh Ujja To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, ard.biesheuvel@linaro.org Date: Mon, 4 Mar 2019 15:41:50 +0530 Message-Id: <1551694313-23594-1-git-send-email-jagadeesh.ujja@arm.com> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-platforms 0/3] Platform/ARM/SgiPkg: Implement StandaloneMm based secure boot 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: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 X-List-Received-Date: Mon, 04 Mar 2019 10:12:06 -0000 Integrating various pieces together so that the authenticated variable store runs entirely in standalone MM context residing in a secure partition. This primarily involves adding all required library and drivers to platform specific .DSC and .FDF files. This creates separate Nor flash region which is visible to only StandaoneMm drivers, this Nor Flash will co-exist along with general Nor flash region. Jagadeesh Ujja (3): Platform/ARM/Sgi: define nor2 flash controller memory map Platform/ARM/Sgi: allow MM_STANDALONE modules to use NorFlashPlatformLib Platform/ARM/SgiPkg: add MM based UEFI secure boot support Platform/ARM/SgiPkg/Include/SgiPlatform.h | 4 ++ Platform/ARM/SgiPkg/Library/NorFlashLib/StandaloneMmNorFlashLib.c | 63 ++++++++++++++++++++ Platform/ARM/SgiPkg/Library/NorFlashLib/StandaloneMmNorFlashLib.inf | 35 +++++++++++ Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 33 +++++++++- Platform/ARM/SgiPkg/PlatformStandaloneMm.fdf | 5 ++ Platform/ARM/SgiPkg/SgiPlatform.dsc | 18 +++++- Platform/ARM/SgiPkg/SgiPlatform.fdf | 9 ++- 7 files changed, 164 insertions(+), 3 deletions(-) create mode 100644 Platform/ARM/SgiPkg/Library/NorFlashLib/StandaloneMmNorFlashLib.c create mode 100644 Platform/ARM/SgiPkg/Library/NorFlashLib/StandaloneMmNorFlashLib.inf -- 2.7.4 In-Reply-To: