From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.126]) by mx.groups.io with SMTP id smtpd.web10.1707.1663050162071985498 for ; Mon, 12 Sep 2022 23:22:42 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@os.amperecomputing.com header.s=selector2 header.b=o/jXYPiB; spf=pass (domain: os.amperecomputing.com, ip: 40.107.223.126, mailfrom: nhi@os.amperecomputing.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c42fLfZcMzDnN+wyoT//xAe10pA/riRXDpvdW/zrG665CwP/sE3eRF6YZTEhCz2d3HPI1qqyWaTqKHAf7qRlBJrcolhAH5I++bV6y3+8lwP7B2p1PmfqoBP6rAER+FCXaXD9wStflxP3v7XUTmQXYN/mUEVqlsD4OT2k7FmfLqH925tg61hX9q34ZIYwgOivGqmLUXO5KPzo5NBQdTOJBn3MMisTar5UXiD59XE0ltwmKdGXSLLk4JQtO/faRADMDrlKSwkTYFbsBgME1zDLetMdbFfFawd0aAa5+/cqQ4JdteeknhDMueGtjGOal/uGR/aAx9d1BUZCOILt+jTU4w== 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=jzb7+n/mo2tXPBe3JEDFXuetcVJTNZOheRjazfblYhg=; b=Ou9eTgwOlq1+Ag+MTmXtzdAqarYs5ymRAUE4vUlXIg76/EVUGjPcAlN/Ttm6c0fK+azTByw+NlO0e0h1OTduuSZaj3AGxSMi1f+pqppo2KlvSirWZJQeHBCLpwv5zVqJ4BF3ito74fUpXUjHKbSDHLergO7+25F5utPJAMgnhcs3DTwIDux7ZhYwoolaiy5OgIOdW6V0EU668qy8y1I+0Tn7QFHe6dV1kT27/FuRDITTtzdfVd9U+CVy/DC02szVnNsAAQEadgXXswbQgvXNSHeq7YkCr4SqaqtsyoHSZg1hriB+ouFI25BWRqPObu4gXBAg8kpw9NP1dhJ57rS2sg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jzb7+n/mo2tXPBe3JEDFXuetcVJTNZOheRjazfblYhg=; b=o/jXYPiBPbE4OEJK/0EwKQpjSPqCOyP4qAgO+eK+YNvY7pphAyq3cZ4v5t/Y+qPhsk0EpfjKdH/3mIHSvwQdHB+0c7QB4KNJieAIa3ch7oJ/QPPa9wUbtdNdsGGLo9+POjoMeXEDpL6FohYrQWJ77ppEjSRT4T6P/6illS1aK5Y= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) by MN2PR01MB5854.prod.exchangelabs.com (2603:10b6:208:195::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Tue, 13 Sep 2022 06:22:39 +0000 Received: from PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc6b:4f56:8f32:dfa5]) by PH0PR01MB7287.prod.exchangelabs.com ([fe80::fc6b:4f56:8f32:dfa5%4]) with mapi id 15.20.5612.022; Tue, 13 Sep 2022 06:22:39 +0000 From: "Nhi Pham" 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, Nhi Pham Subject: [PATCH v3 0/6] ArmPkg/SMBIOS fixes and improvements Date: Tue, 13 Sep 2022 13:19:41 +0700 Message-ID: <20220913061947.735951-1-nhi@os.amperecomputing.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: SG2PR06CA0194.apcprd06.prod.outlook.com (2603:1096:4:1::26) To PH0PR01MB7287.prod.exchangelabs.com (2603:10b6:510:10a::21) Return-Path: nhi@os.amperecomputing.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR01MB7287:EE_|MN2PR01MB5854:EE_ X-MS-Office365-Filtering-Correlation-Id: 3234078d-e807-4abe-5568-08da95505af4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gybWEDdeQq8lRXy7p0CEibA7Ci/ItFXAf0SlfhT//Hb+rGFCGOrzm6CNCOfVIhdGlGQeImGf03rlsKNDwT8TiIDXaG7xixd/vDIWknLyDBDvrikiLcjhiyzwQCRby8wGr2NTrBZlIxi6GwIG1zrphY5Jwxd1QbvQ98GiwKjXCsmt1zj8yK3/Rq0y+1EaxMs3v55PsfaFswsgwLPbyVdGm+cabfgXGJ8Bf+sVp9cOs1Z1KFYczPPw6IYXO/kxqGfWvpGvw6SSAOmvVhSpbM0xxKfg3GhXXFCc5Jv+vBNNN3ijjwZTOPflJUp1txqpzJUsFGjYJgelmIKgWes7n8gu56id/6Wn8uc2QFogoUDB6ToPkSo05D+TNmGOBno318GX9eOjlOv/yokxFXJEAIgZDf0ERQSpOdkwScWrC5SEmyW6YDp5jmPMmJBPQaR+bbj/nG1nr39+33DWkfYVhP90f/bP0Fl2pbm4aZxaS21paMnmPS8rrdcfUFZC/c/lzEUlg9tn2HZ/XDAB2TjxLxEPAyJl1AWmg14s4cm/DPDXDjR+GuQwWRE49gqKkNhGIpMGdNTBgIcD3Y6/t9X9jmtd6Rco8OAqxgRN6LqychknJV0URQNG/2N09sI+61XMBG0kL6MHYlv2Rjl+IGNkDdodsqfLlLf25IyIlLC47uaP79goLS2CsqGUn63hSiT/X2eIGvTTSy2C1buuMpQh31d63XL2SLViZAbG0B3kueFyEJTGNqAwCiyqrcqTrP0C1bTGTYT8JykNYtd77+5tdPvNCw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR01MB7287.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(396003)(39850400004)(366004)(346002)(376002)(451199015)(26005)(478600001)(1076003)(6486002)(107886003)(186003)(45954011)(5660300002)(2616005)(6512007)(38100700002)(316002)(2906002)(6666004)(8936002)(4326008)(41300700001)(66946007)(38350700002)(8676002)(83380400001)(66476007)(66556008)(52116002)(86362001)(6506007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1SERAoOgCmWf03U/F8BqCN5Mywy0ETGpco58Fg+Q89RWYHsVO8cO0m08Ah0s?= =?us-ascii?Q?aKGwaR3imE7UHqexep9O/COFBnocW98ypiSqas501VQqqaF+lhR4t8t6Jop0?= =?us-ascii?Q?80wLh7LWjlf6cwl5Y2jc3XhLwOs7COgL4R8JGFSaDBsNAmHAPuFlL/mDsQcp?= =?us-ascii?Q?l2g0p5kjN6mgCK4YoqWQK6MPXzyyCs04ZgRcciyG08EvukVe1em8R0T3H4FQ?= =?us-ascii?Q?nYkvhiq0HPVDzi1ahK1JHABmmLnK+MCcFbJyPQFOzr5IJ4M+ggv1pfqVtSVo?= =?us-ascii?Q?OcHmZxPbsHhar7D9fJS6bZhL6O7cHfwwX0CEUmXp20XC8fT/s5eVay9ySq3L?= =?us-ascii?Q?qWkDxXqKcSoyFj/GapWiiiWu+eH4QVGeC/n8FG6y8n3R+YjqmusrXQuYgEz8?= =?us-ascii?Q?NxnZXGauwLrItWUR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9aFmQPMiv?= =?us-ascii?Q?TjHVN3Vrcdvu0BIT/OkMt4231dOltNZWWmZLRbgGVNlMQYy+iFtL7RzIUsgE?= =?us-ascii?Q?IUTg2LBbX6UBcrqRTVZsX5Wdu9t1IO78FnIMYN+QZIe8W8lnOffo92gbsto9?= =?us-ascii?Q?tty4JMCzS/fJ9KKIyz4dSaWsMKFk+24D8R74Taaha6ByqaeAfhPrKavrlh4B?= =?us-ascii?Q?zqC2sFbo4wv8sdmb2cXNuNG9PywvYJK3eROIr8ufITtkRzQ6nsAQ69F+hHol?= =?us-ascii?Q?cEV/thLU2rD6JuoXV8kdqbJWYM+Op1Is2X1V+673pilO3MgKqxBTgzZUMSlu?= =?us-ascii?Q?tqJ9WxXkM3l04NWzyFazw2k=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3234078d-e807-4abe-5568-08da95505af4 X-MS-Exchange-CrossTenant-AuthSource: PH0PR01MB7287.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2022 06:22:38.9163 (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: 0D4ZhiW2eQXj2qywzGDCmF01IW4k39kGuVBYuXvRaOO04vqGMiXKK3oX09W/qB2kNA6Gj+ItMZYSdPKG5344Do3ysJ3N0P1CRP2zYwQqBSE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR01MB5854 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain This patchset is to update the ArmPkg/SMBIOS for fixes and improvements. Changes since v2: + Add tags from Ard and Sami + Fix patch 3 for compilation error with OemMiscLibNull due to lack of gZeroGuid in the INF file. Changes since v1: + Change PartNumber to ProcessorVersion [Sami] Minh Nguyen (5): ArmPkg/ProcessorSubClassDxe: Get processor version from OemMiscLib ArmPkg: Correct return value of "SMCCC_ARCH_SOC_ID" Function ID call ArmPkg/SmbiosMiscDxe: Fix typo of "AssetTagType02" ArmPkg/SmbiosMiscDxe: Remove redundant updates in SMBIOS Type 2 ArmPkg/SmbiosMiscDxe: Get SMBIOS information from OemMiscLib Nhi Pham (1): ArmPkg/SmbiosMiscDxe: Support fetching System UUID ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLibNull.inf = | 4 ++ ArmPkg/Include/Library/OemMiscLib.h = | 37 +++++++++++++++- ArmPkg/Universal/Smbios/OemMiscLibNull/OemMiscLib.c = | 46 ++++++++++++++++++++ ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c = | 8 +++- ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c = | 6 +-- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type00/MiscBiosVendorFunction.c = | 32 +++++++++----- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunctio= n.c | 3 +- ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunc= tion.c | 13 +----- 8 files changed, 121 insertions(+), 28 deletions(-) --=20 2.25.1