From nobody Wed Jan 15 05:28:44 2025 Delivered-To: importer@patchew.org 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+105021+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1684401006397287.6345128772233; Thu, 18 May 2023 02:10:06 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WY2zYY1788612xY0lax2goAV; Thu, 18 May 2023 02:10:06 -0700 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.87]) by mx.groups.io with SMTP id smtpd.web10.12801.1684401005115467074 for ; Thu, 18 May 2023 02:10:05 -0700 X-Received: from DUZPR01CA0145.eurprd01.prod.exchangelabs.com (2603:10a6:10:4bd::12) by GV1PR08MB7937.eurprd08.prod.outlook.com (2603:10a6:150:8e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Thu, 18 May 2023 09:09:52 +0000 X-Received: from DBAEUR03FT061.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4bd:cafe::29) by DUZPR01CA0145.outlook.office365.com (2603:10a6:10:4bd::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19 via Frontend Transport; Thu, 18 May 2023 09:09:52 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; 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+105021+1787277+3901457@groups.io; helo=mail02.groups.io; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT061.mail.protection.outlook.com (100.127.143.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.18 via Frontend Transport; Thu, 18 May 2023 09:09:51 +0000 X-Received: ("Tessian outbound 3a01b65b5aad:v136"); Thu, 18 May 2023 09:09:51 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 69a9f4687ba253bc X-CR-MTA-TID: 64aa7808 X-Received: from dfe864fc23d9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9F40790D-1C3F-4D46-86F8-631F4FA8946A.1; Thu, 18 May 2023 09:09:40 +0000 X-Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dfe864fc23d9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 18 May 2023 09:09:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mqQHiaKsPNNWz9So0nkEwVEvtLy4Z/dncacclSzSrAHXbqrHJxKgFNlTSbBp9okyGNG8snDbDnm1GEouJLoR+W2ZJP4Z9fphVIpmteXYzb08OxUe7LcYvM8U6IUMJzj+Lobk0f15qULDwPON+rrfsu5TWKLqZ7zJvE7liIEfYCkyP9UOD5x/22NvkH9ntj0aQ8VUTZ0opjQ3Iu3scXPXrlA30QmcW/DIjZ8p9dzCOT6Q7TsoG/TIAXpHCBqaZu97t3MwRiAyuYsmbOa6zDNwZletIzH4UTtcSXjKXnjezKxv3LY1o5G2KdmQYIt/xf9iK7TB9Q3qOXoCILqE+tMs0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gpfzZFKtuOzUW19xnuK8wzj5KIF1D8MGFtq78PSJ7fY=; b=G6DTQQtxI6Hf2inGjWuxDWKzszucCEHl2ok42tZg3GPH6NMI+SGrvfvTZ9/94Pt2XxwkU/ZirLMEb+n4dT7JO4inn3RPsSDBFPzW/p1vATZfKvnqmaNkhFrNvG+hODYNofbykW7Wp7e2WYaZxSOu86tFIddBYo1UJ8GXumD00DqVRkY2326zV0sjJ2F9vpmvJSakuDif2UDL5+dYKaLTFWHF5MRhJ/iXTWFhU7PeVQtUTqJyHmInvv+GeSU4xG3qlIxuGWwEuyVsNyY5uXtHc97N3dIshXwwvJ7rET0fdUXJhYTBJg4tCSsD/8T4pbJktEkL90M/SUVHzkL9BC/Atg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from DUZPR01CA0170.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b3::28) by PA4PR08MB7618.eurprd08.prod.outlook.com (2603:10a6:102:273::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19; Thu, 18 May 2023 09:09:37 +0000 X-Received: from DBAEUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b3:cafe::7d) by DUZPR01CA0170.outlook.office365.com (2603:10a6:10:4b3::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6411.19 via Frontend Transport; Thu, 18 May 2023 09:09:37 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C X-Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT050.mail.protection.outlook.com (100.127.142.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6411.19 via Frontend Transport; Thu, 18 May 2023 09:09:37 +0000 X-Received: from AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 18 May 2023 09:09:37 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX02.Emea.Arm.com (10.251.26.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 18 May 2023 09:09:36 +0000 X-Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Thu, 18 May 2023 09:09:36 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , Subject: [edk2-devel] [PATCH v1 1/6] ArmPkg: Configure PcdEmuVariableNvModeEnable as a dynamic PCD Date: Thu, 18 May 2023 10:09:30 +0100 Message-ID: <20230518090935.10984-2-sami.mujawar@arm.com> In-Reply-To: <20230518090935.10984-1-sami.mujawar@arm.com> References: <20230518090935.10984-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT050:EE_|PA4PR08MB7618:EE_|DBAEUR03FT061:EE_|GV1PR08MB7937:EE_ X-MS-Office365-Filtering-Correlation-Id: a071f599-3cee-416c-5fd0-08db577fa386 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: wBdQrKc5qmXCtu76SSkJL5zqUig9d3h9qXDJqnzY1xljSUB8Nis1ZF8iZqovaTjbsTxm/wA0ltYtZ+Ra2mnlmL1MWEw/f4VMfVwV4t7CMhXu8BarxzEW3Fg0z/Xob53GjzHWi4opWQYnPzUSW9bEkHSvbcUor3b3NX0iR8HtHa0xae4WGhpBsr1CTGLyNMAdGXGf6Isc8yFAQaHap+tJAMMglrS22Ttw9tomCwurE0yCVQ9iZMHId1va0SdxuWqzviMZFEITfu1+tWsHg4eiObDMpH2+UyOT/53CJcz7nuHeDrpV1kG8/SIUBqWVqwwb364OlSwELn/0uzvNvA/TNI0vGEQHcovGt2x2U6KaWCG6nbcMMwuzak8kCSeeAT0zKT5ZUttYIhTSAMmrisLCDNuA4/u1WIp9lxP+j96qGQPoeF07aRk7zQG2BHb4gGrX9jzxubqU7CiCKR0zmmJtMpKGseRVfvAYAobKbXhTe/zO4dC3Etb6sYUJIShaOv1QTFDhoL52uMJ3mxQ/UuqD+vxZ4zSM9COxpCGL4pCtc+t3UufxHGQfturX2+t3uvpz1txxhYBHke1idwUhdCuCPDjqVB69D/KyTUCBb046RbwuCkBVb1Dr4J0ccKjjRzxfHW3940QT9ljV9lW5VYp6DibmjaVOQVBwWSa0uhpwPM0m4PBaJVunf56tevXh2Hh9JJzcf0hd2mtnYOqKyApmHkpxI/SRyEUZ+5yI/TjTXbswllP9qRr/pNlhUBq9+fcZyMWC2XdrkZBkPsSGvnseBw== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230028)(6029001)(4636009)(346002)(376002)(39860400002)(136003)(396003)(451199021)(40470700004)(36840700001)(46966006)(26005)(40460700003)(1076003)(7696005)(36756003)(36860700001)(83380400001)(2616005)(40480700001)(47076005)(336012)(426003)(86362001)(82310400005)(356005)(81166007)(82740400003)(186003)(54906003)(44832011)(478600001)(2906002)(316002)(4326008)(8936002)(8676002)(6916009)(41300700001)(5660300002)(70206006)(70586007)(6666004)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB7618 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 467fc875-db1a-4746-fa8b-08db577f9af2 X-Microsoft-Antispam-Message-Info: HTIAL2rrmQQVWPEur8fxz3KuOaQ+2y9f0JYeMiY9Ndw1hSTK1/IWoTTn+0XZutMO/ETjA83Upf5tMi3s6xSLVASJwUedn+1WwtleedyEw8pv+MnZUO6NSKfQla/7LWOyGfGh/96cIn2ON4Degiy2EAh4CdoxjQn2V5r9yjWtAa4Kb3edsrwJOgWCYfly2bKUOOvdvZZvjXzjKgizSNtu0daRvHT8dGm3+LYgYq0Q3OCQNq+cQZ+mrve+fb8Sen2gkKZIb++7zXYs0JsaqMHYhHin1UkCRlpoXu0eMu45s1z63hbh4DQxNCB1548qmlqpWv8Xk9EGI0chpTPlk7uG0Nbk8UwhjDx9lTaMRHz7CL2uFfs7E3n+ZbiTYgYXGFAN3UINatBVrGDz1RrumEdTCBaUMuP6O/xZvMmc8UddR+yZc7eIdY/QWf6vJNq7Xupfozrr7rMMmhaqn4zWG4xrJHoOw8IkojHs4S4G++Pyki2apCcLxYfQFsugj1nlOTcXmZVKVHC3+UVrLumomP3B+AYuLqF+zEoC6lIE70/YABFzFziYBGno75hR2NC+BUB6xN7EpBQZAlDXUUh6BrEjVYsQqaQX0amu6LqO5UgT53IUck1ko35oRXWn+t+XdHqD/1rE9m1sA/nHN1ouVRzPSMXcBwjliUcc+9tvU+uG6Go8/eQvz6MsWqBxTRYaQJ8qGWtC/dG/Jo4zpdCtAqZXHPmoAz2n1+VGjCp/zYlB2GI8KjeNh7yPeaHvVuS8ea4a X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2023 09:09:51.8856 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a071f599-3cee-416c-5fd0-08db577fa386 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT061.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7937 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,sami.mujawar@arm.com X-Gm-Message-State: JuzxgL6l5zqEv8LemwONi34yx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1684401006; bh=wNnjyJGEO67i+PXzuocXGiTVs5cUHsnmRT53n0SckvI=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=n30LyzVZR/fYh2OmXZ4FkPKyL0S7oCRFihAZy9XfYqPLF6/S7gDgPotspogqZxl2xdH t5ewssnJIBdOOMOOj2eIT/RabA3gwRWhXB12jZ4I1dxqCa3xo4XK8GUcTmo8GovYwEau3 dFn8s1JZQFBieCO+G+4QIrFy0DC6Oyz0wIo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1684401008259100003 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The PCD gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable indicates if a variable driver will emulate the variable NV mode. This PCD is defined as [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]. Some firmware builds may define this PCD as a dynamic PCD and initialise the value at runtime. Therefore, move the PCD declaration from the [FixedPcd] section to the [Pcd] section in the platform boot manager library file PlatformBootManagerLib.inf. Without this change the build would not succeed. Signed-off-by: Sami Mujawar --- ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.i= nf b/ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf index 05ed46456cc482d735490ad4418aa75a1b331aa7..bc029be635f26fa29731a413910= 9d0f5eb177054 100644 --- a/ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf +++ b/ArmPkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf @@ -57,7 +57,6 @@ [FeaturePcd] =20 [FixedPcd] gArmTokenSpaceGuid.PcdUefiShellDefaultBootEnable - gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate gEfiMdePkgTokenSpaceGuid.PcdUartDefaultDataBits @@ -68,6 +67,7 @@ [FixedPcd] [Pcd] gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut gEfiMdeModulePkgTokenSpaceGuid.PcdBootDiscoveryPolicy + gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvModeEnable =20 [Guids] gBootDiscoveryPolicyMgrFormsetGuid --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=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 (#105021): https://edk2.groups.io/g/devel/message/105021 Mute This Topic: https://groups.io/mt/98987546/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-