diff mbox

[Linaro-uefi,v4,47/56] D02/D03/ACPI: Fix wrong GTDT length

Message ID 1479544691-59575-48-git-send-email-heyi.guo@linaro.org
State Superseded
Headers show

Commit Message

gary guo Nov. 19, 2016, 8:38 a.m. UTC
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 <wangkefeng.wang@huawei.com>
Review-by: Graeme Gregory <graeme.gregory@linaro.org>
---
 Chips/Hisilicon/Hi1610/Hi1610AcpiTables/Gtdt.aslc | 2 +-
 Chips/Hisilicon/Pv660/Pv660AcpiTables/Gtdt.aslc   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Leif Lindholm Nov. 29, 2016, 7:12 p.m. UTC | #1
On Sat, Nov 19, 2016 at 04:38:02PM +0800, Heyi Guo wrote:
> 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 <wangkefeng.wang@huawei.com>
> Review-by: Graeme Gregory <graeme.gregory@linaro.org>

Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

> ---
>  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
> -- 
> 1.9.1
>
diff mbox

Patch

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