From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.8.81; helo=eur04-vi1-obe.outbound.protection.outlook.com; envelope-from=sami.mujawar@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80081.outbound.protection.outlook.com [40.107.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 78E292194EB7D for ; Tue, 26 Mar 2019 08:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zgxX6Nfb/fzmFgm+oPwjZZROVgTUAgwOGG/Ktsv0cKU=; b=MeNzm/CuubXa/bYtst2Uq+L3Yx9zs1fS3IjUfOA4vhrbMF0VyZYcN55TXU51xn9ceVVbqWJdm5yDDKNhhSQG+decVBCt8mFXnEZ7V3edC0SFKKg01nwkSa2aS9VwnpnOdftnENWuSY7fTlYrgvkjOhXj3LMKqy6pXOpnrzh00Gg= Received: from VE1PR08CA0011.eurprd08.prod.outlook.com (2603:10a6:803:104::24) by DBBPR08MB4459.eurprd08.prod.outlook.com (2603:10a6:10:ce::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.16; Tue, 26 Mar 2019 15:23:35 +0000 Received: from AM5EUR03FT062.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by VE1PR08CA0011.outlook.office365.com (2603:10a6:803:104::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1730.17 via Frontend Transport; Tue, 26 Mar 2019 15:23:35 +0000 Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; lists.01.org; dkim=none (message not signed) header.d=none;lists.01.org; dmarc=bestguesspass 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; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT062.mail.protection.outlook.com (10.152.17.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1730.9 via Frontend Transport; Tue, 26 Mar 2019 15:23:34 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1415.2; Tue, 26 Mar 2019 15:23:33 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Tue, 26 Mar 2019 15:23:31 +0000 Received: from E107187.Arm.com (10.1.195.55) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Tue, 26 Mar 2019 15:23:31 +0000 From: Sami Mujawar To: CC: Sami Mujawar , , , , , , , Date: Tue, 26 Mar 2019 15:23:15 +0000 Message-ID: <20190326152319.15036-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:40.67.248.234; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39860400002)(136003)(2980300002)(189003)(199004)(54906003)(2906002)(106466001)(47776003)(50226002)(36756003)(16586007)(2351001)(478600001)(81166006)(81156014)(316002)(8676002)(8936002)(106002)(53416004)(336012)(51416003)(7696005)(356004)(486006)(426003)(50466002)(186003)(6666004)(6306002)(126002)(53936002)(4326008)(48376002)(86362001)(44832011)(2616005)(476003)(97736004)(68736007)(77096007)(14444005)(305945005)(5660300002)(72206003)(6916009)(1076003)(26005)(966005); DIR:OUT; SFP:1101; SCL:1; SRVR:DBBPR08MB4459; H:nebula.arm.com; FPR:; SPF:Pass; LANG:en; PTR:InfoDomainNonexistent; MX:1; A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 03217738-6a78-4f78-0840-08d6b1ff0350 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4709054)(2017052603328)(7153060); SRVR:DBBPR08MB4459; X-MS-TrafficTypeDiagnostic: DBBPR08MB4459: X-MS-Exchange-PUrlCount: 2 NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 09888BC01D X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: HaGVpFP7tar9crVqERt69s2KwYoIULVGuzsdM3W62Kfp0TBe3vFs0D/xvalqCWr2RXsjw+7st3kADkrcozbGHOY30PfmfUCiIycryLqsYreoA3fu5Ma4ZrAu9b+DY1pTYxClNCj+D4jHPwaZvOoidElliS7923zFL0EnTujfcz7V3eaVFQRoDgn4HSpZRwcVnPdjKgp2rBOr6pRKtK3p5dfZDsr6ZRcrJ2IdvZwrrt3FtnN8P11kMBIL5gWoo86W5sXF3NJM+cVMBoXO3U8fTjfqAvC5hNbdAAPL2n+vh6MDPZYDwR/p1ybxIqK5TCvfYYp9oi+cPxVTWMmP0Vjmu2gIz1tHrywInOPks7eeAkn6xLe9JstikxM8NTgE11poty5nkkMbD9Kr5Aa7f1P2zH4UfuGiumhfen8OFiwVngA= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2019 15:23:34.8836 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 03217738-6a78-4f78-0840-08d6b1ff0350 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[40.67.248.234]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4459 Subject: [PATCH edk2-platforms v4 0/4] Platform/ARM: Platform support for Dynamic Tables Framework X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 X-List-Received-Date: Tue, 26 Mar 2019 15:23:40 -0000 Content-Type: text/plain Dynamic Tables Framework aims to reduce the amount of effort required for porting firmware to new platforms by simplifying the generation of firmware tables based on hardware description provided by a platform specific component. The Dynamic Tables Framework core queries the platform specific component to retrieve the required hardware information for generating standardised firmware tables at run-time. The platform specific component responsible for collating the hardware information is called the Configuration Manager. This patch series introduce the Configuration Manager that provides the hardware description to Dynamic Tables Framework. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar The changes can be seen at: https://github.com/samimujawar/edk2-platforms/tree/365_dynamic_tables_framework_v4 This v4 patch series incorporates: * Updates based on review comments to sort #include files and .inf sections in alphabetical order. Patches updated in this series are: - Platform/ARM: Configuration Manager for Juno - Platform/ARM: Configuration Manager for FVP The corresponding edk2 code changes can be seen at: https://github.com/samimujawar/edk2/tree/365_dynamic_tables_framework_v2 Sami Mujawar (4): Platform/ARM: Configuration Manager for Juno Platform/ARM: Dynamic Tables support for Juno Platform/ARM: Configuration Manager for FVP Platform/ARM: Dynamic Tables support for FVP Platform/ARM/JunoPkg/ArmJuno.dsc | 12 +- Platform/ARM/JunoPkg/ArmJuno.fdf | 12 + Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager.dsc.inc | 29 + Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 750 ++++++++++++++++++++ Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 179 +++++ Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 87 +++ Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Platform.h | 99 +++ Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/Dsdt.asl | 276 +++++++ Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/PlatformASLTablesLib.inf | 45 ++ Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtJunoUsb.asl | 123 ++++ Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtPci.asl | 201 ++++++ Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtUart.asl | 48 ++ Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c | 9 +- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 15 + Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.fdf | 16 +- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManager.dsc.inc | 31 + Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 682 ++++++++++++++++++ Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 181 +++++ Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 80 +++ Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/Platform.h | 99 +++ Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/Dsdt.asl | 73 ++ Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/PlatformASLTablesLib.inf | 35 + 22 files changed, 3077 insertions(+), 5 deletions(-) create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager.dsc.inc create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Platform.h create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/Dsdt.asl create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/PlatformASLTablesLib.inf create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtJunoUsb.asl create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtPci.asl create mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/PlatformASLTablesLib/SsdtUart.asl create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManager.dsc.inc create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/Platform.h create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/Dsdt.asl create mode 100644 Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/PlatformASLTablesLib.inf -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'