From nobody Sun Feb 8 15:25:02 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+65856+1787277+3901457@groups.io; arc=fail (BodyHash is different from the expected one); dmarc=fail(p=none dis=none) header.from=arm.com Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1601673272878619.5319788245296; Fri, 2 Oct 2020 14:14:32 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id yTc6YY1788612xIrC0KyMaOU; Fri, 02 Oct 2020 14:14:32 -0700 X-Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.64]) by mx.groups.io with SMTP id smtpd.web10.5607.1601673271682339810 for ; Fri, 02 Oct 2020 14:14:32 -0700 X-Received: from MR2P264CA0036.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::24) by DB8PR08MB4076.eurprd08.prod.outlook.com (2603:10a6:10:b0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35; Fri, 2 Oct 2020 21:14:29 +0000 X-Received: from VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:0:cafe::22) by MR2P264CA0036.outlook.office365.com (2603:10a6:500::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Fri, 2 Oct 2020 21:14:29 +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=pass 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+65856+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 VE1EUR03FT006.mail.protection.outlook.com (10.152.18.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Fri, 2 Oct 2020 21:14:29 +0000 X-Received: ("Tessian outbound 7a6fb63c1e64:v64"); Fri, 02 Oct 2020 21:14:28 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f9b13160690fa3af X-CR-MTA-TID: 64aa7808 X-Received: from 12ceec2d23ec.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 17A52433-2CC0-490E-9C75-D85FCE126BD8.1; Fri, 02 Oct 2020 21:14:23 +0000 X-Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 12ceec2d23ec.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 02 Oct 2020 21:14:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hr3AGDejlM8/F3IgbCwfTlM3BZ/73LbkW5PSSHuM8rel/NIvNNTEfPYx28Ei5pPzFDlQrO/6G0bde2gjQlesHu8cAg6dELalJZs5Fjxo3mPVy5rPFpjPDL04NteDF6bCO9Ex/JzYAFvQbROELTpX5mAiaBfRtsmjHdYqRsC9vHoHSt74U5sJehzKf6GuTiCb0CtrQ9TCWIPwY+7U+CteXzebMJ+5Nek5s+dNY7E8GjyViY029GcpjbVfMoWmhHuZWHOKoPV2ErFFS9CJcmyra1bpqbDnWQ4hNs6jghGY9kw/KCdXWdzrklbaf1aVvhcTPR7i8F+91n4t/zB8Jb19JQ== 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=bCprfsfXwDKyKY45Xh0Rach6bJPEDtMQny/k1T+UYjs=; b=EohGdSRXRTb35qoSgTgf/AwqkummFvatWvxE/RoRINw9lvRu4uJDerbl8N+Yx/nT0RNRsNL7GScI1nNgs7pKo5Cm78IAYYx8iRXj72InWLoYGIbsYMGh9zi4H99HXO9SInMp3QpTS6Tec4ttIz2nNtWkgC3Vrddh+2fu7dkXWe3yQlStuQn/e1QACCIevXKU74yQS5zs2vYXqSVdq9npMRC6BT3HLXVvp5WD/VwVamWQLfLk/Y2ZHiRlr8uecXrX7D40SypsYATT9xeSTVRNBA5ZLv862YIduFlll9r1VlS0ciCi9NJNK5cJrXrUpR92e20RtEGPgiYBzD74VNkNCQ== 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=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none X-Received: from AM3PR05CA0116.eurprd05.prod.outlook.com (2603:10a6:207:2::18) by VI1PR08MB4318.eurprd08.prod.outlook.com (2603:10a6:803:f8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34; Fri, 2 Oct 2020 21:14:21 +0000 X-Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:207:2:cafe::fd) by AM3PR05CA0116.outlook.office365.com (2603:10a6:207:2::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.35 via Frontend Transport; Fri, 2 Oct 2020 21:14:21 +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=pass 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 AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3433.34 via Frontend Transport; Fri, 2 Oct 2020 21:14:21 +0000 X-Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2044.4; Fri, 2 Oct 2020 21:14:19 +0000 X-Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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; Fri, 2 Oct 2020 21:14:18 +0000 X-Received: from E107187.Arm.com (10.57.53.44) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Fri, 2 Oct 2020 21:14:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [edk2-devel] [PATCH v5 08/15] ArmVirtPkg: GUID Hob for 16550 UART base address Date: Fri, 2 Oct 2020 22:14:02 +0100 Message-ID: <20201002211409.43888-9-sami.mujawar@arm.com> In-Reply-To: <20201002211409.43888-1-sami.mujawar@arm.com> References: <20201002211409.43888-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: c6e98816-fb82-4298-746b-08d86718263d X-MS-TrafficTypeDiagnostic: VI1PR08MB4318:|DB8PR08MB4076: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:4941;OLM:4941; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: IQCBxCypOs9BsLTAYHyGrocNpbtm1Pp4OKyYUMYdycEXJ+uQUvcxJN3sNcO//T0mJOZhtAdtWuSP2a3htYHyNlg62BD3wGney9gEdnvrw4hh6psu3nEMAkO+Q40crfsHI7njsD+gNB/N1PlTpvVGUrIAnCHWEDhcboU7n0NT+1oFcDXyHlXcvK/4EerfxOuSAmfwYc/aXYzceZVzCYzpOZA6TY7ATLqazhp0Vl9rRARbdiEv82PV9Q8onoa9QE9pyuLxZ4Ld/TbS0UPn5e3H+MxFJZs40Xt2pHiGtwObsTVTAcAZUqdj0vBnoinXwHNIlf/RFknEL/AUabqO1UyoRh9UR9Hh2kYpPOgQlFnwu3oD99lXeLZGLhhOtydltMyPi3FnFAzQhUIJF3oNAVvUYUp8sveuuhzrc3G/jKy0biWmok85zk7Lnh0o/ih8eJmLZBr804bcf0MErJuhJuf3A0rbQZWVbnggmI1wI3TRGbM= 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;SFS:(4636009)(39860400002)(136003)(346002)(376002)(396003)(46966005)(82740400003)(8936002)(36756003)(47076004)(336012)(82310400003)(19627235002)(81166007)(356005)(83380400001)(70586007)(83080400001)(6666004)(1076003)(70206006)(186003)(26005)(426003)(4326008)(86362001)(44832011)(5660300002)(7696005)(6916009)(2616005)(54906003)(8676002)(316002)(966005)(478600001)(2906002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4318 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 39eb60c9-5175-44b5-b49e-08d8671821b8 X-Microsoft-Antispam-Message-Info: LwrJC6KRO9s9UnEhF0A8poLvZhx+Ielyog05JclopPJL97oSOSP72NA85wBb3EVBi+pgxM0TngKG8CsB9NnY1sQFUUeZijeh7p2TgOK79UZYsbDRUXNMTMHeFHBAAoun13br5gffdnL+hDDbpR1sJOUk7VZ4hc2rKDq4n2RaSsPft/gOO5v2dcjEODtwMzr2yhv+Ujw3te5mH1BFLi573KZ2MMl8IOgFvJUQPUl3IRJcIuV2idpX9Wj9V4a2vjxjSzuht7kBhShDnjobAnX7uCutHijxMwxriFx6R9CAaLl8vxVUwreYnW72GR6r/hR29zqh/RSGor8Sak723+1fL1/LcMrB73AO19H1qE3wlSqWiO7P8z9arnPQVAzZQG9VnVptbEPcT+veFLTCpcKHSWpx0wQa07VqStmt4lPl65BrOI6oJWj/lqiFJFoFUeTVGVC6yqlncW+eyPGgNi/3xeXR0d0gG98Q128OmskSVrw= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2020 21:14:29.0219 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c6e98816-fb82-4298-746b-08d86718263d 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: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4076 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: BJlSBYGA816LzA8em9wgSdk5x1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1601673272; bh=w5abZaXEE9S9Uk5dkSlOXN7gqJHqHCHmZH/cv6vf3Yw=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=AIiWIy0b+s2SQ1LYEJBiuX5MNyGx1O02IZFTk/R/yxOiB5JdWYamuTOZNmnn/melczd C0GVBKSjp2B8rCttrartr2YfmXzqSVGlNlgkY8Qo/gReE6gb3r8j6ANxCmQgZcubfC83u Nsfpsx1GkwlHyJod9odse6L7CIllL2YBie4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Introduce a new GUID Hob gEarly16550UartBaseAddressGuid to cache the base address of the 16550 UART, for when PCD access is not available. Signed-off-by: Sami Mujawar Reviewed-by: Ard Biesheuvel --- Notes: v5: - No code changes, resending patch with v5 series. [Sami] Ref: https://edk2.groups.io/g/devel/message/62149 =20 v4: - No code change, resending patch with v4 series. [Sami] Ref: https://edk2.groups.io/g/devel/message/61720 ArmVirtPkg/ArmVirtPkg.dec | 2 ++ ArmVirtPkg/Include/Guid/Early16550UartBaseAddress.h | 22 +++++++++++++++++= +++ 2 files changed, 24 insertions(+) diff --git a/ArmVirtPkg/ArmVirtPkg.dec b/ArmVirtPkg/ArmVirtPkg.dec index 08ddd68a863eb82778fa7a92b20ac1bff271f5e5..bf82f7f1f3f2a0ce545d87fa933= 50f56de78328b 100644 --- a/ArmVirtPkg/ArmVirtPkg.dec +++ b/ArmVirtPkg/ArmVirtPkg.dec @@ -1,6 +1,7 @@ #/** @file # # Copyright (c) 2014, Linaro Limited. All rights reserved. +# Copyright (c) 2020, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -30,6 +31,7 @@ [LibraryClasses] [Guids.common] gArmVirtTokenSpaceGuid =3D { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0= x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } } gEarlyPL011BaseAddressGuid =3D { 0xB199DEA9, 0xFD5C, 0x4A84, { 0x8= 0, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } } + gEarly16550UartBaseAddressGuid =3D { 0xea67ca3e, 0x1f54, 0x436b, { 0x9= 7, 0x88, 0xd4, 0xeb, 0x29, 0xc3, 0x42, 0x67 } } =20 gArmVirtVariableGuid =3D { 0x50bea1e5, 0xa2c5, 0x46e9, { 0x9b, 0x3a, 0= x59, 0x59, 0x65, 0x16, 0xb0, 0x0a } } =20 diff --git a/ArmVirtPkg/Include/Guid/Early16550UartBaseAddress.h b/ArmVirtP= kg/Include/Guid/Early16550UartBaseAddress.h new file mode 100644 index 0000000000000000000000000000000000000000..6b76f37a27dac03d6749f31a03e= 8026023231056 --- /dev/null +++ b/ArmVirtPkg/Include/Guid/Early16550UartBaseAddress.h @@ -0,0 +1,22 @@ +/** @file + GUID for the HOB that caches the base address of the 16550 serial port, = for + when PCD access is not available. + + Copyright (c) 2020, ARM Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef EARLY_16550_UART_BASE_ADDRESS_H__ +#define EARLY_16550_UART_BASE_ADDRESS_H__ + +#define EARLY_16550_UART_BASE_ADDRESS_GUID { \ + 0xea67ca3e, 0x1f54, 0x436b, { \ + 0x97, 0x88, 0xd4, 0xeb, 0x29, 0xc3, 0x42, 0x67 \ + } \ + } + +extern EFI_GUID gEarly16550UartBaseAddressGuid; + +#endif // EARLY_16550_UART_BASE_ADDRESS_H__ --=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 (#65856): https://edk2.groups.io/g/devel/message/65856 Mute This Topic: https://groups.io/mt/77270944/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-