From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.79]) by mx.groups.io with SMTP id smtpd.web11.2263.1678263409475408590 for ; Wed, 08 Mar 2023 00:16:50 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=s/6scYQR; spf=pass (domain: arm.com, ip: 40.107.6.79, mailfrom: sami.mujawar@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9N+LsVhfaXTQHnwhZFGHqFCKK860jIUhdPm8cCYEmHs=; b=s/6scYQRuJ2+4FjfpY7phPHx43sVH6VMWx56sSnp2LJrbj3MkqP+hxjMvIlLfuKCLcKo+DcpffnHbJCxAf3++zGueCkBgnWwefe4oFJz8t/uXK+/qK9tVOdCGJSnHyw++mNcLO2u61bTgc5f1S1e5ypJBC8adnwAAZPJsQQhSCU= Received: from DUZPR01CA0288.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b7::21) by GV2PR08MB9350.eurprd08.prod.outlook.com (2603:10a6:150:da::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.16; Wed, 8 Mar 2023 08:16:44 +0000 Received: from DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b7:cafe::22) by DUZPR01CA0288.outlook.office365.com (2603:10a6:10:4b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 08:16:44 +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 (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 Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT056.mail.protection.outlook.com (100.127.142.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 08:16:44 +0000 Received: ("Tessian outbound c2bcb4c18c29:v135"); Wed, 08 Mar 2023 08:16:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ffd370a6ad107d23 X-CR-MTA-TID: 64aa7808 Received: from df1564e3fdd1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8CF080FD-C115-4EB2-A174-343F5769F397.1; Wed, 08 Mar 2023 08:16:37 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id df1564e3fdd1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 08 Mar 2023 08:16:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YmmkKPfsxPgCFrnibvtetzfM8FoO1/5HwpqQd6b4XQtP9A2XXe8inXmtrL8FawluXsyGWvz04iOsKq7YFhoqlnoILbVatGUPnk1d6HNGhYiWaqsH7Yb9qDemKgbAQypw8WZQGI8G/wML8QFPAC61cOz3dm5Qd8qQR5K1DQcOkIF16HmX1m1v6tifihahKefV4wi4RpDMe7ODqVNr5O8vObHKJLWm62bLdUga7WDBRaNczlGwlMQr79p7/pcZqmNgX4Ef+c4mnchY5dqv/9/Ym8x3vZsWT5ILSZlPqecNlyVp5xUViBiqNhvK+2nOMLnkJazo0+UMGI0aE1ewaUd6AQ== 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=9N+LsVhfaXTQHnwhZFGHqFCKK860jIUhdPm8cCYEmHs=; b=mkusKAZsgfXkQD95uW+LkRvDR0EcQSa1Lg8Fe0JUTPlBZbQCb+lC+gUufbaeFsqftNQClo7G0VqMw4PzD59XVKi0ARXfqFl/mZbOj0wkUhHOelwmA53t4v9l9fjLWDZTCEwaUiPgEFjMAYlqdOuBvgfp2kTvoXoYcYVkhvfawCXxIPVShuujBVOwPRiYqsoBnR4HTZv10NEw7iYVwfQUnIR+mnsc689XphuUsOjV9+YA1xKE1++tFJaVNbCUaQcRlrVTEyj3eQOVlR9+sn5ATyv/3K0H2ezu/EJ9DZ7gimhrhlzRV8dTRo+LvJR6G/ap4ebXwH2Z6mKxvlb//T84YQ== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9N+LsVhfaXTQHnwhZFGHqFCKK860jIUhdPm8cCYEmHs=; b=s/6scYQRuJ2+4FjfpY7phPHx43sVH6VMWx56sSnp2LJrbj3MkqP+hxjMvIlLfuKCLcKo+DcpffnHbJCxAf3++zGueCkBgnWwefe4oFJz8t/uXK+/qK9tVOdCGJSnHyw++mNcLO2u61bTgc5f1S1e5ypJBC8adnwAAZPJsQQhSCU= Received: from FR0P281CA0115.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::14) by GVXPR08MB7678.eurprd08.prod.outlook.com (2603:10a6:150:3e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.25; Wed, 8 Mar 2023 08:16:29 +0000 Received: from VI1EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:d10:a8:cafe::6a) by FR0P281CA0115.outlook.office365.com (2603:10a6:d10:a8::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.16 via Frontend Transport; Wed, 8 Mar 2023 08:16:29 +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 Received: from nebula.arm.com (40.67.248.234) by VI1EUR03FT019.mail.protection.outlook.com (100.127.144.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6178.17 via Frontend Transport; Wed, 8 Mar 2023 08:16:29 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Wed, 8 Mar 2023 08:16:27 +0000 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.17 via Frontend Transport; Wed, 8 Mar 2023 08:16:27 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , , , , , Subject: [PATCH v2 0/4] DynamicTablesPkg: Introduce SMBIOS dispatcher Date: Wed, 8 Mar 2023 08:16:22 +0000 Message-ID: <20230308081626.33124-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: VI1EUR03FT019:EE_|GVXPR08MB7678:EE_|DBAEUR03FT056:EE_|GV2PR08MB9350:EE_ X-MS-Office365-Filtering-Correlation-Id: b979b533-f77a-4709-f3b9-08db1fad746d X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr 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: gp0CwFB98RmJxBlSJsjQ5zxDIwp5Rth9Ta6XoV7GgUN59qtTUn+islqgbeMWmuYBip/SB/l8ngpCcR74WXz8iOgkfbB3JQ4t9nAvOAWIt3mSwlGiMHZ27iSfEc+8S/j71DMz6WKJQfc+oU7Iwl1+khFtN66AYvrRF4V7ekkGLU0TldKtf5/LSnC5J59mvFrBjAkz5qVP8pNlV1MJ6KcR48ryCCx5Py1IgP0+oSCkeuiO/ycFNRRM9YZWBH0a4WP/yyw+n7Xitb8q2yYy4oHq0ftfwTsmDzipy5TMLc2RWZ0btua1USUycmReD1xZ659D/e9Il77GgWZ7jfZuIWnCalpg/7VNo4pNiI8SnyyGMLp2jwXvl5NPD3iVlXrz9Jw7sbECCwYSeVqyn4YtdvE1Ak4/ZDfCrI1XPsdvorRY+FMMmafcFFdHxb/j0fkXIUnozfVH5q7+cQWkX71KsRL9gzWqmiwQ3F+JZ7dA/PeHOiEgp69b3ADQvFxuN6pEgDKcjgsImPMKg20+Be8djzsnM0zmW/l2N8+fUkUhe51xUajaXG+5Tf7IRoQ6VsAEFY+tcsF1vpnQ0JXATce9yi50m8zAZzl/+DFx8Z/hkRnmClQwDUmMMJTsAj3NkIDs0sU9GPdwlLiTRqSSpTqEwLq09p7noGe7DNEZe1FceMF6lREey8/PW7u+c5wmmRK2N0soYSNkiG4UGDGpYT4e/uLsdQLA8ucD7ljwSU1xKZniiK4= 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:(13230025)(4636009)(39860400002)(396003)(346002)(376002)(136003)(451199018)(46966006)(36840700001)(40470700004)(1076003)(186003)(26005)(478600001)(2906002)(356005)(426003)(47076005)(40480700001)(7696005)(2616005)(36756003)(40460700003)(81166007)(82740400003)(8936002)(966005)(6666004)(36860700001)(70206006)(82310400005)(4326008)(336012)(316002)(8676002)(41300700001)(83380400001)(54906003)(6916009)(5660300002)(86362001)(44832011)(70586007)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR08MB7678 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: fb7fdbb7-8f1e-47fe-3ce3-08db1fad6b2e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hq+i9/XJfd6AOGJh8WTsXAUTyZ8/qsOvM2tPOnRseoAI87lclT3hJebtfdinTGvDODTOLlAaTaCrXqOxDVE9yeU3n2etwuEb01xUzTdN87eQPF7F5jImpvEIYvHdonnQC7LYP9aWbDQb2bDOc9qNRI4HWxvAMTJ0oS00tBLHmhOBcX5P97Y10Ezn7fU93DU+oD2bIpzX/S+YWhDSyGQOwaeDT42TdxpfL/JnXTf66OD3TmQ3/aCgHMYV3zsSUmQUXnT+/wqcxhKNPAZuVfm38PqMiObL3uOArC5RoA9Z9sZCB/M3J84Qxd9S77PsusNkRqn4dnzQ6HXDC6dIwilfdWEUZsFO0l6c7X/G2a0Y+/iB+tRdfQJ6GKQ9PTLFQn5E38UvTGB187fnMmpursm29s+VZfe133HDFTTsTe3mbMqwuIlooRElZIsoQ20N9pKkSV86xPRGl9hZ7J0Ar6/FDUVBYPiD8etXBJM37QpHgZMtAU42de0cKL0zP/EZbuHXMenHxvm5WBj3Uk4A0pAVXZQblKz33Kr45/42cAw7Q6CoFcTrykoC3kBuBYdA1ar1eA/g/IpTdTT6dpViARqU/IeTI2Kt8KJQ0VsGbbydQLwdF6jHpvu0FvuCJJHavFQE3axvlPA6qmApPHIexmUeK1TXyDLbtuKAqw8yg7jT7Kun3xtGtOSWyGHdFSWSAbCa X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230025)(4636009)(39860400002)(136003)(396003)(376002)(346002)(451199018)(40470700004)(36840700001)(46966006)(36756003)(70586007)(8936002)(6916009)(4326008)(70206006)(41300700001)(8676002)(5660300002)(44832011)(2906002)(81166007)(82740400003)(36860700001)(86362001)(7696005)(1076003)(6666004)(966005)(478600001)(54906003)(316002)(26005)(336012)(40480700001)(82310400005)(40460700003)(83380400001)(47076005)(426003)(2616005)(186003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2023 08:16:44.6067 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b979b533-f77a-4709-f3b9-08db1fad746d 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: DBAEUR03FT056.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB9350 Content-Type: text/plain Some SMBIOS tables have dependencies on other SMBIOS tables. These dependencies are established using handles pointing to the dependent SMBIOS tables. This requires the dependent SMBIOS table to be installed before the parent SMBIOS table can be installed. To facilitate dynamic SMBIOS table generation, a SMBIOS table dispatcher has been introduced. The SMBIOS table dispatcher schedules the installation of dependent SMBIOS tables before the parent SMBIOS table is installed. This v2 series addresses the feedback received for the v1 series and also introduces ordered dispatch for SMBIOS tables. The SMBIOS dispatcher categorises the SMBIOS tables as: - default ordered - ordered. The default ordered SMBIOS tables have a fixed defined dependency i.e. their dependency list can be traversed by the dispatcher to schedule their dispatch. Ordered SMBIOS tables do not have a well defined dependency and could depend on any SMBIOS table, for e.g. the SMBIOS table Group Associations (Type 14) does not have a well defined dependency as it can be used to associate any two SMBIOS tables. Therefore, ordered SMBIOS tables are scheduled for dispatch after the default ordered SMBIOS tables are dispatched. The ordered SMBIOS tables can also have a level that allows the dispatcher to sequence their dispatch. The changes can be seen at: https://github.com/samimujawar/edk2/tree/2406_smbios_dispatcher_v2 Sami Mujawar (4): DynamicTablesPkg: Define a SMBIOS Structure/Table type DynamicTablesPkg: Add SMBIOS table dispatcher DynamicTablesPkg: Update SMBIOS dispatcher dependency table DynamicTablesPkg: Add Ordered dispatch support for SMBIOS tables DynamicTablesPkg/Drivers/DynamicTableManagerDxe/DynamicTableManagerDxe.inf | 4 +- DynamicTablesPkg/Drivers/DynamicTableManagerDxe/SmbiosTableDispatcher.c | 669 ++++++++++++++++++++ DynamicTablesPkg/Drivers/DynamicTableManagerDxe/SmbiosTableDispatcher.h | 181 ++++++ DynamicTablesPkg/Include/StandardNameSpaceObjects.h | 17 + 4 files changed, 870 insertions(+), 1 deletion(-) create mode 100644 DynamicTablesPkg/Drivers/DynamicTableManagerDxe/SmbiosTableDispatcher.c create mode 100644 DynamicTablesPkg/Drivers/DynamicTableManagerDxe/SmbiosTableDispatcher.h -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'