From nobody Sat Dec 28 09:53:04 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1499351434585299.06073580743055; Thu, 6 Jul 2017 07:30:34 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 9BE8C21CC5377; Thu, 6 Jul 2017 07:28:33 -0700 (PDT) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0064.outbound.protection.outlook.com [104.47.32.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 494FA21CC5357 for ; Thu, 6 Jul 2017 07:28:32 -0700 (PDT) Received: from brijesh-build-machine.amd.com (165.204.77.1) by BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1240.13; Thu, 6 Jul 2017 14:30:10 +0000 X-Original-To: edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Oe/fDoFpLeexXYTFWmZko1drjdBOBQvRn78CQUwj/Dk=; b=43voEoYIgt9DcJp8Ce8qRq2QSpX9Cl1K2KA5S2I1nIEIuU8zdOKeHJ5oBRBUuWFzq0+ItbTVdk6gmvs46uHYc0ksjSVjlYkTE0VoHy2PpioUpfJYY1fKaJmbW77lKG/X3WazO9x0Ii63p1icQcKoGmcNvyXRyPHZYqx8j4/d+QI= Authentication-Results: lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=none action=none header.from=amd.com; From: Brijesh Singh To: edk2-devel@lists.01.org Date: Thu, 6 Jul 2017 10:29:43 -0400 Message-Id: <1499351394-1175-6-git-send-email-brijesh.singh@amd.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> References: <1499351394-1175-1-git-send-email-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: DM5PR15CA0024.namprd15.prod.outlook.com (10.173.207.162) To BY2PR12MB0147.namprd12.prod.outlook.com (10.162.82.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 11be5849-191f-4b19-c62c-08d4c47b8271 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 3:0ozo8yA514sFaLTGkwOTzibc5dskjeE7re25M2TIaRBYR5bLRPJmoyf0tY86iY5sQxnV165GkP0h9WbT5U8BKqtcdSe3pfgzuRmAleFJ6gkdTqcQqWZMtgwFhmaDnF5bxhEgZJtcOzPoXo4BbF3rRmYLM+r4XSWkdEqGcstLlhRmMjhvbkR0x6Eakplm41ZH8LjOPCVGoPk0KH0nZn2CmVHYL9oa3YM25y8Bpg7HWf3vTtGE56lx4J13k6Qcm7sKJzYxW53LhkVmP4F2GThTvYySWVO4vG8zGKr0Xekr6Allgy3pyDRRwcCX6CIhSZiF1IhDkWdoeKidE/XUqURyxY6YPhIafXAnyV+tqHEeJI8+29PMpz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ewf5MFfErj+bF/ewCnJ0pHIoN2dmPDzk= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 20:2ys4MPKzItDmZ7tKsNXgS6q0vxkOXeD8b54Z0KOeAECBe0BRDCZY32gEN58yKlnLqxlrp3FkVXl8qRNGhSZZOZhDi9gguimKZsrge69Vdk97LQxQvGtnIicPyGSosH5DPI6O5fKy3tGvSBBZqR3jMW6a27nTaCcyqBOUJAlclXIfz4i5JWFwNB9t76EswIsnFh1O/JZTtANzhijTEm2QoSH+j59ZQXHkJLp1cVHrT731OHQEnjsrwHYE41RrKeTvMBcIJ7LsucSZ8q3eXZIPKC2XowYR/pA89AFTn1fnElt3NDGYpEvd3dxPRXI+ijt7KElVAxpe4AsOhsvQQIUsgyyT0m9WT0ZW8iyy2resszKPI1RykC3mDg37lDk3AHBT8v4WjCEPR3ixwVGldX+8V0Vpd7rpzh3euvdxa8yv5i6Uu1fTrNA3G2V2f0ZMCIBbq34tZ1fJDoapIDrkhzwyfY3D/X3WTjDAXQpPuAWmPz7P2wcsCvJUpDvR2qzyiOGx X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(767451399110)(148574349560750)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910048)(5005006)(8121501046)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR12MB0147; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR12MB0147; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2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C7Ymfo?= =?us-ascii?Q?vzlgYEJBWXo5M3MPYUrDKuPqZK6VDFTTIpqTYiiXwQvpxBTeyVP415IOdHB6?= =?us-ascii?Q?7fHm3w9NXzA18qLR6qn1IZHoPZORl07RuaCZr3MjzNxvDIOborLPumHi21Ft?= =?us-ascii?Q?3IshfVES6iByvLsEGvpE+61sQb+BB9F5lvHn15dbQnABOgLFE+gL8MwEjCTH?= =?us-ascii?Q?LlIrk5ZFxdiOpvYQvGWyFua9ulageLznCNYWYnNqb7Wx8iHjB35YE2CviERd?= =?us-ascii?Q?kBNr3eMFmolbuS007BZA1Yk44Vszn17Y3xzagxeVgfqwP2b0vmQfWZYALSu0?= =?us-ascii?Q?eA700Vo/uGmc5DiNdP4cmKWbHA98z8mchs9Ja4M6woC09xXdADHj5+PfASg9?= =?us-ascii?Q?WbgiDdPBPATAApnShJTIk4wLvD7Pf8cKisSwX9jqlII8Lp/t0g95Gh+jSbHl?= =?us-ascii?Q?Z26lbDm2kWeYC8B0Afe0y5VV5IiHR+JDB8Pf9PtMbg?= X-Forefront-PRVS: 03607C04F0 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39450400003)(39850400002)(39840400002)(39860400002)(39410400002)(39400400002)(53936002)(48376002)(305945005)(2351001)(5003940100001)(2361001)(7736002)(50986999)(76176999)(5660300001)(4326008)(42186005)(16799955002)(2906002)(66066001)(6116002)(3846002)(15188155005)(47776003)(53416004)(6486002)(38730400002)(33646002)(81166006)(36756003)(189998001)(53376002)(110136004)(25786009)(50226002)(8676002)(6306002)(50466002)(575784001)(86362001)(6666003)(966005)(54906002)(2950100002)(478600001)(6916009)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR12MB0147; H:brijesh-build-machine.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 23:jvtRJLl/J+1e41Htn7E930QOpE+d/nvmAffJ3qH5l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EKNMGSHOGnEZ3jEoDzUGvH/jHe0zGlSC?= =?us-ascii?Q?I2dYcr/MwlO21TXIwO5kQOtFFZCkblDBeBTZkRlhDFWwC5i3cNZ6bbY2Q00O?= =?us-ascii?Q?4epy3N6jwol6Q3dpuLPMZNiDWDS63oG6B1lAW0r8GfkuAui3NkkEX2ZKZgyc?= =?us-ascii?Q?8ri0C2405lGwSLX0ld4utWML5qBplogLCDckOirGo2sAqfu72kLMw+jeKy6T?= =?us-ascii?Q?NCIdHImwx5WrzAGC8RHHEGXhgfW/76iTt2cUq2MrknsIlH7x25+iJoqn8i+p?= =?us-ascii?Q?R5rxBhJjHccCJfvqoeWzacTjo8wZ8NrTRCQRIRraEkpduX5hlEwpbFZWuThJ?= =?us-ascii?Q?AROcuaWxXOYYy9x0s0=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR12MB0147; 6:d2WoSZN+jK1jLU78R6/mPSXE7TsdAifo0HjPjOt6yQ?= =?us-ascii?Q?SdiWezkMWEDC0baBCH3ZjXnzjjh5Wkx/RUbZCgFjLUNRp6j1B3u2JUNRxzgA?= =?us-ascii?Q?m9K6fvuBhJnjjbBRF3ZyieHuDCvdj265/PzKTsORv29R6UrbyqTsP9dmkTM+?= =?us-ascii?Q?RhFR5ymdsi+tfym/plt7CkNfYqQLHa7uPxRaDMJzBzP+OFVEiBrPP/2xH1Qo?= =?us-ascii?Q?+SdrhbpEfQ11Q51/Ow8c9wMTN7pAqYVlJNgK6MoRSWxmvKGlXijqULVvgDzh?= =?us-ascii?Q?KMvSt66+81ZCUfPjrZpOvZWE4ohB7LJMb7HCVqMech6d7ZPZjPFV/FvvbENW?= =?us-ascii?Q?VMQErE3W4HqQvul5uCLScH+RpZmposrTc2X4zDyCx/ldexco4F2ae2/7b2lq?= =?us-ascii?Q?Pk843Fv9aFi0H4rk9qw8HBVwsGZhmn+nshu3akXH0s7g932fB2Po849miXNk?= =?us-ascii?Q?AP8I+Oulnvx1p+3RdsTFv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6zE4vUrKl94TgMugNwmeOssrRYHdeu/h1wVD65HOrYT9d3nbI08JJiYreQE/5mPL/LmNE= X-Microsoft-Exchange-Diagnostics: 1; BY2PR12MB0147; 20:QDemiL+iDBuoIc4D/n4sZyHyoA0x3gMfj8YJL5f41sBbgtlz9410EtKy8z1NwFCG7/gmK9AQU3uQp5lUBB3fOPnNW4zutt4nlmaMWIADNOneFGh33SNzrgRbagNAweZ3wIFqZmVAK9lkakY73OzwWPbuuMjecELazkKUo8sxBJUMACm169l5VB9H6KAbH0jCnrDM25tJBdO/s3QUydTW0V7VPyceubz1E7qUPogYIQ5Oy3Xh7Ywb+lJxo+fixW0M X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 14:30:10.8383 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR12MB0147 Subject: [edk2] [PATCH v8 05/16] OvmfPkg: Add AmdSevDxe driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas.Lendacky@amd.com, jordan.l.justen@intel.com, leo.duran@amd.com, Jiewen Yao , lersek@redhat.com Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" When SEV is enabled, the MMIO memory range must be mapped as unencrypted (i.e C-bit cleared). We need to clear the C-bit for MMIO GCD entries in order to cover the ranges that were added during the PEI phase (through memory resource descriptor HOBs). Additionally, the NonExistent ranges are processed in order to cover, in advance, MMIO ranges added later in the DXE phase by various device drivers, via the appropriate DXE memory space services. The approach is not transparent for later addition of system memory ranges to the GCD memory space map. (Such ranges should be encrypted.) OVMF does not do such a thing at the moment, so this approach should be OK. The driver is being added to the APRIORI DXE file so that, we clear the C-bit from MMIO regions before any driver accesses it. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Leo Duran Cc: Jiewen Yao Contributed-under: TianoCore Contribution Agreement 1.0 Suggested-by: Jiewen Yao Signed-off-by: Brijesh Singh Reviewed-by: Jiewen Yao Reviewed-by: Laszlo Ersek --- OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.fdf | 2 + OvmfPkg/OvmfPkgX64.fdf | 2 + OvmfPkg/AmdSevDxe/AmdSevDxe.inf | 43 +++++++++++ OvmfPkg/AmdSevDxe/AmdSevDxe.c | 75 ++++++++++++++++++++ 6 files changed, 124 insertions(+) diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index edacd655d147..b3a22c726b92 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -825,6 +825,7 @@ [Components.X64] !endif =20 OvmfPkg/PlatformDxe/Platform.inf + OvmfPkg/AmdSevDxe/AmdSevDxe.inf =20 !if $(SMM_REQUIRE) =3D=3D TRUE OvmfPkg/SmmAccess/SmmAccess2Dxe.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 93933612a3c7..aba4d907b567 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -823,6 +823,7 @@ [Components] !endif =20 OvmfPkg/PlatformDxe/Platform.inf + OvmfPkg/AmdSevDxe/AmdSevDxe.inf =20 !if $(SMM_REQUIRE) =3D=3D TRUE OvmfPkg/SmmAccess/SmmAccess2Dxe.inf diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf index fae82709aee1..5cec9982dbe1 100644 --- a/OvmfPkg/OvmfPkgIa32X64.fdf +++ b/OvmfPkg/OvmfPkgIa32X64.fdf @@ -191,6 +191,7 @@ [FV.DXEFV] APRIORI DXE { INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf !if $(SMM_REQUIRE) =3D=3D FALSE INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf !endif @@ -352,6 +353,7 @@ [FV.DXEFV] INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf INF OvmfPkg/PlatformDxe/Platform.inf +INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf =20 !if $(SMM_REQUIRE) =3D=3D TRUE INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf index 4da0b19b94cf..213db6bedbe2 100644 --- a/OvmfPkg/OvmfPkgX64.fdf +++ b/OvmfPkg/OvmfPkgX64.fdf @@ -191,6 +191,7 @@ [FV.DXEFV] APRIORI DXE { INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf + INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf !if $(SMM_REQUIRE) =3D=3D FALSE INF OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf !endif @@ -352,6 +353,7 @@ [FV.DXEFV] INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf INF OvmfPkg/PlatformDxe/Platform.inf +INF OvmfPkg/AmdSevDxe/AmdSevDxe.inf =20 !if $(SMM_REQUIRE) =3D=3D TRUE INF OvmfPkg/SmmAccess/SmmAccess2Dxe.inf diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.inf b/OvmfPkg/AmdSevDxe/AmdSevDxe.= inf new file mode 100644 index 000000000000..41635a57a454 --- /dev/null +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.inf @@ -0,0 +1,43 @@ +#/** @file +# +# Driver clears the encryption attribute from MMIO regions when SEV is en= abled +# +# Copyright (c) 2017, AMD Inc. All rights reserved.
+# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the B= SD +# License which accompanies this distribution. The full text of the lice= nse may +# be found at http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IM= PLIED. +# +#**/ + +[Defines] + INF_VERSION =3D 1.25 + BASE_NAME =3D AmdSevDxe + FILE_GUID =3D 2ec9da37-ee35-4de9-86c5-6d9a81dc38a7 + MODULE_TYPE =3D DXE_DRIVER + VERSION_STRING =3D 1.0 + ENTRY_POINT =3D AmdSevDxeEntryPoint + +[Sources] + AmdSevDxe.c + +[Packages] + MdePkg/MdePkg.dec + MdeModulePkg/MdeModulePkg.dec + OvmfPkg/OvmfPkg.dec + +[LibraryClasses] + BaseLib + UefiLib + UefiDriverEntryPoint + UefiBootServicesTableLib + DxeServicesTableLib + DebugLib + MemEncryptSevLib + +[Depex] + TRUE diff --git a/OvmfPkg/AmdSevDxe/AmdSevDxe.c b/OvmfPkg/AmdSevDxe/AmdSevDxe.c new file mode 100644 index 000000000000..e472096320ea --- /dev/null +++ b/OvmfPkg/AmdSevDxe/AmdSevDxe.c @@ -0,0 +1,75 @@ +/** @file + + AMD Sev Dxe driver. This driver is dispatched early in DXE, due to being= list + in APRIORI. It clears C-bit from MMIO and NonExistent Memory space when = SEV is + enabled. + + Copyright (c) 2017, AMD Inc. All rights reserved.
+ + This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD + License which accompanies this distribution. The full text of the licen= se may + be found at http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMP= LIED. + +**/ + +#include + +#include +#include +#include +#include +#include +#include +#include + +EFI_STATUS +EFIAPI +AmdSevDxeEntryPoint ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + EFI_GCD_MEMORY_SPACE_DESCRIPTOR *AllDescMap; + UINTN NumEntries; + UINTN Index; + + // + // Do nothing when SEV is not enabled + // + if (!MemEncryptSevIsEnabled ()) { + return EFI_UNSUPPORTED; + } + + // + // Iterate through the GCD map and clear the C-bit from MMIO and NonExis= tent + // memory space. The NonExistent memory space will be used for mapping t= he MMIO + // space added later (eg PciRootBridge). By clearing both known MMIO and + // NonExistent memory space can gurantee that current and furture MMIO a= dds + // will have C-bit cleared. + // + Status =3D gDS->GetMemorySpaceMap (&NumEntries, &AllDescMap); + if (!EFI_ERROR (Status)) { + for (Index =3D 0; Index < NumEntries; Index++) { + CONST EFI_GCD_MEMORY_SPACE_DESCRIPTOR *Desc; + + Desc =3D &AllDescMap[Index]; + if (Desc->GcdMemoryType =3D=3D EfiGcdMemoryTypeMemoryMappedIo || + Desc->GcdMemoryType =3D=3D EfiGcdMemoryTypeNonExistent) { + Status =3D MemEncryptSevClearPageEncMask (0, + Desc->BaseAddress, + EFI_SIZE_TO_PAGES(Desc->Le= ngth), + FALSE); + ASSERT_EFI_ERROR (Status); + } + } + + FreePool (AllDescMap); + } + + return EFI_SUCCESS; +} --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel