From nobody Fri May 3 15:06:50 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+90689+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+90689+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1655912334; cv=none; d=zohomail.com; s=zohoarc; b=SlxSzEOEW/iUskPEQcdV7VVeHfz66fhhUQlJ11L8tUkjnpZ9INXQifCn0g9nNBYSZ0QL0hOF428MwfUBGuin5/WJSFNIpz4Le0cpjHYEYytcQ0xqyG2Drdeln0GGUc5rlfyWIgKJrVGMXerdDqDgV1wmfVpVWYCowSt8P18WqQY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1655912334; h=Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To; bh=miDwcBGMrc7Y4xxXnyJa+4karRdc7h5Bs/E0VB8/MYo=; b=Wdt3kFOLaHS9uRTp4jk1BRXbwVqklh/dImDl9eDJxL2dkmrYH/+NtSSaH26nj4Pe9eWikf85ZXI3bo6DJhutZ1GK113Lq4TSa8jlxw6MDZq39o1KdSGu9MXOv3y2Xt9bInHB9ylWb18PEH746s4uu2/MDo636QazUAf4DyVyLoA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+90689+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1655912334500233.26508160239837; Wed, 22 Jun 2022 08:38:54 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id zRd9YY1788612x8ZMJRJOhk8; Wed, 22 Jun 2022 08:38:54 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.9025.1655912333327540414 for ; Wed, 22 Jun 2022 08:38:53 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 10D2812FC; Wed, 22 Jun 2022 08:38:53 -0700 (PDT) X-Received: from a077432.blr.arm.com (unknown [10.162.46.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 67F153F792; Wed, 22 Jun 2022 08:38:51 -0700 (PDT) From: "Thomas Abraham" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar Subject: [edk2-devel] [PATCH v2] ArmPlatformPkg: Add PCD for serial debug port interrupt Date: Wed, 22 Jun 2022 21:08:43 +0530 Message-Id: <20220622153843.15003-1-thomas.abraham@arm.com> Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,thomas.abraham@arm.com X-Gm-Message-State: NUUuRnaoO3hGwd7xY17bvr9Ix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1655912334; bh=oPCcVEaHH1jcWrteI5WKy5eAV8hmeCxEPphGqUlKDz0=; h=Cc:Date:From:Reply-To:Subject:To; b=KbOXVjACIJVdd8uohX/q+7fryF9q5dOat3/MrkSLErP8IpdMsBPxM02WVmWHVQvwTCy Y8f5SBfAoRy1gUZcKVEGfdEZ5a7uhsyqxOtQ1ifl2l94oQUjutemL4C0vpm9oReURQB7m zvY3XPVbKrrBcx0KgzwhIxaLxxYwDdA9gTA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1655912336135100001 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" For Arm platforms that support more that one serial port, one of the serial port can be used for connecting debuggers such as WinDbg. There are PCDs that allow the base address and clock rate to be specified for this debug serial port but not its interrupt number. So add a PCD to specify the interrupt number assigned to the serial debug port controller. Signed-off-by: Thomas Abraham Reviewed-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + 1 file changed, 1 insertion(+) Changes since v1 - Updated commit message and removed the Change-Id line as suggested by Ard. diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatform= Pkg.dec index 3a25ddcdc8..dd6e78f62a 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dec +++ b/ArmPlatformPkg/ArmPlatformPkg.dec @@ -94,6 +94,7 @@ gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase|0x00000000|UINT64|0x= 00000030 gArmPlatformTokenSpaceGuid.PcdSerialDbgUartBaudRate|0x00000000|UINT64|0x= 00000031 gArmPlatformTokenSpaceGuid.PcdSerialDbgUartClkInHz|0x00000000|UINT32|0x0= 0000032 + gArmPlatformTokenSpaceGuid.PcdSerialDbgInterrupt|0x00000000|UINT32|0x000= 00041 =20 ## PL061 GPIO gArmPlatformTokenSpaceGuid.PcdPL061GpioBase|0x0|UINT32|0x00000025 --=20 2.17.1 -=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 (#90689): https://edk2.groups.io/g/devel/message/90689 Mute This Topic: https://groups.io/mt/91924413/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-