From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.50]) by mx.groups.io with SMTP id smtpd.web12.6314.1597309743721524227 for ; Thu, 13 Aug 2020 02:09:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=aFM4o6Lj; spf=pass (domain: arm.com, ip: 40.107.22.50, 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=400VafT+GC/vC9BbW8SF45nKr3+yE06YIxKmMMQZ4Zs=; b=aFM4o6LjN8MlikObhlzAK5JEaIScfacv/b4HIFFl8Wl1NLRibFyq4Osh20KO35tia/eQW2jZsGJTGFmXDK5wcAfyQL+s5IKFvhoF6idDw4+AgEG2aZpZBW5haHgSdKvClGsvtW1a1e2DnXyYci567eo45OUMBJ7Qs7jQ7ww3F+c= Received: from DB8PR04CA0028.eurprd04.prod.outlook.com (2603:10a6:10:110::38) by AM6PR08MB4738.eurprd08.prod.outlook.com (2603:10a6:20b:cf::10) 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:09:01 +0000 Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:110:cafe::a8) by DB8PR04CA0028.outlook.office365.com (2603:10a6:10:110::38) 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:09:01 +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 DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) 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:09:01 +0000 Received: ("Tessian outbound 7161e0c2a082:v64"); Thu, 13 Aug 2020 09:09:01 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 32eb7ccd59978e1b X-CR-MTA-TID: 64aa7808 Received: from b4033504623d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7024C21E-F0CA-4BEB-8054-9383D0101C76.1; Thu, 13 Aug 2020 09:08:55 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b4033504623d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Aug 2020 09:08:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l5uRjYIXuWcc8NB0NlrgVx/9mPF2Yx4D4+GzraHJOu9QavIAhnFSRv276qNkVcsatFIwBqkoAKlcgaA0nFI/AVAtYRSUN9PxlSpw4RgagQWA58h5YrLQgmK6Y5NjcIZLpyRbAM+p4JGnvqCH6BHXMoX9Dhu6FKFbLd32rMkOAF18JfhIHhfFyDWytq8rNTIkHZxsuXrmjUMTUiV2wnSrt7deKGzIYDSNxpFpjmACt7tJ3z9TEcaatc4Tc9YA06NkK67XdAI/FEhpzKQTtRdiE/g0Lgr38HUD6oRPVW6YDOk+PAzMTVY4K5wvyBLPMzpfGUYmb1Uvapz9HxzCpv8nxg== 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=400VafT+GC/vC9BbW8SF45nKr3+yE06YIxKmMMQZ4Zs=; b=UkwWY5QCO1E5kx+sp7M16YcR/9q/CJt1d88mpeidXlOk7jwf83wLR6S7L9OFdFVgg9gAeQKU/KQ7uwyxuERRGQ94ppdnn+iAGylPQuOe650X9ESAch2xjNoVMXKs0JFm1JPGsAuazgOmBVNTrzSzg3sizZLXE7dy9gURvtwvrTA86cyt817dFjT9Tqko6y40uigjZkQbUDRT03CO76elnwCzMor9sa/NUMcdaRLiWr43kBywCzL1tq/aKL1LXjGKEQufMp8HWGqEN6FTNsGDtS+qTrzYNxd0AK/PkazfAr8udOFxXeJvCMhbJOQXo22YEhSqAZxbWy8jKI4OVR/kww== 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=400VafT+GC/vC9BbW8SF45nKr3+yE06YIxKmMMQZ4Zs=; b=aFM4o6LjN8MlikObhlzAK5JEaIScfacv/b4HIFFl8Wl1NLRibFyq4Osh20KO35tia/eQW2jZsGJTGFmXDK5wcAfyQL+s5IKFvhoF6idDw4+AgEG2aZpZBW5haHgSdKvClGsvtW1a1e2DnXyYci567eo45OUMBJ7Qs7jQ7ww3F+c= Received: from DB6PR07CA0004.eurprd07.prod.outlook.com (2603:10a6:6:2d::14) by AM4PR0802MB2274.eurprd08.prod.outlook.com (2603:10a6:200:64::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.15; Thu, 13 Aug 2020 09:08:54 +0000 Received: from DB5EUR03FT060.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2d:cafe::a3) by DB6PR07CA0004.outlook.office365.com (2603:10a6:6:2d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3305.13 via Frontend Transport; Thu, 13 Aug 2020 09:08:54 +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 DB5EUR03FT060.mail.protection.outlook.com (10.152.21.231) 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:54 +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:28 +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:27 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH edk2-platforms v1 4/7] Platform/ARM: FVP: Add UART base address length Date: Thu, 13 Aug 2020 10:08:20 +0100 Message-ID: <20200813090823.69908-5-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 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: 6aa64ac6-8ac5-4fc4-3b76-08d83f6884d8 X-MS-TrafficTypeDiagnostic: AM4PR0802MB2274:|AM6PR08MB4738: 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: DD0M1wCmsAmV73kMWCz6zoAYgWYGmDpngAoT4hqg8YTgK9RDZhfSM8acCXMZPoC56IMkiwDMfoWNuFwVltxHETBLuqQ8NGgGeIhFh3Q2D6aad3ikxYxlzFU072RA+uWOtaU5mr9W7KWIJLcvkevcqaNgy318CDIj5d6kOEsquGC2FaST2VLfiBKi61xPJnyIFt7ccOWuKJKU0Qq6uLnw4TQGbi1p3xabpaEhaCOuUZZbfDdHXfB8+fXOi9j+tSz255CeYrzL6hwIyWYtMj9E47XHMDhzW40ugOAabnMbgYMBuUR1fukK6wVnktrOOc0LNMObXIEjLRhP7vsvj5CSN2yc15SSUGdVxTuQbRE90XPe7x4Z4edT2+X4bCvRMOREhLE6vpdwuHdjyAslArC0yA== 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)(376002)(396003)(346002)(39860400002)(136003)(46966005)(54906003)(82740400003)(81166007)(70206006)(336012)(6666004)(44832011)(83380400001)(4326008)(8676002)(36756003)(356005)(82310400002)(70586007)(6916009)(86362001)(47076004)(2906002)(26005)(7696005)(2616005)(1076003)(8936002)(316002)(5660300002)(426003)(478600001)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2274 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: ba065646-62aa-494a-8509-08d83f6880c5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LLAr3ACR4AvcFgSJfjxg7Er1ajjtlf1RWxrquczfmOYLy9mncqXvtKDWNAEPHHIuJncgfPlaJmDbiBY+CovMW7HpsjlzEaTSQ95//RKMrU5nVqJ+re80+p2tHaB9WjG3azJme2RyCl+o8Yw//qsBAu+JHgjjn6sNH0rd7P3O2KjdMfbZAM2/ipIilwEGjeId84eLzrSetFADV9gvMr7/thtj+BXnePFlsrHr6E9ewVjtENdhiijA+AWDwIjAaMM1TpywwIKXD4flKy9866Fd4ZLr2GmyBlCBQZ063iNmXJgAIMnCO3WlR8r2HQGsbtBRUNL2VOOnMXpyrd3AsXyu4iKc/lipP4F7maB2djpBqWXVXMCW79wNFwFBVezF1G6bGyC2qr0plqTyIwmBbW2D0g== 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)(376002)(39860400002)(346002)(396003)(136003)(46966005)(7696005)(47076004)(8936002)(82740400003)(81166007)(83380400001)(26005)(1076003)(82310400002)(4326008)(186003)(5660300002)(70586007)(8676002)(2616005)(426003)(44832011)(336012)(36756003)(2906002)(6666004)(316002)(54906003)(478600001)(86362001)(70206006)(6916009);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2020 09:09:01.0767 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6aa64ac6-8ac5-4fc4-3b76-08d83f6884d8 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: DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4738 Content-Type: text/plain The SPCR and DBG2 generators have been updated to generate SSDT serial port tables representing the SPCR and DBG2 serial ports. This is done using the Dynamic AML feature. The Base address range for the serial device is required so that it can be fixed-up in the SSDT serial port template AML code. To facilitate this the serial port information structure CM_ARM_SERIAL_PORT_INFO has been updated to include the Base address length for the serial port. Update the Configuration Manager repository to populate the serial port Base Address Length field in the CM_ARM_SERIAL_PORT_INFO structure. Change-Id: I3980fed6ac132e241da9e09fe8da0b4aa7f20243 Signed-off-by: Sami Mujawar --- Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c index 48559cb6af46309b13e2f8746f883875c3c0cc8b..76ea46023250d244205a5d8bc715e6e49e37b673 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManager.c @@ -199,7 +199,8 @@ EDKII_PLATFORM_REPOSITORY_INFO VExpressPlatRepositoryInfo = { FixedPcdGet32 (PL011UartInterrupt), // Interrupt FixedPcdGet64 (PcdUartDefaultBaudRate), // BaudRate FixedPcdGet32 (PL011UartClkInHz), // Clock - EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART // Port subtype + EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART, // Port subtype + 0x1000 // BaseAddressLen }, // Debug Serial Port { @@ -207,7 +208,8 @@ EDKII_PLATFORM_REPOSITORY_INFO VExpressPlatRepositoryInfo = { 39, // Interrupt FixedPcdGet64 (PcdSerialDbgUartBaudRate), // BaudRate FixedPcdGet32 (PcdSerialDbgUartClkInHz), // Clock - EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART // Port subtype + EFI_ACPI_DBG2_PORT_SUBTYPE_SERIAL_ARM_SBSA_GENERIC_UART, // Port subtype + 0x1000 // BaseAddressLen }, // GIC ITS -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'