aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangyue <wangyue41@huawei.com>2017-03-18 09:04:14 +0800
committerLeif Lindholm <leif.lindholm@linaro.org>2017-04-06 17:48:38 +0100
commitfd643be50127b3fbd25c993a25895b3ca47eb9d7 (patch)
treeebf62aff94cd3cd410a6d5fad1b4e1eccb9dd8b2
parente7a4e2ce4dfcf63dcabc8b859c78409e707f60aa (diff)
Hisilicon/D05: Fix IORT test issue in luvOS test
CLuvos test report: "FAILED [HIGH] IORTMemAttrInvalid: Test 1, IORT PCI Root Complex Node Memory Attributes are illegal, CCA cannot be 1 if CPM is 0." Reference to 《DEN0049B_IO_Remapping_Table》 3.1.1.4 Table13 and Table14: “Note that if CCA is 0x1, CPM must also be 0x1. Conversely, If CPM is 0x0 then CCA must be 0x0.” Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Heyi Guo <heyi.guo@linaro.org> Signed-off-by: Yi Li <phoenix.liyi@huawei.com> Signed-off-by: Chenhui Sun <chenhui.sun@linaro.com> Reviewed-by: Graeme Gregory <graeme.gregory@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rw-r--r--Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl32
1 files changed, 16 insertions, 16 deletions
diff --git a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl
index 61a3c33..50ccac1 100644
--- a/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl
+++ b/Chips/Hisilicon/Hi1616/D05AcpiTables/D05Iort.asl
@@ -406,8 +406,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 00000002
@@ -434,8 +434,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 00000004
@@ -463,8 +463,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 00000005
@@ -492,8 +492,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 00000006
@@ -520,8 +520,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 00000007
@@ -548,8 +548,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 0000000a
@@ -577,8 +577,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 0000000c
@@ -606,8 +606,8 @@
Read Allocate : 0
Override : 0
[0002] Reserved : 0000
-[0001] Memory Flags (decoded below) : 00
- Coherency : 0
+[0001] Memory Flags (decoded below) : 01
+ Coherency : 1
Device Attribute : 0
[0004] ATS Attribute : 00000000
[0004] PCI Segment Number : 0000000d