From patchwork Sat Nov 19 08:38:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 83106 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp508676qge; Sat, 19 Nov 2016 01:11:54 -0800 (PST) X-Received: by 10.55.6.141 with SMTP id 135mr4709693qkg.79.1479546714236; Sat, 19 Nov 2016 01:11:54 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id p4si7717863qkc.59.2016.11.19.01.11.54; Sat, 19 Nov 2016 01:11:54 -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 DF47F609C7; Sat, 19 Nov 2016 09:11:53 +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_DNSWL_NONE, 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 AF5C86352F; Sat, 19 Nov 2016 08:48:17 +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 4AB3163510; Sat, 19 Nov 2016 08:46:55 +0000 (UTC) Received: from mail-pg0-f49.google.com (mail-pg0-f49.google.com [74.125.83.49]) by lists.linaro.org (Postfix) with ESMTPS id EBD8260CAA for ; Sat, 19 Nov 2016 08:40:53 +0000 (UTC) Received: by mail-pg0-f49.google.com with SMTP id p66so111361473pga.2 for ; Sat, 19 Nov 2016 00:40:53 -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=x5sCZ/YsXeM2OoeK/isADgi5hGn4pEGCcJoIovj/cWk=; b=ZMST+t4viVEZGVenszKxoaMwtfOfL8kZvzjkuMl+Q/SRWchWlf+ju3mqpQ1IPq8W4B J5DYQTDiHo08ca+hxBcrs4D80wfuDxUsjnGL5oNjGS9n1W/+yZmToS8nBt4w3Cglk3N5 TREVZz+L8jf+yvCg7zSJG9MmKJZ/4WGOdMDyyMztce5J/EGULawVpzpDD0vIQCSMX1q7 MZq2pdgnX8tDYUkWJ8EjtEZoYtz2nTKpzUDc3U17nqVa17b7EPwQuhoq5pRoX4HfORJg lzdkluWMgqMuUGZxGvhsoycWYvYG1cgJOL0jDrddbOW7y9eRYXYVDciT2BN3zlfHzrtG j93w== X-Gm-Message-State: AKaTC00dUJWEpSsYfdfMyhEzw5HERGi3Lrtrwt26JZfJfSOjgW+ZZMjJ5QJ7BXnJ24dLCHqUToY= X-Received: by 10.99.247.69 with SMTP id f5mr1633063pgk.81.1479544853298; Sat, 19 Nov 2016 00:40:53 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id v193sm5106241pgb.37.2016.11.19.00.40.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Nov 2016 00:40:52 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Sat, 19 Nov 2016 16:38:02 +0800 Message-Id: <1479544691-59575-48-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> References: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> Cc: Kefeng Wang Subject: [Linaro-uefi] [Patch v4 47/56] 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 Review-by: Graeme Gregory Reviewed-by: Leif Lindholm --- 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