From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.82]) by mx.groups.io with SMTP id smtpd.web11.9489.1597324057730380319 for ; Thu, 13 Aug 2020 06:07:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=1aEOh5KF; spf=pass (domain: arm.com, ip: 40.107.7.82, 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=7g2shgioI3yzop1m7TkmJ5tAdhd9pCgJK0C4waZeB78=; b=1aEOh5KFObaUqej2ZPRKEuXXQjf47wfLvgi4Cs1qwa6o3SISBvgg+9QFFEc4XCwj6p8RhsqDXP0jpaydUyfSjixel/Lw/m+hbdJMEQsFDr/tq2YjCZPiALkKJzF1AJeuW8kSzwshDOiQwjOK1TXPGmSPaItFwmj24Pi7EjPgxIE= Received: from DB6PR07CA0056.eurprd07.prod.outlook.com (2603:10a6:6:2a::18) by VI1PR08MB3424.eurprd08.prod.outlook.com (2603:10a6:803:88::13) 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 13:07:34 +0000 Received: from DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:2a:cafe::58) by DB6PR07CA0056.outlook.office365.com (2603:10a6:6:2a::18) 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 13:07:34 +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 DB5EUR03FT033.mail.protection.outlook.com (10.152.20.76) 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 13:07:34 +0000 Received: ("Tessian outbound 7fc8f57bdedc:v64"); Thu, 13 Aug 2020 13:07:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 8d3fe0adb29ec634 X-CR-MTA-TID: 64aa7808 Received: from e3311e884632.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 5DABF906-E2DC-49B5-ACCB-434E989F68FA.1; Thu, 13 Aug 2020 13:07:28 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e3311e884632.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Aug 2020 13:07:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QDloCS2ZRIC0qgEKkBX49Rj600+di+C4Kstj7pId2GfPg1XuIbf7swB8gYJaFl0iq7lvka6PL7eBjByY3UNDzT/5gL0RLSjeeuI0XsPSVRGr2mZu9bJFtIfqJSjDVJ4A8Ffm8whYhKGMEqpEU9LvT5SsKNaKHkjImXoY/s6mg9xztEwSfR5KlBgGVwqjTYXk+GGdQGSxpNy3tnd/EhkRh7q+WK8cNInGlEJe+/UNVNGyZyzkFsJPlk8w9/QPKpupcPChkhUh/a8TEmr6vlGjFawOEdaAlEKrEsrqwAIfr3gtMwkQnPbpIxYH7FTu4pZkSwQsxGxpcwKVdHzJuW4u8g== 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=7g2shgioI3yzop1m7TkmJ5tAdhd9pCgJK0C4waZeB78=; b=F+pPWUyZniGRE0xZxDoXRKQhXpUT6YLN7fgBeBAhlr/yFJ5QnIn00TQDIHd2SKY5kIC1u4uAfaofRMoq4nGDugZlLMANG1xEsfV/QT6HAgMZe7ah++JaeXWf4AiCp1xYu01c/CVbecYDCb8Esr60wpR/eIAhkXjP+QK1lpElPeWOHCA3Y7IsZYQ7eQCghs1L84U1Bod8BCz9ZfUSiJNGNrxu5An89pSuhNhzRGnptCJSKp0BBv10zQIOBDGsSwgI8zi0qlCrK8aAFuNy1Iw0WUGPc1YdtWz6unK0eRmy/pW07gxRIRJuqTe2/Ip1zYTHV7phb1cLHiCsi8Bl8CRQmg== 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=7g2shgioI3yzop1m7TkmJ5tAdhd9pCgJK0C4waZeB78=; b=1aEOh5KFObaUqej2ZPRKEuXXQjf47wfLvgi4Cs1qwa6o3SISBvgg+9QFFEc4XCwj6p8RhsqDXP0jpaydUyfSjixel/Lw/m+hbdJMEQsFDr/tq2YjCZPiALkKJzF1AJeuW8kSzwshDOiQwjOK1TXPGmSPaItFwmj24Pi7EjPgxIE= Received: from AM0PR02CA0084.eurprd02.prod.outlook.com (2603:10a6:208:154::25) by DB7PR08MB2985.eurprd08.prod.outlook.com (2603:10a6:5:20::23) 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 13:07:26 +0000 Received: from AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:154:cafe::f3) by AM0PR02CA0084.outlook.office365.com (2603:10a6:208:154::25) 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 13:07:25 +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 AM5EUR03FT004.mail.protection.outlook.com (10.152.16.163) 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 13:07:25 +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.2044.4; Thu, 13 Aug 2020 13:06:56 +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.1779.2; Thu, 13 Aug 2020 13:06:56 +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 13:06:55 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH edk2-platforms v1-resend 4/7] Platform/ARM: FVP: Add UART base address length Date: Thu, 13 Aug 2020 14:06:49 +0100 Message-ID: <20200813130652.43144-5-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200813130652.43144-1-sami.mujawar@arm.com> References: <20200813130652.43144-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: 2c3614c6-2a55-4fc5-27ae-08d83f89d815 X-MS-TrafficTypeDiagnostic: DB7PR08MB2985:|VI1PR08MB3424: 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: 8GTi32XXiVw/D3HVBliY/ptMhqqtDFz9mKOjXMt/iZ2ymPiARQYdvKbj0W4PR7X8fUhFTQ5a+kvYPThC43j1+J9YT+P2EEjMBzrZAdQFUPoEf++ocMP5j8pq+/f1Ud/DK4X/rxI9OvLxRVtqu131DAZ4RwtzDqnH4NICDy7H/xnRQV2VyKRhORvm2m552HYfstTBP7tVKrCh4awV52jmr7Q5E6KcJBBAVThR1DiXCl84lwqtd4wuu53RWiZ7bquFZknocY+Qp2E5vwC97Knl6lVs0p5PRSgeYJgEcAYWlrb4DhyvfdjQJUHl/61wEiEVCyVbe+MV0yS+Jki6IKu2G037TqLOKIhKaVbUYKQ/WaiOPXB/topk5pPmX+CyjSnxE2ARo42lZGD8Ex0y5y2J8w== 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)(39860400002)(346002)(376002)(396003)(46966005)(316002)(336012)(2616005)(26005)(8676002)(82310400002)(1076003)(47076004)(426003)(6666004)(5660300002)(82740400003)(81166007)(83380400001)(8936002)(36756003)(7696005)(186003)(70206006)(70586007)(478600001)(6916009)(86362001)(44832011)(4326008)(356005)(54906003)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB2985 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 1f108217-bcdd-4f8b-b1b8-08d83f89d327 X-Microsoft-Antispam: BCL:0; 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)(136003)(396003)(346002)(39860400002)(376002)(46966005)(2906002)(36756003)(70206006)(6666004)(44832011)(54906003)(426003)(336012)(478600001)(2616005)(86362001)(6916009)(8676002)(316002)(83380400001)(81166007)(82740400003)(82310400002)(7696005)(8936002)(1076003)(186003)(70586007)(5660300002)(4326008)(26005)(47076004);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Aug 2020 13:07:34.1199 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c3614c6-2a55-4fc5-27ae-08d83f89d815 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: DB5EUR03FT033.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3424 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. Signed-off-by: Sami Mujawar Acked-by: Ard Biesheuvel --- 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)'