ACPICA: Add support for new SRAT subtable
authorBob Moore <robert.moore@intel.com>
Mon, 5 Jun 2017 08:38:47 +0000 (16:38 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 12:58:38 +0000 (14:58 +0200)
ACPICA commit 5bc67f63918da249bfe279ee461d152bb3e6f55b

GIC ITS Affinity (ACPI 6.2)

Link: https://github.com/acpica/acpica/commit/5bc67f63
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/actbl1.h

index 171fc51246fa1508fb0af76d7a97a07e2bc5eddc..6b8714a428b6d78832b2a876d62482de97c07ad5 100644 (file)
@@ -1406,7 +1406,8 @@ enum acpi_srat_type {
        ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1,
        ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,
        ACPI_SRAT_TYPE_GICC_AFFINITY = 3,
-       ACPI_SRAT_TYPE_RESERVED = 4     /* 4 and greater are reserved */
+       ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4,    /* ACPI 6.2 */
+       ACPI_SRAT_TYPE_RESERVED = 5     /* 5 and greater are reserved */
 };
 
 /*
@@ -1478,6 +1479,15 @@ struct acpi_srat_gicc_affinity {
 
 #define ACPI_SRAT_GICC_ENABLED     (1) /* 00: Use affinity structure */
 
+/* 4: GCC ITS Affinity (ACPI 6.2) */
+
+struct acpi_srat_gic_its_affinity {
+       struct acpi_subtable_header header;
+       u32 proximity_domain;
+       u16 reserved;
+       u32 its_id;
+};
+
 /* Reset to default packing */
 
 #pragma pack()