From nobody Mon Feb 9 19:52:55 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+64149+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1597309732621796.6708050742233; Thu, 13 Aug 2020 02:08:52 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id uuL5YY1788612x83hn1DpTST; Thu, 13 Aug 2020 02:08:52 -0700 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.66]) by mx.groups.io with SMTP id smtpd.web12.6312.1597309731179922210 for ; Thu, 13 Aug 2020 02:08:51 -0700 X-Received: from AM5PR0601CA0081.eurprd06.prod.outlook.com (2603:10a6:206::46) by DBAPR08MB5813.eurprd08.prod.outlook.com (2603:10a6:10:1a5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Thu, 13 Aug 2020 09:08:48 +0000 X-Received: from AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:0:cafe::a8) by AM5PR0601CA0081.outlook.office365.com (2603:10a6:206::46) 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:48 +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 (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+64149+1787277+3901457@groups.io; helo=web01.groups.io; 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; X-Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT012.mail.protection.outlook.com (10.152.16.161) 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:48 +0000 X-Received: ("Tessian outbound e8cdb8c6f386:v64"); Thu, 13 Aug 2020 09:08:48 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6a89be56b121c794 X-CR-MTA-TID: 64aa7808 X-Received: from b73b0b61d5f6.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1F3C4E13-76BA-468C-9C4F-E3382EFAB160.1; Thu, 13 Aug 2020 09:08:38 +0000 X-Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b73b0b61d5f6.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Aug 2020 09:08:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZC2WYIfdqYNx/ONJFCVCRPx859thzEYWMfx+7A7amm4ttigk15R0+RMODBWcdOY6Db8vuvYUnvghVWG8MMQXfHgVHgGbyT5IEtbUcPPZp1n3kmTdUDXk1Lv7PRK/bG3SpU+llX2pMLbVLXZXMpNfUeIH/G+ZXXntX9/7u6js8+VqLFJqOpG0qNuC+mDpllAp5Fp4hNZ3dNqtquMd8m/Yuo2if5tX0qWS0wkQvZRPbphHNYzCjSzWBTh/Kg6Ah8Mn5qzNhBqVcGazfndECzrsLjPSfJDoI27om79yo63uxpJGFfYqmabJK2gYo03Shh2IjCxQnGuC3yyInPB+F6BGVg== 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=Jf1QsG6qeiPmNPDPq6+jh++ledHg/kbH2m41Cj2GM2s=; b=hJdzbyRAjF2+0PtqNxSchrkQd6/MuZdMb33zP1xoBfRRNhDjeAzrvW+IgXTY6B0+0X5drfByd/z2sZqPF2bn1N0p59Qoz69QjYT/dfK1HhHQYV8NAykTCss+vOPJWEHBn1uEPun6w4phabsCVeYuW6GwGt4EhlNw0xhgLV9fanjnMKucQ7QvOuc2/RCjb9ATSfB4XxZ1I8yHgNYlZRi2LVgCit/OodwQpPQe/u4gaBvsVaMqUUPkkyNLcVBE+tgUrg8ldN4homPkd1B0LHF3x3WOBW+KsYRvOGnT00FSuVV++h89TUIIR0oKGNyei8BwKdzSa7vMya7g7Cs44hhV1g== 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 X-Received: from DB8PR04CA0008.eurprd04.prod.outlook.com (2603:10a6:10:110::18) by HE1PR0802MB2265.eurprd08.prod.outlook.com (2603:10a6:3:c0::19) 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:36 +0000 X-Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::8c) by DB8PR04CA0008.outlook.office365.com (2603:10a6:10:110::18) 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:36 +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; X-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:36 +0000 X-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:26 +0000 X-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:25 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH edk2-platforms v1 1/7] Platform/ARM/Juno: Remove SSDT UART table Date: Thu, 13 Aug 2020 10:08:17 +0100 Message-ID: <20200813090823.69908-2-sami.mujawar@arm.com> In-Reply-To: <20200813090823.69908-1-sami.mujawar@arm.com> References: <20200813090823.69908-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1f383ab8-4ba4-4191-3cab-08d83f687d78 X-MS-TrafficTypeDiagnostic: HE1PR0802MB2265:|DBAPR08MB5813: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HvzgSkejzv5gaBnhVxBizHHCLssZSr+5M81kTwd++/92cCrsCT5eDMSQUOQdrEwaH/Mg8CZgc87WydPbC0fEp9bS/BLRE097oGupYVQoJQkAs6zybj7rBQMVNGaY4v/9UcyJJdQ4A7CunyzkaG7UOip/XPjE9AiqzlPvUP4Kn06vtbA7MioHvqIeR9ckyu2qaYEpUuGhNKYVBr8QiGTmIUVaWngl13qvkbOeWj251AbZSYlhHNFDywa4c6SxUGf71EGu/4fYMm0OyRg4XNt2FVPDk0UHp1kE1O/HzMnZHJa7lgIhueXD1jdVJBgUpH6SpNQmvJmiPw5ui+BD1UiWUwDCs+yn+1QkgoxSd17La2UnOHC57ErC/z7vplpbvPDrLXs9ROSuyde55r7Afbw6xA== 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)(136003)(396003)(376002)(346002)(39860400002)(46966005)(4326008)(478600001)(86362001)(83380400001)(44832011)(26005)(70586007)(54906003)(426003)(82740400003)(82310400002)(6666004)(2616005)(81166007)(8936002)(1076003)(47076004)(36756003)(2906002)(6916009)(5660300002)(316002)(8676002)(356005)(336012)(186003)(70206006)(7696005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0802MB2265 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 018ba0e5-1389-42a8-a711-08d83f6875fb X-Microsoft-Antispam-Message-Info: BnAIXbCUyR3INaXpcLY8W3HkduacTrBdkA/9husXXdyYilEMi0QlLr/vnpF+b/jpWQ61GZk18QkpwvsLJRqoFlveMaHp63dKaNvYRImfOm+ScN+oQahvaUVYSn0ThyLU396XwTEAL+hP2U8k2FYZYKLp9saThDUmF8bJ6dZYr2E48PdSMrMaIGuGBoM3au/km0gSYGH7uP+UWPLzYCwAh8vpb21WUBBrktBWO3rW5AUaNeX+rKtlPi/k2mS3w09N0HYYxwW3l6wtvx8XHKvg6ONixd7H6gNmwWbYM212+UQlDlAFszWO79OsJ15XJSzkhXO/1+zSIbn8ag+XOkDApIe1vg1YzXVxl99PH5YdSbJEizq+lXm6XO5uVxhEwljnjSqsuwB7cBzoX9iCe+qs/A== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2020 09:08:48.6476 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1f383ab8-4ba4-4191-3cab-08d83f687d78 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: AM5EUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5813 Precedence: Bulk List-Unsubscribe: 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,sami.mujawar@arm.com X-Gm-Message-State: Wegfw3Egb7zDug1gno3Cu1Uwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1597309732; bh=tYfwUGtV0pD3X0Sp5sXdII1lTiKIAgQispXTk1VdhY8=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=qWD0Oh7408p5MtHvBhYoOkmcQhdM/E3p7+hYzWYWeV0WtzLD6lVZf2yk2UO3Nviq/tp 45Hn6caXBxdelAZFFNT/m2geM4SwGYxxU9Yr9OgvAiOBmqQW6OkTeNM4jjg0DbaNiBn0+ SGjAtq9bvwdquM8NIC5uqo2MoXxwtQxGSgI= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" With the introduction of Dynamic AML the DBG2 and SPCR port generators have been updates to generate the AML code for describing the Serial ports. This makes the UART description in the SSDT table redundant. This patch removes the SsdtUart.asl and makes the corresponding changes to the configuration manager. Change-Id: I232108a809b6a69f322acd23f7d2abcd99e3dfc5 Signed-off-by: Sami Mujawar --- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/AslTable= s/SsdtUart.asl | 42 -------------------- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.c | 7 ---- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManager.h | 3 +- Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Configur= ationManagerDxe.inf | 1 - 4 files changed, 1 insertion(+), 52 deletions(-) diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/AslTables/SsdtUart.asl b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/AslTables/SsdtUart.asl deleted file mode 100644 index 55a7ffc83fd6bb44ed9b9ca8b0a53e757aa2dd58..000000000000000000000000000= 0000000000000 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Asl= Tables/SsdtUart.asl +++ /dev/null @@ -1,42 +0,0 @@ -/** @file - SSDT for UART - - Copyright (c) 2014 - 2019, ARM Ltd. All rights reserved.
- SPDX-License-Identifier: BSD-2-Clause-Patent - -**/ -#include "ArmPlatform.h" - -DefinitionBlock("SsdtUart.aml", "SSDT", 1, "ARMLTD", "ARM-JUNO", EFI_ACPI_= ARM_OEM_REVISION) { - Scope(_SB) { - // UART PL011 - Device(COM2) { - Name(_HID, "ARMH0011") - Name(_CID, "PL011") - Name(_UID, Zero) - - Method(_STA) { - Return (0xF) - } - - Method(_CRS, 0x0, NotSerialized) { - Name(RBUF, ResourceTemplate() { - Memory32Fixed( - ReadWrite, - FixedPcdGet64 (PcdSerialRegisterBase), - 0x1000 - ) - Interrupt( - ResourceConsumer, - Level, - ActiveHigh, - Exclusive - ) { - FixedPcdGet32 (PL011UartInterrupt) - } - }) - Return (RBUF) - } - } - } -} diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.c b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.c index 913cffc9b994319065b5292b0d28970a0a0d8320..1d0bcc20b325911d4f1079e8394= b20bfb4492507 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.c @@ -83,13 +83,6 @@ EDKII_PLATFORM_REPOSITORY_INFO ArmJunoPlatformRepository= Info =3D { CREATE_STD_ACPI_TABLE_GEN_ID (EStdAcpiTableIdSsdt), (EFI_ACPI_DESCRIPTION_HEADER*)ssdtjunousb_aml_code }, - // SSDT table describing the PL011 UART - { - EFI_ACPI_6_2_SECONDARY_SYSTEM_DESCRIPTION_TABLE_SIGNATURE, - 0, // Unused - CREATE_STD_ACPI_TABLE_GEN_ID (EStdAcpiTableIdSsdt), - (EFI_ACPI_DESCRIPTION_HEADER*)ssdtuart_aml_code - }, // PPTT Table { EFI_ACPI_6_3_PROCESSOR_PROPERTIES_TOPOLOGY_TABLE_STRUCTURE_SIGNATURE, diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManager.h b/Platform/ARM/JunoPkg/ConfigurationManager/Conf= igurationManagerDxe/ConfigurationManager.h index 2073ae4902e540de869612353bfaf0ebacaea50d..b6e15015b6edd65a53ea842ac05= b5a2e63186b95 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManager.h @@ -19,7 +19,6 @@ extern CHAR8 dsdt_aml_code[]; extern CHAR8 ssdtjunousb_aml_code[]; extern CHAR8 ssdtpci_aml_code[]; -extern CHAR8 ssdtuart_aml_code[]; =20 /** The configuration manager version */ @@ -186,7 +185,7 @@ extern CHAR8 ssdtuart_aml_code[]; =20 /** The number of ACPI tables to install */ -#define PLAT_ACPI_TABLE_COUNT 11 +#define PLAT_ACPI_TABLE_COUNT 10 =20 /** The number of platform generic timer blocks */ diff --git a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManager= Dxe/ConfigurationManagerDxe.inf b/Platform/ARM/JunoPkg/ConfigurationManager= /ConfigurationManagerDxe/ConfigurationManagerDxe.inf index a3e7db12f8c913f7111b5ff4ad724a5bdcc35956..59e2410d255d71067319204575e= 9050b6e452427 100644 --- a/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManagerDxe.inf +++ b/Platform/ARM/JunoPkg/ConfigurationManager/ConfigurationManagerDxe/Con= figurationManagerDxe.inf @@ -25,7 +25,6 @@ [Sources] AslTables/Dsdt.asl AslTables/SsdtJunoUsb.asl AslTables/SsdtPci.asl - AslTables/SsdtUart.asl =20 [Packages] ArmPkg/ArmPkg.dec --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=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 (#64149): https://edk2.groups.io/g/devel/message/64149 Mute This Topic: https://groups.io/mt/76164184/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-