[Linaro-uefi,linaro-uefi,v7,38/38] Hisilicon/D05: update distance of Slit table

Message ID 1481111375-71058-39-git-send-email-heyi.guo@linaro.org
State New
Headers show

Commit Message

Heyi Guo Dec. 7, 2016, 11:49 a.m.
D05 platform numa nodes distance:

--------------        --------------
|Node1--Node0|<------>|Node2--Node3|
--------------        --------------
    cluster0              cluster1

Each cluster has two nodes, we treat that the node0
and node1 have the same distance to Node2 and node3,
on the other hand, the node2 and node3 have the same
distance to node0 and node1.
The default distance of Slit table is wrong, correct it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chenhui Sun <sunchenhui@huawei.com>
Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>
---
 Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Leif Lindholm Dec. 7, 2016, 1:22 p.m. | #1
On Wed, Dec 07, 2016 at 07:49:35PM +0800, Heyi Guo wrote:
> D05 platform numa nodes distance:
> 
> --------------        --------------
> |Node1--Node0|<------>|Node2--Node3|
> --------------        --------------
>     cluster0              cluster1
> 
> Each cluster has two nodes, we treat that the node0
> and node1 have the same distance to Node2 and node3,
> on the other hand, the node2 and node3 have the same
> distance to node0 and node1.
> The default distance of Slit table is wrong, correct it.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chenhui Sun <sunchenhui@huawei.com>
> Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org>

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

> ---
>  Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
> index ea93504..89cc4a9 100644
> --- a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
> +++ b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
> @@ -51,10 +51,10 @@ EFI_ACPI_6_0_SYSTEM_LOCALITY_INFORMATION_TABLE Slit = {
>      EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT,
>    },
>    {
> -    {{0x0A, 0x10, 0x20, 0x21}}, //Locality   0
> -    {{0x10, 0x0A, 0x19, 0x20}}, //Locality   1
> -    {{0x20, 0x19, 0x0A, 0x10}}, //Locality   2
> -    {{0x21, 0x20, 0x10, 0x0A}}, //Locality   3
> +    {{0x0A, 0x0F, 0x14, 0x14}}, //Locality   0
> +    {{0x0F, 0x0A, 0x14, 0x14}}, //Locality   1
> +    {{0x14, 0x14, 0x0A, 0x0F}}, //Locality   2
> +    {{0x14, 0x14, 0x0F, 0x0A}}, //Locality   3
>    },
>  };
>  
> -- 
> 1.9.1
>

Patch hide | download patch | download mbox

diff --git a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
index ea93504..89cc4a9 100644
--- a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
+++ b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Slit.aslc
@@ -51,10 +51,10 @@  EFI_ACPI_6_0_SYSTEM_LOCALITY_INFORMATION_TABLE Slit = {
     EFI_ACPI_SYSTEM_LOCALITIES_ENTRY_COUNT,
   },
   {
-    {{0x0A, 0x10, 0x20, 0x21}}, //Locality   0
-    {{0x10, 0x0A, 0x19, 0x20}}, //Locality   1
-    {{0x20, 0x19, 0x0A, 0x10}}, //Locality   2
-    {{0x21, 0x20, 0x10, 0x0A}}, //Locality   3
+    {{0x0A, 0x0F, 0x14, 0x14}}, //Locality   0
+    {{0x0F, 0x0A, 0x14, 0x14}}, //Locality   1
+    {{0x14, 0x14, 0x0A, 0x0F}}, //Locality   2
+    {{0x14, 0x14, 0x0F, 0x0A}}, //Locality   3
   },
 };