From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.106.55; helo=cam-smtp0.cambridge.arm.com; envelope-from=sami.mujawar@arm.com; receiver=edk2-devel@lists.01.org Received: from cam-smtp0.cambridge.arm.com (unknown [217.140.106.55]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 26DA9211CFBCC for ; Tue, 26 Feb 2019 00:44:33 -0800 (PST) Received: from E107187.Arm.com (e107187.arm.com [10.1.195.55]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id x1Q8iSqx010007; Tue, 26 Feb 2019 08:44:30 GMT From: Sami Mujawar To: edk2-devel@lists.01.org Cc: lersek@redhat.com, alexei.fedorov@arm.com, leif.lindholm@linaro.org, Matteo.Carlini@arm.com, Stephanie.Hughes-Fitt@arm.com, nd@arm.com Date: Tue, 26 Feb 2019 08:44:20 +0000 Message-Id: <20190226084423.14024-4-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20190226084423.14024-1-sami.mujawar@arm.com> References: <20190226084423.14024-1-sami.mujawar@arm.com> Subject: [PATCH v1 3/6] Revert "DynamicTablesPkg: DGB2: Update DBG2_DEBUG_PORT_DDI" X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 X-List-Received-Date: Tue, 26 Feb 2019 08:44:34 -0000 This reverts commit 6814256083a90ef218e7ae240e51922045175df1. Reverting this patch as Soft Feature Freeze for edk2-stable201903 started on 22 Feb 2019. Cc: Laszlo Ersek Cc: Alexei Fedorov Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar --- DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c index 90380f48da017b257476ee63bcc1beae5efe1d65..697cfc46abaedf34d30abf26e7ebb2b4d271822a 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiDbg2LibArm/Dbg2Generator.c @@ -97,12 +97,14 @@ typedef struct { /** A helper macro used for initializing the debug port device information structure. + @param [in] NumReg The number of generic address registers. @param [in] SubType The DBG Port SubType. @param [in] UartBase The UART port base address. @param [in] UartAddrLen The UART port address range length. @param [in] UartNameStr The UART port name string. **/ #define DBG2_DEBUG_PORT_DDI( \ + NumReg, \ SubType, \ UartBase, \ UartAddrLen, \ @@ -114,7 +116,7 @@ typedef struct { /* UINT16 Length */ \ sizeof (DBG2_DEBUG_DEVICE_INFORMATION), \ /* UINT8 NumberofGenericAddressRegisters */ \ - DBG2_NUMBER_OF_GENERIC_ADDRESS_REGISTERS, \ + NumReg, \ /* UINT16 NameSpaceStringLength */ \ DBG2_NAMESPACESTRING_FIELD_SIZE, \ /* UINT16 NameSpaceStringOffset */ \ @@ -162,6 +164,7 @@ DBG2_TABLE AcpiDbg2 = { * Debug port 1 */ DBG2_DEBUG_PORT_DDI ( + DBG2_NUMBER_OF_GENERIC_ADDRESS_REGISTERS, 0, // {Template}: Serial Port Subtype 0, // {Template}: Serial Port Base Address PL011_UART_LENGTH, -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'