summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@arm.com>2018-12-28 17:23:47 +0530
committerThomas Abraham <thomas.abraham@arm.com>2020-04-15 21:22:49 +0530
commit7bda51fff7cc5c33f525c5cd461c625750e179ae (patch)
treebdf329e83d2aa44ca9235354fe75657268dc9b37
parent402eb98cad232b8e5c1ad179e93ddc775e684503 (diff)
Sgi575: AcpiTables: Add HEST and SDEI acpi tables
Add HEST and a barebones SDEI table. The HEST table is populated with two error sources for DMC errors and includes GHESv2 for each error source. Change-Id: Icbb0a5b78d436c24687bfb0f0be03416d929e71b Signed-off-by: Daniil Egranov <daniil.egranov@arm.com> Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
-rw-r--r--Platform/ARM/SgiPkg/AcpiTables/HestGhesV2.asl95
-rw-r--r--Platform/ARM/SgiPkg/AcpiTables/Sdei.asl18
-rw-r--r--Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf2
3 files changed, 115 insertions, 0 deletions
diff --git a/Platform/ARM/SgiPkg/AcpiTables/HestGhesV2.asl b/Platform/ARM/SgiPkg/AcpiTables/HestGhesV2.asl
new file mode 100644
index 00000000..19615f8e
--- /dev/null
+++ b/Platform/ARM/SgiPkg/AcpiTables/HestGhesV2.asl
@@ -0,0 +1,95 @@
+/*
+ * Intel ACPI Component Architecture
+ * iASL Compiler/Disassembler version 20180508
+ * Copyright (c) 2000 - 2018 Intel Corporation
+ *
+ * Template for [HEST] ACPI Table (static data table)
+ * Format: [ByteLength] FieldName : HexFieldValue
+ */
+[0004] Signature : "HEST" [Hardware Error Source Table]
+[0004] Table Length : 00000000
+[0001] Revision : 01
+[0001] Checksum : 00
+[0006] Oem ID : "ARM "
+[0008] Oem Table ID : "TEMPLATE"
+[0004] Oem Revision : 00000001
+[0004] Asl Compiler ID : "INTL"
+[0004] Asl Compiler Revision : 20180508
+
+[0004] Error Source Count : 00000002
+
+[0002] Subtable Type : 000A [Generic Hardware Error Source]
+[0002] Source Id : 0001
+[0002] Related Source Id : FFFF
+[0001] Reserved : 00
+[0001] Enabled : 01
+[0004] Records To Preallocate : 00000001
+[0004] Max Sections Per Record : 00000001
+[0004] Max Raw Data Length : 00001000
+
+[0012] Error Status Address : [Generic Address Structure]
+[0001] Space ID : 00 [SystemMemory]
+[0001] Bit Width : 40
+[0001] Bit Offset : 00
+[0001] Encoded Access Width : 04 [QWord Access:64]
+[0008] Address : 0000000000000000
+
+[0028] Notify : [Hardware Error Notification Structure]
+[0001] Notify Type : 0b [SDEI]
+[0001] Notify Length : 1C
+[0002] Configuration Write Enable : 0000
+[0004] PollInterval : 00000000
+[0004] Vector : 00000324
+[0004] Polling Threshold Value : 00000000
+[0004] Polling Threshold Window : 00000000
+[0004] Error Threshold Value : 00000000
+[0004] Error Threshold Window : 00000000
+[0004] Error Status Block Length : 00001000
+
+[0012] Read Ack Register: [Generic Address Structure v2]
+[0001] Space ID : 00 [SystemMemory]
+[0001] Bit Width : 40
+[0001] Bit Offset : 00
+[0001] Encoded Access Width : 04 [QWord Access:64]
+[0008] Address : 0000000000000000
+
+[0008] Read Ack Preserve: 00000000
+[0008] Read Ack Write: 00000000
+
+[0002] Subtable Type : 000A [Generic Hardware Error Source]
+[0002] Source Id : 0002
+[0002] Related Source Id : FFFF
+[0001] Reserved : 00
+[0001] Enabled : 01
+[0004] Records To Preallocate : 00000001
+[0004] Max Sections Per Record : 00000001
+[0004] Max Raw Data Length : 00001000
+
+[0012] Error Status Address : [Generic Address Structure]
+[0001] Space ID : 00 [SystemMemory]
+[0001] Bit Width : 40
+[0001] Bit Offset : 00
+[0001] Encoded Access Width : 04 [QWord Access:64]
+[0008] Address : 0000000000000000
+
+[0028] Notify : [Hardware Error Notification Structure]
+[0001] Notify Type : 0b [SDEI]
+[0001] Notify Length : 1C
+[0002] Configuration Write Enable : 0000
+[0004] PollInterval : 00000000
+[0004] Vector : 00000325
+[0004] Polling Threshold Value : 00000000
+[0004] Polling Threshold Window : 00000000
+[0004] Error Threshold Value : 00000000
+[0004] Error Threshold Window : 00000000
+[0004] Error Status Block Length : 00001000
+
+[0012] Read Ack Register: [Generic Address Structure v2]
+[0001] Space ID : 00 [SystemMemory]
+[0001] Bit Width : 40
+[0001] Bit Offset : 00
+[0001] Encoded Access Width : 04 [QWord Access:64]
+[0008] Address : 0000000000000000
+
+[0008] Read Ack Preserve: 00000000
+[0008] Read Ack Write: 00000000
diff --git a/Platform/ARM/SgiPkg/AcpiTables/Sdei.asl b/Platform/ARM/SgiPkg/AcpiTables/Sdei.asl
new file mode 100644
index 00000000..4a2683e1
--- /dev/null
+++ b/Platform/ARM/SgiPkg/AcpiTables/Sdei.asl
@@ -0,0 +1,18 @@
+/*
+ * Intel ACPI Component Architecture
+ * iASL Compiler/Disassembler version 20160930-64
+ * Copyright (c) 2000 - 2016 Intel Corporation
+ *
+ * Template for [SDEI] ACPI Table (static data table)
+ * Format: [ByteLength] FieldName : HexFieldValue
+ */
+[0004] Signature : "SDEI"
+[0004] Table Length : 0000003E
+[0001] Revision : 01
+[0001] Checksum : 59
+[0006] Oem ID : "ARM "
+[0008] Oem Table ID : "TEMPLATE"
+[0004] Oem Revision : 00000001
+[0004] Asl Compiler ID : "INTL"
+[0004] Asl Compiler Revision : 20160930
+
diff --git a/Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf b/Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf
index 466e0fb6..76a8b8e5 100644
--- a/Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf
+++ b/Platform/ARM/SgiPkg/AcpiTables/Sgi575AcpiTables.inf
@@ -18,8 +18,10 @@
Dbg2.aslc
Fadt.aslc
Gtdt.aslc
+ HestGhesV2.asl
Iort.aslc
Mcfg.aslc
+ Sdei.asl
Sgi575/Dsdt.asl
Sgi575/Madt.aslc
Spcr.aslc