Skip to content

Commit 5579649

Browse files
ilkka-koskinenrafaeljw
authored andcommitted
ACPICA: iASL: Add suppport for AGDI table
ACPICA commit cf36a6d658ca5aa8c329c2edfc3322c095ffd844 Add support for Arm Generic Diagnostic Dump and Reset Interface, which is described by "ACPI for Arm Components 1.1 Platform Design Document" ARM DEN0093. Add the necessary types in the ACPICA header files and support for compiling and decompiling the table. Link: acpica/acpica@cf36a6d6 Signed-off-by: Ilkka Koskinen <ilkka@os.amperecomputing.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 2de6bb9 commit 5579649

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

include/acpi/actbl2.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* file. Useful because they make it more difficult to inadvertently type in
2525
* the wrong signature.
2626
*/
27+
#define ACPI_SIG_AGDI "AGDI" /* Arm Generic Diagnostic Dump and Reset Device Interface */
2728
#define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */
2829
#define ACPI_SIG_IORT "IORT" /* IO Remapping Table */
2930
#define ACPI_SIG_IVRS "IVRS" /* I/O Virtualization Reporting Structure */
@@ -238,6 +239,25 @@ typedef struct acpi_aest_node_interrupt {
238239
#define ACPI_AEST_NODE_ERROR_RECOVERY 1
239240
#define ACPI_AEST_XRUPT_RESERVED 2 /* 2 and above are reserved */
240241

242+
/*******************************************************************************
243+
* AGDI - Arm Generic Diagnostic Dump and Reset Device Interface
244+
*
245+
* Conforms to "ACPI for Arm Components 1.1, Platform Design Document"
246+
* ARM DEN0093 v1.1
247+
*
248+
******************************************************************************/
249+
struct acpi_table_agdi {
250+
struct acpi_table_header header; /* Common ACPI table header */
251+
u8 flags;
252+
u8 reserved[3];
253+
u32 sdei_event;
254+
u32 gsiv;
255+
};
256+
257+
/* Mask for Flags field above */
258+
259+
#define ACPI_AGDI_SIGNALING_MODE (1)
260+
241261
/*******************************************************************************
242262
*
243263
* BDAT - BIOS Data ACPI Table

0 commit comments

Comments
 (0)