From nobody Sun Nov 24 04:00:35 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+93931+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+93931+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1663554146874648.7535062025078; Sun, 18 Sep 2022 19:22:26 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id nwicYY1788612xDTz5bIWO2P; Sun, 18 Sep 2022 19:22:26 -0700 X-Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.107.96.106]) by mx.groups.io with SMTP id smtpd.web12.15623.1663554145772416107 for ; Sun, 18 Sep 2022 19:22:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hp/G0N5f1eLdBc61ITkmyrVfRrI+HgiUoJwXfJjxzctFAESOktNKfBjoUT7crVx+G7q6DKnj9EZqmlFXJm/b6BSJCIjXQjNBv2Rz1PbPaXBwTgiwh+Q9bEZ3XrH97VOczaa3SbGDB0RFwkTN/Tbb1CSPRsFDLa3du0VhcBbFSAtPsF1UrMAuQlHWIw8fymZh+XqJTAuaUSSQ8lkADe1JO5TZHtik/5mczqsg8tBYVH3XnM2rGps66iQ5vcM0JnHiADiafp5ugCJbPuIW5+zRelB2xz6tz3xP5RClhieTXwey93dRFhS36Ot6r+8+uW8UcckVfa9dmX9/B18WrPELVQ== 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=yTC3rean+q3TcATb7LhRF0j98b0J8FoWUlut0N5HV6M=; b=DtsiIPDz6YqtX7qc1swECwLLUOK06DHYAHAc672QXNNobDnVcOnds4xkzSw7lClNzxCrVdGtp2jPuK2gTn4bnQF9IyYhr5ArccZjHD7j6H9WBwCEfN6d49rENCE0aK5KJpm9Bbls6PfZ4I+FtbmkbhVfW0LNEiygyqrSMwFst7Z3A0l3H+XvpDh0a/ZSwrdkMCZQHwQm6agk7Y92lv9YACnzJNYK31tE/ul85+z0Wzix5cYf7RVm9DZPBHiU5rwhGp9T9WEi+XSvbKOCJ/ipCaI+f3W6XFAxy3sH73A6GUffQUDCnwgexzhdeCp32YyI0ONFjq6DO1IFz99F8HIytw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none X-Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by CO1PR01MB6791.prod.exchangelabs.com (2603:10b6:303:f7::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.16; Mon, 19 Sep 2022 02:22:24 +0000 X-Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::441a:930:ac15:1ce9]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::441a:930:ac15:1ce9%4]) with mapi id 15.20.5632.019; Mon, 19 Sep 2022 02:22:24 +0000 From: "Nhi Pham via groups.io" To: devel@edk2.groups.io, quic_llindhol@quicinc.com, ardb+tianocore@kernel.org, sami.mujawar@arm.com, quic_rcran@quicinc.com Cc: patches@amperecomputing.com, Minh Nguyen , Nhi Pham , Rebecca Cran , Ard Biesheuvel Subject: [edk2-devel] [PATCH v4 5/6] ArmPkg/SmbiosMiscDxe: Remove redundant updates in SMBIOS Type 2 Date: Mon, 19 Sep 2022 09:19:49 +0700 Message-Id: <20220919021950.2110333-6-nhi@os.amperecomputing.com> In-Reply-To: <20220919021950.2110333-1-nhi@os.amperecomputing.com> References: <20220919021950.2110333-1-nhi@os.amperecomputing.com> X-ClientProxiedBy: SG2PR02CA0071.apcprd02.prod.outlook.com (2603:1096:4:54::35) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|CO1PR01MB6791:EE_ X-MS-Office365-Filtering-Correlation-Id: 7fa1c80d-592e-4069-8fce-08da99e5c9af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: iVqedU34K0+bJsd6DTZaGad8RECCuUnBdSyJulGmGs2Ohlf4sTHcj8C9g4uYdFujL8oPZPGgs7IB694+dV91mYkd/OqCucUxTw+MCvfypXQJtc7cLwwcLP8rONAaD7Xasoxi+IzbHSJFpn4XpPzFFCTNVNtoZHUF4GMGhYFIKrhN63PD5+gGmZ/n2lqyGwDh2t/zDAQuQD4vhfRamAWPeq7fHBSiOid87JxHua/smmB9nzO4PtFp1DK6dfzVI4W2Fl49/36UYoMpXSjI1qFJfve5fTsXdoHimL23l8dHixrRu5L9O209MDl+kvoKexlMS5lnc7gfcV3vpLmOc1aDBanO/zab0P/og6hTPBVqK5N5pIHwjvH7bAMc0/1ekaxw3tBsRH1TRIG6UShwOZJPy9qWWoqxDnUHTs8ebRqaJ4N+JbIepV6qazmDw1nLVpfaNrJxjD0q74teNSF08uT4iZ8ydkv0I/69s/jbxlsy9Kf2BB5Z8dxZHDjqSFTyugFM3WZ01ORTVp5KYV6VvvZMNfj/LdFrd+J8nnehAS6U0P87G93dfKVrCYUDpKfe3F4wiUnVAJhBzGpRBnsLj20tZQIVREmXNLsYJZXsMHBTsc21knKEDHwS8nyl1YMWbmQbZJ6l36+P4yjP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VzWua8rpZzYxL1BnIXkr5OO+/dWC7AEbnC5KCwPmap4?= =?us-ascii?Q?Na0ccDpZ2mqYue5lSnW3EGA=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7fa1c80d-592e-4069-8fce-08da99e5c9af X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2022 02:22:23.9301 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6e6r5FWfbcEw10GYly5f75OD53MnzWKgBBqt8fIQ/2AW8nl8IoHWb8KNyYnluzeOiTxvQgqWCMHIsjo5LOay6NYtvqmI4LJg19Zazyd4TBI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR01MB6791 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,nhi@os.amperecomputing.com X-Gm-Message-State: OiNR4MysybZL92hmK7Zv4KFAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663554146; bh=seH/G9MuryEaUTb+vUU4bWqq9FkY6ljYB6BYds1x1WI=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=weTMDC93NmxU8HeDr58Jtvh1PXvGIu8P0xP1DqjlVKWRbDJo+/wfRAg29t1lsk1fk9h eTQJC8akIZqosTObpuEgzTA8xFQP4UGYztX4tl/UEQ+j8xr9CdGsfTOOSHQPiabF4E4AJ Zuj8kP8acw4Ha42IsK3h6CnotUgI7YrE+Ok= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663554147245100005 Content-Type: text/plain; charset="utf-8" From: Minh Nguyen This patch removes redundant updates of "BoardManufacturerType02" and "SerialNumberType02". Signed-off-by: Nhi Pham Reviewed-by: Rebecca Cran Reviewed-by: Sami Mujawar Acked-by: Ard Biesheuvel Acked-by: Leif Lindholm --- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunc= tion.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManu= facturerFunction.c b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseB= oardManufacturerFunction.c index f61546955f12..3441e7798860 100644 --- a/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacture= rFunction.c +++ b/ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacture= rFunction.c @@ -120,16 +120,6 @@ SMBIOS_MISC_TABLE_FUNCTION (MiscBaseBoardManufacturer)= { STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER), SerialNumberType02 ); - OemUpdateSmbiosInfo ( - mSmbiosMiscHiiHandle, - STRING_TOKEN (STR_MISC_BASE_BOARD_MANUFACTURER), - BoardManufacturerType02 - ); - OemUpdateSmbiosInfo ( - mSmbiosMiscHiiHandle, - STRING_TOKEN (STR_MISC_BASE_BOARD_SERIAL_NUMBER), - SerialNumberType02 - ); OemUpdateSmbiosInfo ( mSmbiosMiscHiiHandle, STRING_TOKEN (STR_MISC_BASE_BOARD_SKU_NUMBER), --=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 (#93931): https://edk2.groups.io/g/devel/message/93931 Mute This Topic: https://groups.io/mt/93773966/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-