From nobody Fri May 17 14:04:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99009+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99009+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674642517; cv=none; d=zohomail.com; s=zohoarc; b=In+Rud8nva9TgAusu5lh+6AqmTy6rRg6taHoJfFIrOsbCvtN10acfM9CKMRnBgoimJCYRNeZUIpdqnUk5OoBw/rUF+ahk4oWI/PixcrnD3eZWGVImvdkFNSWW/hZG50o+AVvMP9B4n+2lQqNOPL5SlUlIeFL5VGzaXcMcEu2tgg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674642517; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=itIIltKJSvHunVDW868HiKw7VYS7L65XWyEjQoySGqI=; b=PYVT+jEGqKXVSN/2pp1GQ8TRaVF+6J3JSuk5UQFp1+5lnxS6r6zhMBqqIXAKZzsCqKA9WN4Y5ITYjNhKs7JODE9j4h7HhYAiy5eU7SiqDSzfspsXYSI5UyvEN0S9ZiAJwq4wFiQXHkX/Nd33T+AJmePTKWCLjqZfsa7CuAOfHT4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99009+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674642517494370.65983200468975; Wed, 25 Jan 2023 02:28:37 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id oNCKYY1788612xQLOESLTYGf; Wed, 25 Jan 2023 02:28:37 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42334.1674642515991591105 for ; Wed, 25 Jan 2023 02:28:36 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 557C7C14; Wed, 25 Jan 2023 02:29:17 -0800 (PST) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DA7D43F71E; Wed, 25 Jan 2023 02:28:33 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois Subject: [edk2-devel] [PATCH edk2-platforms 1/5] Platform/ARM/SgiPkg: Remove '-march=armv8-a+nofp' flag Date: Wed, 25 Jan 2023 11:27:58 +0100 Message-Id: <20230125102802.663790-2-Pierre.Gondois@arm.com> In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: g7tV3u6QnaSumqUMycwPjTgmx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674642517; bh=N/yx43N922kTV27ePHyjhZnj+KQSS3kJRW4R832MUE0=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=iT3OO1cOYaWojKg5FsR/xbbYA2K31J/SmCOSCYMeocRmNDEWuk6FMAS0VKpUrU6+wya nlTgbKmwEF68m96Yej/W16xklTB36kwoRDWOBZd49FsO08/uRL0SLubn90nFcEiWtVCB+ opUVTJp7XjE16qSrAtx7rWkKV08hwFO6cBE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674642517976100005 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois The '-march=3Darmv8-a+nofp' flag abort the following build: build -a AARCH64 -p Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc -t GCC5 -D SECURE_STORAGE_ENABLE Error message: CryptoPkg/Library/OpensslLib/openssl/crypto/rand/drbg_lib.c:1009:12: error: =E2=80=98+nofp=E2=80=99 feature modifier is incompatible with the = use of floating-point types static int drbg_add(const void *buf, int num, double randomness) ^~~~~~~~ In SgiPlatformMm.dsc.inc, the '-march=3Darmv8-a+nofp' flag was originally added in: commit 1974293d1975 ("Platform/ARM/SgiPkg: Build infrastructure for StandaloneMm image") as a linker flag. The flag seem to have been added to avoid triggering an exception due to the floating point unit missing in RTL. With the latest RTL, the exception is not triggered anymore. commit 936e8dd57524 ("Platform/Sgi: Cleanup build options for StandaloneMM context") moves the flag from the linker to the compiler, making the build fail. Remove the '-march=3Darmv8-a+nofp' flag as it is not necessary anymore for SgiPlatformMm.dsc.inc, and is probably not necessary for PlatformStandaloneMmRpmb.dsc. CC: Omkar Anand Kulkarni CC: Pranav Madhu CC: Sayanta Pattanayak Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar Reviewed-by: Thomas Abraham --- Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc b/Platform/ARM/SgiPk= g/SgiPlatformMm.dsc.inc index 01f0a7657c51..f9a516b341f0 100644 --- a/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc @@ -146,5 +146,5 @@ [Components.AARCH64] # ##########################################################################= ######################### [BuildOptions.AARCH64] - GCC:*_*_*_CC_FLAGS =3D -mstrict-align -march=3Darmv8-a+nofp -D DISABLE_N= EW_DEPRECATED_INTERFACES + GCC:*_*_*_CC_FLAGS =3D -mstrict-align -D DISABLE_NEW_DEPRECATED_INTERFAC= ES GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99009): https://edk2.groups.io/g/devel/message/99009 Mute This Topic: https://groups.io/mt/96518042/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 14:04:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99010+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99010+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674642519; cv=none; d=zohomail.com; s=zohoarc; b=WpagH8N+i9hSBEHw1z9VQ3RILGHlBN3wVdyMJvv5epgqn4jE8795H0q9Eag/5d0wvGsKWt+HW2Tz1k0YS6L9TFs3+tXu1mnXqA6uqLTpSD+YoBRh8/U1qpZJNuIfKjSVuxxYWm4CvpHpwwJNxi06VOF/jv2jcyenEVDCO+zBgGc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674642519; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=may0Ke6+USOX+xlz98Cngs+MoSmPZmMXGN9QKJSi7pE=; b=Uk+upQef7wHMRPVw2AJ5R3AeLvdfzo86BuPHkJ9pVIf6aoW/vu0MsDtYrTWBfEsDH6xkMYU79il0dxFC0RTQvc3DHjP93s8sTaGr35S+uPLEsT3Jvcmuw75NIB6kuaQ1EHNuwxGiF2dNavKUHPrFI1dFuIt0CTDW/bZuxfNrp3o= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99010+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674642519023798.9981371252682; Wed, 25 Jan 2023 02:28:39 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id XsmCYY1788612xECW8xwR80v; Wed, 25 Jan 2023 02:28:38 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42335.1674642518031296402 for ; Wed, 25 Jan 2023 02:28:38 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3D8A1165C; Wed, 25 Jan 2023 02:29:19 -0800 (PST) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C35163F71E; Wed, 25 Jan 2023 02:28:35 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois Subject: [edk2-devel] [PATCH edk2-platforms 2/5] Platform/StandaloneMm: Remove '-march=armv8-a+nofp' flag Date: Wed, 25 Jan 2023 11:27:59 +0100 Message-Id: <20230125102802.663790-3-Pierre.Gondois@arm.com> In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: D2MZtqvgteKAyMV5bn4nujGbx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674642518; bh=+20s9w6VT2hSp7XOi5RDAS3AJ8nT6Bf7QlsYLoRT8SQ=; h=Cc:Date:From:Reply-To:Subject:To; b=aGfQazMnDzDAj0QnAfbjIc+u6yaAUUMJx8MjAEnSht+wNNYy3FuJG1DqXjVHA4m4EkD saedDqpae1tgOFe/GRkL9V7BkDCsBApLGnU/DJzn6Uy+IYxr1GfA3DXB0FNg27DzgisF2 o57oKL8zH/CEfj7wtio9UFVML8FthmYNTPg= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674642520005100010 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois The '-march=3Darmv8-a+nofp' flag used for PlatformStandaloneMm.dsc was removed in the previous patch. The same flag was probably copied from this first configuration in: commit bd5071cfbde01 ("StMMRpmb: Add support for building StandaloneMm image for OP-TEE") As the flag is removed for PlatformStandaloneMm.dsc in the previous patch, also remove the flag for PlatformStandaloneMmRpmb.dsc. CC: Ilias Apalodimas CC: Omkar Anand Kulkarni CC: Pranav Madhu CC: Sayanta Pattanayak Signed-off-by: Pierre Gondois Acked-by: Ilias Apalodimas Reviewed-by: Sami Mujawar Reviewed-by: Thomas Abraham --- .../PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandalo= neMmRpmb.dsc b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStanda= loneMmRpmb.dsc index 653029c52fdb..611d76e62117 100644 --- a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpm= b.dsc +++ b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpm= b.dsc @@ -165,7 +165,7 @@ [Components.common] # ##########################################################################= ######################### [BuildOptions.AARCH64] -GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 -march=3Darmv8-a+no= fp +GCC:*_*_*_DLINK_FLAGS =3D -z common-page-size=3D0x1000 GCC:*_*_*_CC_FLAGS =3D -mstrict-align =20 [BuildOptions.ARM] --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99010): https://edk2.groups.io/g/devel/message/99010 Mute This Topic: https://groups.io/mt/96518044/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 14:04:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99011+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99011+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674642520; cv=none; d=zohomail.com; s=zohoarc; b=HiJx11t+BiT9YCDN2A6Ws5BhK29wAXmgYTaieJjNA0acem/gNdkCk7LQiZCajuz9cV4WtpuiroQ3/ZAFiErtXImDgzwdFjOlPE6UEyFUP4Fy6Nu6pLK42AA/bDU5AuzBfOKoNuXFHZ8wMnvKGUVGwHgq5HXJTVYRAtiKXGR64W0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674642520; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=BFPU17PgFHAQhSjmNG505bhGg+z4hvrJPKbERb3/7gY=; b=Fq7hYzDE+kbZ5vyswaWebGduGCoMHyQfj2K6a2XtmvIu3vv9OjECIR8nWxOOVT/VrAaH1pC8O0rRxbtpH4TWuGiI8eE7UlKI8+RVJktN2r/adfCGjRxnbE2jB75afXqi3eUIVNWC7oaG0slrFokR3yz/IUyabUEMRwUIKzUcRcs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99011+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674642520893850.7012972057964; Wed, 25 Jan 2023 02:28:40 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id O19qYY1788612xShv95beCmz; Wed, 25 Jan 2023 02:28:40 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42336.1674642519766515376 for ; Wed, 25 Jan 2023 02:28:39 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2D3911682; Wed, 25 Jan 2023 02:29:21 -0800 (PST) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AA1503F71E; Wed, 25 Jan 2023 02:28:37 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois Subject: [edk2-devel] [PATCH edk2-platforms 3/5] Silicon/Hisilicon/FlashFvbDxe: Update TokenSpace of PcdNorFlashCheckBlockLocked Date: Wed, 25 Jan 2023 11:28:00 +0100 Message-Id: <20230125102802.663790-4-Pierre.Gondois@arm.com> In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: JCgHjGlPi2PXWK8Gszqz9bcTx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674642520; bh=2jWE5u9uA03UlJ8aFkvJaOIlKOs9rtpFGca8LDe+g0w=; h=Cc:Date:From:Reply-To:Subject:To; b=iy/qYltNvueLFMkzwuZ1YBctTL2R8fiAYXe0TQmoGF7X506XnAgmVsNgVTEAzrem6U7 pfuzY4XPBYE4yBS9NazLpSt1UAGmoLiROxhfuliXWsbrsqACj4tAZjHwn57N/SgrKPqMh olrkU1Dep/3XkChODV9XlhW93dPkwubhm+M= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674642521999100013 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois commit d7b286ae5f53 ("Platform/ARM: clone NorFlashDxe from ArmPlatformPkg") recently moved the NorFlashDxe. Update the TokenSpace of the PcdNorFlashCheckBlockLocked accordingly and include ARM.dec for the module. Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf b/Silico= n/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf index 1119361e7726..93a8f7edc3dd 100644 --- a/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf +++ b/Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf @@ -25,6 +25,7 @@ [Packages] MdePkg/MdePkg.dec MdeModulePkg/MdeModulePkg.dec ArmPlatformPkg/ArmPlatformPkg.dec + Platform/ARM/ARM.dec Silicon/Hisilicon/HisiPkg.dec =20 [LibraryClasses] @@ -56,7 +57,7 @@ [Pcd.common] gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64 gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize =20 - gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked + gPlatformArmTokenSpaceGuid.PcdNorFlashCheckBlockLocked gHisiTokenSpaceGuid.PcdSFCMEM0BaseAddress =20 [Depex] --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99011): https://edk2.groups.io/g/devel/message/99011 Mute This Topic: https://groups.io/mt/96518045/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 14:04:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99012+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99012+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674642523; cv=none; d=zohomail.com; s=zohoarc; b=KI4kPREL/mCGs+0TFElhcKX4BlKQF0tqvWZ3yzyET0dXMXMCeBjhlzas5swVrIFPIjcocdhX+r4iJAuO1dXHKYF7UqaePzCJbx8eknfCaEGLY0L6OyMEiNwz++Ha3gV8DKXZU00y6uGJBkKxRPUaDbhD+z8eekWhVHGo+BSohKw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674642523; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=WKWkzoqSPl3cJR/7ovWEJ0Nj4JUTdkCfSxUhztsL/Pg=; b=m0vJ6YGe44NiY53UTggV+l8dVFHFzyJr6egNc351M3J1CeWxzW6SjmJtC+4kp/DQXGHqxOfmFg0dfgjyz+nZ4ypEB+QhgP44+AstwTgWr2rJu31Nb7zJD1HLuf6n8lFhV73hz+aOlFCNcGyySGM751XNMCF8puhEmF/RmA44kH8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99012+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674642523121101.16187553592636; Wed, 25 Jan 2023 02:28:43 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id dgRfYY1788612xiNkPLYdStG; Wed, 25 Jan 2023 02:28:42 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42338.1674642521935997066 for ; Wed, 25 Jan 2023 02:28:42 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5AE8F1691; Wed, 25 Jan 2023 02:29:23 -0800 (PST) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 99F8D3F71E; Wed, 25 Jan 2023 02:28:39 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois , Guillaume Gardet , Pierre Gondois Subject: [edk2-devel] [PATCH edk2-platforms 4/5] Platform/Hisilicon: Add VariableFlashInfoLib to Hisilicon.dsc.inc Date: Wed, 25 Jan 2023 11:28:01 +0100 Message-Id: <20230125102802.663790-5-Pierre.Gondois@arm.com> In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: Y5foYCc4nkgve1Qol31GRCFDx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674642522; bh=NA1Qd16xCOg0F/deIgQSjn7FNYYiX+yL71o9+ECA7ZU=; h=Cc:Date:From:Reply-To:Subject:To; b=kO4tEDEnsSfVdWMBNF6B5FIvPXVy4y4oBx+SCUWO+bXp/YZuZmR0WIiCgbEXXYNpS0g n22Bvvl+kR2uES0eexzkFgWtqM3UUIHMZ8dLJ/lTexeAl8qOEpurKw93Oj5QpV3wkBoiG C+ZmBxjh3B3D9581lwQcWWcJiEv2G6vjBzU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674642524011100017 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois Building the following images with the SECURE_STORAGE_ENABLE flag fails due to VariableFlashInfoLib being missing: - Platform/Hisilicon/D03/D03.dsc - Platform/Hisilicon/D06/D06.dsc - Platform/Hisilicon/HiKey960/HiKey960.dsc - Platform/Hisilicon/HiKey/HiKey.dsc Add the missing library. Reported-by: Guillaume Gardet Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- Silicon/Hisilicon/Hisilicon.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Silicon/Hisilicon/Hisilicon.dsc.inc b/Silicon/Hisilicon/Hisili= con.dsc.inc index b12efd7f031b..1f70460a2baf 100644 --- a/Silicon/Hisilicon/Hisilicon.dsc.inc +++ b/Silicon/Hisilicon/Hisilicon.dsc.inc @@ -37,6 +37,7 @@ [LibraryClasses.common] UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiA= pplicationEntryPoint.inf HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServic= esLib.inf + VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseV= ariableFlashInfoLib.inf =20 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHo= okStatusCodeLibNull.inf --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99012): https://edk2.groups.io/g/devel/message/99012 Mute This Topic: https://groups.io/mt/96518047/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Fri May 17 14:04:13 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99013+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99013+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674642524; cv=none; d=zohomail.com; s=zohoarc; b=HzosfOTSC6uGvzdetu6FgHig9xPOnaGqZKjDMrJnA2RQBFbHbNCzlM5+Le0iqlLU4/hDt6jWefI17pQSj2V4Qh65lbBvpZmeun2BhJXc0zQ3xSTiPC7Sh7L0fsCCcyfYMt60jLDseZC85EGOaBwYFmechS+9zkan8ekV84jvtUI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674642524; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=mCdDh3s/tag3QXvTGhW+n1nkEn17psQuDzzGtRBus84=; b=RwhFEFEJhF1eE7p3yjii2Pkt5gIVyJI6ItYFZYYm0d61XdnVy34p6cO4j+wdDzZJ6SXCFZyBqqMHWaROfzX2w+z00HTKa3u24jmFDEbP4bkerx0X7cmUqPBV1Paxk1a/veDjeg4hycXgewbqwxtHHkKHDaCj7ujhi+w8fxK9SsI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99013+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674642524912100.76903860486891; Wed, 25 Jan 2023 02:28:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id f56sYY1788612xCvKYStYE6f; Wed, 25 Jan 2023 02:28:44 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.42164.1674642523978543866 for ; Wed, 25 Jan 2023 02:28:44 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6A79B4B3; Wed, 25 Jan 2023 02:29:25 -0800 (PST) X-Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C84B73F71E; Wed, 25 Jan 2023 02:28:41 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois , Pierre Gondois Subject: [edk2-devel] [PATCH edk2-platforms 5/5] Platform/ARM/Sgi: Add VariableFlashInfoLib to SgiPlatformMm.dsc.inc Date: Wed, 25 Jan 2023 11:28:02 +0100 Message-Id: <20230125102802.663790-6-Pierre.Gondois@arm.com> In-Reply-To: <20230125102802.663790-1-Pierre.Gondois@arm.com> References: <20230125102802.663790-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pierre.gondois@arm.com X-Gm-Message-State: Zd0CsZrvD3PpuscbUWMhlZ2Jx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674642524; bh=XZ2pNh29G0I3tzeF2cQte21CzShU4neP/Z97l5k+ovQ=; h=Cc:Date:From:Reply-To:Subject:To; b=kCyqDetjAqz1Bx3NhERJJsO0R8p+Fect/oh4Y1s6+WjSoqpE+9vEWrX3eVyRsFzgHVM H+WIWFjBgaIL0itfSh9EKDQ5Wp0KH5MdBj3d2ICovN7brvBdOMf8gFP/npAM4ZQkRRG8e xyiS1pNciOcqeuGn0QchipMTffYQSTNZoeE= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674642526018100021 Content-Type: text/plain; charset="utf-8" From: Pierre Gondois Building the following images with the SECURE_STORAGE_ENABLE flag fails due to VariableFlashInfoLib being missing: - Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc - Platform/ARM/SgiPkg/PlatformStandaloneMm2.dsc Add the missing library. Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar Reviewed-by: Thomas Abraham --- Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc b/Platform/ARM/SgiPk= g/SgiPlatformMm.dsc.inc index f9a516b341f0..343794c59143 100644 --- a/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc +++ b/Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc @@ -72,6 +72,7 @@ [LibraryClasses.common.MM_STANDALONE] TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplat= e.inf VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf + VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseV= ariableFlashInfoLib.inf !endif =20 ##########################################################################= ###### --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99013): https://edk2.groups.io/g/devel/message/99013 Mute This Topic: https://groups.io/mt/96518048/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-