From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::32a; helo=mail-wm1-x32a.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 72245211D3917 for ; Tue, 5 Mar 2019 05:32:57 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id n19so2582106wmi.1 for ; Tue, 05 Mar 2019 05:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BzqG4j8LzINia76NKgjl5qzmPYWJcmPSAU22Y5SuM1I=; b=XCTs0T0p+TjVC0+cDGQwPJMsQzHX6YkrwGmdGBGTUmZ9NO5Fs62NvMnz8dz5uYROdY 5ZZDhhXrDqfHyUkXxJeBfZFIGfVhY3Bv+J0P2jkEVW+yZerHcCc5n4uWVUKNxsvkkrIM tHU2fRryeIgGPpshaqqugLMjV5RPv79864pysRJF5od1nqTSCQNKlhJc9Qqjt0iPhDNX PwJIj7WuBrclFGWhOnJq2RjtQSrqV35O22KwEPNW5m8UVqc+OCyvb03fouVEPoXcdRnp PC02TSbqBAsIQ5gWNiKAvxv7SC6cCVB52wdn59sqPPzICVHzwfLxYpw0u2CDoZNMmlb3 qvXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BzqG4j8LzINia76NKgjl5qzmPYWJcmPSAU22Y5SuM1I=; b=Qe2VqwJm8k83zA8rMrgYrqa221C27D48F39iCUeHv8DgwDWk3rcY8SgUeNE5HMnXjN R3yohxKJvqqD21Ti8WxJz0DhZzwaUxX7eWIUeX3ebDBeaCvgMpDXsgKUWuYobja3ZMsg zF3J1qPmjZEHcJFOGPi0kaR0AitjJ0jy4muZ8oaC6cBDGKkt04aAV7Y8Qou3VoNAGbpe TWZQVbTfW5b4+n8tG6C3yZorh04/bC+Rzy+tiT77BncyEMcQwP5iUda4ga0a70FDpyTn LtW5YaAhKNFmm4SdPCnjL/PoM53nE2WzS31SGlZi6zflBUTtl8zooHGWepHS+kQog2UR vyRw== X-Gm-Message-State: APjAAAWbx0qUGDTn9g63lAFQiry2aAXdwz5NKKpfH4fkGqACQR7V3D58 iW7HiHObQdZC4Ya6goKZnk9JrrwoU/s= X-Google-Smtp-Source: APXvYqwXPcNIB8JbsFvheRU2Qny7RwgCEdXz4uOGcpIxeKvN4GrhAg+1Xtnf6Q/wipMXWGygdWf6Vg== X-Received: by 2002:a1c:c90b:: with SMTP id f11mr2756828wmb.61.1551792774803; Tue, 05 Mar 2019 05:32:54 -0800 (PST) Received: from localhost.localdomain (aputeaux-684-1-18-114.w90-86.abo.wanadoo.fr. [90.86.221.114]) by smtp.gmail.com with ESMTPSA id i4sm8370097wrw.19.2019.03.05.05.32.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Mar 2019 05:32:53 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: Ard Biesheuvel , Achin Gupta , Supreeth Venkatesh , Jiewen Yao , Leif Lindholm , Jagadeesh Ujja Date: Tue, 5 Mar 2019 14:32:38 +0100 Message-Id: <20190305133248.4828-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [PATCH 00/10] StandaloneMmPkg, ArmPkg: cleanups and improvements 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: Tue, 05 Mar 2019 13:32:57 -0000 Content-Transfer-Encoding: 8bit This series is a further cleanup of the StandaloneMmPkg infrastructure used to implement UEFI secure boot on ARM systems. The first 5 patches are simple cleanups. Patch #6 adds support for dispatching a compressed firmware volume in the standalone MM context, so that all drivers except the core can be delivered in an encapsulated compressed FV, which saves quite some space. Patch #7 modifies the driver dispatch logic in the MM context so that the dispatcher continues until all drivers are dispatched, rather than waiting for a nudge from the non-secure side once the CPU driver has been loaded. Patch #8 removes support for the FV dispatch MM call. Patch #9 removes support for legacy boot handling. Patch #10 implements relaying architected PI events from DXE into MM by the MM communicate driver. Cc: Achin Gupta Cc: Supreeth Venkatesh Cc: Jiewen Yao Cc: Leif Lindholm Cc: Jagadeesh Ujja Ard Biesheuvel (10): StandaloneMmPkg: drop redundant definition of gEfiMmConfigurationProtocolGuid StandaloneMmPkg: drop unused PCD PcdStandaloneMmEnable StandaloneMmPkg: switch to NULL DebugLib resolution StandaloneMmPkg: remove redundant StandaloneMmDriverEntryPoint driver StandaloneMmPkg/StandaloneMmCoreEntryPoint: drop explicit SerialPortLib call StandaloneMmPkg/Core: permit encapsulated firmware volumes StandaloneMmPkg/Core: dispatch all drivers at init time StandaloneMmPkg/Core: drop support for dispatching FVs into MM StandaloneMmPkg/Core: remove legacy boot support ArmPkg/MmCommunicationDxe: signal architected PI events into MM context StandaloneMmPkg/StandaloneMmPkg.dec | 6 - StandaloneMmPkg/StandaloneMmPkg.dsc | 14 +- ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.inf | 5 + StandaloneMmPkg/Core/StandaloneMmCore.inf | 1 + StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf | 41 ------ StandaloneMmPkg/Library/StandaloneMmPeCoffExtraActionLib/StandaloneMmPeCoffExtraActionLib.inf | 3 - StandaloneMmPkg/Core/StandaloneMmCore.h | 44 ------- ArmPkg/Drivers/MmCommunicationDxe/MmCommunication.c | 47 ++++++- StandaloneMmPkg/Core/Dispatcher.c | 138 -------------------- StandaloneMmPkg/Core/FwVol.c | 99 ++++++++++++-- StandaloneMmPkg/Core/StandaloneMmCore.c | 126 +++++------------- StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCoreEntryPoint.c | 3 - StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c | 99 -------------- 13 files changed, 175 insertions(+), 451 deletions(-) delete mode 100644 StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf delete mode 100644 StandaloneMmPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c -- 2.20.1