From patchwork Mon Nov 14 11:29:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 82077 Delivered-To: patch@linaro.org Received: by 10.182.1.168 with SMTP id 8csp1082225obn; Mon, 14 Nov 2016 03:43:48 -0800 (PST) X-Received: by 10.200.54.4 with SMTP id m4mr10334274qtb.141.1479123828820; Mon, 14 Nov 2016 03:43:48 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id y22si3686680qta.210.2016.11.14.03.43.48; Mon, 14 Nov 2016 03:43:48 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 82BBF60805; Mon, 14 Nov 2016 11:43:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id E436F60DB6; Mon, 14 Nov 2016 11:35:46 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A219A60812; Mon, 14 Nov 2016 11:35:22 +0000 (UTC) Received: from mail-pg0-f46.google.com (mail-pg0-f46.google.com [74.125.83.46]) by lists.linaro.org (Postfix) with ESMTPS id 2B00560D7E for ; Mon, 14 Nov 2016 11:33:22 +0000 (UTC) Received: by mail-pg0-f46.google.com with SMTP id f188so53263601pgc.3 for ; Mon, 14 Nov 2016 03:33:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vWIVkS/z6td3mqg4GWsBFY9G7V35oAFJ0ZSo9duP4Zk=; b=b7XZY8nD8Xh+9QwYK/EVTpcFNYd1SjvCM1gZybnj27atNn/rsjtwqO/ooclQ56ZOjB dRRAyu0GYiE8RNcnVlSF/n7+ABAKMn0W8SvvB/WhgaIPiS9IkYv5vQLfE+Nv/cfw06gZ ZCYwDT5BXuiV8Gg8qCVfT1rIjvDUcYJV47zl/as7PS1B6Fnm5fRC/LPpTgnCt5Tgqm8B Gse9ER9estzSkNnzJ00iv2ETOvOTj5tdUeR/h1CvBI5flHo9f3hsu8FzHWOFkI9PGniN yEJJUUS5c9+ol+nIYmQNvSNoyiSHj6EfGCf0nBT03SOOv3ChQUAoy8OLuh/SgqFvxD4K wtzA== X-Gm-Message-State: ABUngvdQIGpGjQgFgjPBLH1SUsObDORDfR4jIlW1KoTWudjXdgbcV7amD85Abxe3BS5jnLTka7I= X-Received: by 10.99.102.69 with SMTP id a66mr48294070pgc.49.1479123201454; Mon, 14 Nov 2016 03:33:21 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id g82sm34663209pfb.43.2016.11.14.03.33.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Nov 2016 03:33:21 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Mon, 14 Nov 2016 19:29:43 +0800 Message-Id: <1479122995-50330-17-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479122995-50330-1-git-send-email-heyi.guo@linaro.org> References: <1479122995-50330-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang Subject: [Linaro-uefi] [PATCH 16/28] D02/D03/ACPI: Fix wrong GTDT length X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" The length field of GTDT table should be the whole length of entire Generic Timer Description Table. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Kefeng Wang --- Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc | 2 +- Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc index 4032382..922f5c3 100644 --- a/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc +++ b/Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc @@ -56,7 +56,7 @@ EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLES Gtdt = { { ARM_ACPI_HEADER( EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE, - EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE, + EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLES, EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION ), SYSTEM_TIMER_BASE_ADDRESS, // UINT64 PhysicalAddress diff --git a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc index 3caf144..f677feb 100644 --- a/Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc +++ b/Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc @@ -56,7 +56,7 @@ EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLES Gtdt = { { ARM_ACPI_HEADER( EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_SIGNATURE, - EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE, + EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLES, EFI_ACPI_5_1_GENERIC_TIMER_DESCRIPTION_TABLE_REVISION ), SYSTEM_TIMER_BASE_ADDRESS, // UINT64 PhysicalAddress