From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (EUR01-VE1-obe.outbound.protection.outlook.com [40.107.14.83]) by mx.groups.io with SMTP id smtpd.web10.6383.1597309726058719102 for ; Thu, 13 Aug 2020 02:08:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=AdXpBn/O; spf=pass (domain: arm.com, ip: 40.107.14.83, 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=c4tq9h/MvEbN12TFab7DLeJOJC1MZWxK+uHCd6dHiXA=; b=AdXpBn/OmHBAIf4Z8l3tKjH38jZoS4nrWCojFFlnVCIq8W1iAqw791qgejWNggknxxJOXUM2GjIxyGi7FcH91AbeWM7XHIwrPIy589qjS6tvdHSD2YqKAw12EOXzfYZJy/TFDWE+VrfOuexrVqT4EgV59wwsC0ib/6ThXy+QnoU= Received: from AM5PR0301CA0027.eurprd03.prod.outlook.com (2603:10a6:206:14::40) by VE1PR08MB4653.eurprd08.prod.outlook.com (2603:10a6:802:b1::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15; Thu, 13 Aug 2020 09:08:43 +0000 Received: from AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:14:cafe::7f) by AM5PR0301CA0027.outlook.office365.com (2603:10a6:206:14::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15 via Frontend Transport; Thu, 13 Aug 2020 09:08:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT019.mail.protection.outlook.com (10.152.16.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.16 via Frontend Transport; Thu, 13 Aug 2020 09:08:42 +0000 Received: ("Tessian outbound 195a290eb161:v64"); Thu, 13 Aug 2020 09:08:42 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 91333e93c2075456 X-CR-MTA-TID: 64aa7808 Received: from 4042386a693f.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 785CAF04-9D24-458F-A819-77A45FB464D4.1; Thu, 13 Aug 2020 09:08:37 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4042386a693f.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Aug 2020 09:08:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=abB6qKaErnm1tyQQkwx3IDyhbFkJ8hIV0MK87QhVQtL7oxNsA6nqCxvljlhW/FLxMVYr23yKBtt4C4esB200lmsyTj2LP8ypTBdowV7dp8sCF4xis6FbGiRWZbZn/xuwFBhi9T4d4ClauY4KItaOUrKnAooetUoorLKNQlDs4JBbcLnE4Q6F4Gti3NNYyp5BlRkPuDOH4XJ0SgLvmaQb915Za34dUH1l9/oPYOnH72D8mmQ95thJDpzyRcQW4o4WJrMak5wgwlSN6e3S4LxXHu/IJ/1ZcftsqqeirQkmvwZJeM4p/2vDGfFKZoo71jHBdIxKtQxivTSODThXWKvc+w== 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-SenderADCheck; bh=c4tq9h/MvEbN12TFab7DLeJOJC1MZWxK+uHCd6dHiXA=; b=XPGllLvo7khwppGkByqg6jC6ssKjx4abW1SuASOmxVhZthOrJM38yBtatHn9dYZZatp/y2H0Ytv4lYz2vuPjTZCv0S/tJrBNs/Mu/MD9Kr0iUo9aHWEzyNa2glisFGmOlQ+hnb1cE+DiO7Sz3+Lifl6xa75gkhNayQUkhOxTR8EFgVBEFp8SLoXMUxHP3UlyGFFlXQCc7qpzP+t61j2S98gPfDbg60edWhKxCmtb4YXZRmSqTNVXduMxqT33k1U1yKHt85Et4GxN7Eu4R/e066ZzYEnP3e9zk5PkkS4q546rIU9KX9vA10hD43Awo3EIENJ8Dnlmd4txE1xQ8kKg2g== 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=bestguesspass 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=c4tq9h/MvEbN12TFab7DLeJOJC1MZWxK+uHCd6dHiXA=; b=AdXpBn/OmHBAIf4Z8l3tKjH38jZoS4nrWCojFFlnVCIq8W1iAqw791qgejWNggknxxJOXUM2GjIxyGi7FcH91AbeWM7XHIwrPIy589qjS6tvdHSD2YqKAw12EOXzfYZJy/TFDWE+VrfOuexrVqT4EgV59wwsC0ib/6ThXy+QnoU= Received: from DB8PR04CA0027.eurprd04.prod.outlook.com (2603:10a6:10:110::37) by AM0PR08MB3012.eurprd08.prod.outlook.com (2603:10a6:208:5b::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.20; Thu, 13 Aug 2020 09:08:34 +0000 Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::da) by DB8PR04CA0027.outlook.office365.com (2603:10a6:10:110::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.15 via Frontend Transport; Thu, 13 Aug 2020 09:08:34 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; 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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3283.16 via Frontend Transport; Thu, 13 Aug 2020 09:08:34 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) 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.2044.4; Thu, 13 Aug 2020 09:08:24 +0000 Received: from E107187.Arm.com (10.57.42.181) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Thu, 13 Aug 2020 09:08:24 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , , , Subject: [PATCH edk2-platforms v1 0/7] Updates to support Dynamic AML Date: Thu, 13 Aug 2020 10:08:16 +0100 Message-ID: <20200813090823.69908-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0da743a0-58fc-4a5a-e2e5-08d83f687a0d X-MS-TrafficTypeDiagnostic: AM0PR08MB3012:|VE1PR08MB4653: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: yhDPoy11j8H03lVlAZvKBAZ3C9E15vLwXWUEIgCujLiVYtSACijBXN6TvDnINBJeGCpPECHpjdHV9lOEmY2Ct+pShvAx3uuWIFhPiRIO8WRZN/SCGKO75dAsffI60zj3kvgwk7Lh2MO/X+Cemiuussd8eF2bW3roXKGnqz9oF41yMnka32KE7dbq99Ldb29o5bhmoAb8LNc5vUUmg/qXpHEFgSTzei4rNRSTeHOgPXWkqdR6eCFBSWVIjfqu2XihmRj8d0IoTeJkhIqr3HZYivpAVZYmGzT/KzubfRPk4rAMGf8BTspHataTWnyEEpgT8bapePDscTB8syQGurUXCfJVKIq7z5jP4+1hB3D6U0FBlJugkmU61YUUBaKJlhK8pjWI5uI2r4A+2JvKJFBXuFwfoLGr3Dj/I6uaoEmQEYme3CURDEwRh1FoQgBWMLKNnn8pvZYX17V1+VXKJP9aUmRMbqGs3gQBKwt9U1NPdTU= 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;SFTY:;SFS:(4636009)(396003)(136003)(376002)(346002)(39860400002)(46966005)(426003)(54906003)(70206006)(478600001)(82310400002)(36756003)(8936002)(70586007)(15650500001)(6666004)(966005)(316002)(44832011)(356005)(86362001)(1076003)(83380400001)(5660300002)(8676002)(82740400003)(47076004)(2906002)(2616005)(4326008)(336012)(26005)(7696005)(6916009)(186003)(81166007);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3012 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: f58f6e97-61ad-4058-ef21-08d83f687519 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3shm/duDorzoSOyV73NA60F13sEag6Leizu4ye/EqV6EOZ1QkdbgZ1wbLRBRMDi/b02bvAqfUhiScNByRFVaJaTS9PWgiQHRRli4cVJKk2ogS2yOlrQbDo7PyLshWzL8sdIKiIbCxEr0lme+q7IbDdPLrqcUryYaA9I3VKFfR7KbLjxwKrNadVlVCZ6Nf6LV04NRKLTeEq1JIV2VXzmhJYT99ciaTjzEWagAbMWG0MprPRhXupURbdnfGzUJeqnMmKdMqVsodE/F4oPh4D0/AWenaHYxKwV82LjDS0AgLxBtf7EEODP6VaGRrzxtlWsgxnriv0/4o5URHRnJoIGqjsdA8rkYOFHiHodlPN16e/I8/NOKQbAXfM5x3uJlY5rX7hWQ91yO3wR/8aNOFMCJCua2nf+Ua+FwvGsbrMezA9jz92JW+sytyzEJd9gAH1CsJhh0C4P/9um1/y7VZNVW5CQxwGVkQ4QTzYtVSX9dHvQ= 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:(4636009)(396003)(136003)(39860400002)(346002)(376002)(46966005)(7696005)(336012)(81166007)(36906005)(1076003)(70206006)(4326008)(966005)(54906003)(316002)(82740400003)(47076004)(8936002)(5660300002)(186003)(70586007)(82310400002)(26005)(8676002)(6666004)(44832011)(36756003)(6916009)(15650500001)(83380400001)(2906002)(2616005)(426003)(86362001)(478600001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2020 09:08:42.9214 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0da743a0-58fc-4a5a-e2e5-08d83f687a0d 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: AM5EUR03FT019.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4653 Content-Type: text/plain Dynamic Tables Framework has been updated to add support for Dynamic AML at https://edk2.groups.io/g/devel/topic/patch_v1_00_30_add_dynamic/76149133 The SPCR and DBG2 generators have been updated to use the Serial Port Fixup Library to dynamically generate the corresponding Serial ports as Definition Block tables. This makes the static description of the SPCR and DBG2 Serial Port definition blocks redundant. To dynamically describe the platform serial ports a SSDT Serial Port generator has also been introduced. In light of the above, the patches in this series: - Remove the redundant static Serial port definition blocks. - Use the SSDT Serial Port generator to describe the FVP platform Serial ports. - Fix an issue with incorrect interrupt assignment on FVP platform. - Remove unnecessary libraries linked with the Configuration Manager. - Increase the Juno FD size to accommodate AmlLib. Note: This patch series is dependent on the patch series at https://edk2.groups.io/g/devel/message/63246, which must be merged before this series can be integrated. The changes for this patch series can be seen at: https://github.com/samimujawar/edk2-platforms/tree/675_dynamic_aml_v1 Pierre Gondois (1): ArmPlatformPkg: Juno: Increase FD size Sami Mujawar (6): Platform/ARM/Juno: Remove SSDT UART table Platform/ARM: FVP: Fix serial port interrupt Platform/ARM: FVP: Add UART base address length Platform/ARM: FVP: Enable SSDT Serial generation Platform/ARM: Juno: Configuration Mgr lib linkage Platform/ARM: FVP: Configuration Mgr lib linkage Platform/ARM/JunoPkg/ArmJuno.fdf | 8 ++-- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl | 42 ------------------- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 7 ---- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 3 +- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 4 +- Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc | 4 +- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/Dsdt.asl | 25 ++--------- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 44 ++++++++++++++++++-- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.h | 5 ++- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf | 2 - 10 files changed, 56 insertions(+), 88 deletions(-) delete mode 100644 Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTables/SsdtUart.asl -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'