iommu/vt-d: Add ACPI namespace device reporting structures
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 7 Mar 2014 12:43:40 +0000 (12:43 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 20 Mar 2014 14:25:06 +0000 (14:25 +0000)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
include/acpi/actbl2.h

index 094a906a0e98320747042890dcc98eb4dbf470d0..da5b057d775de6f748cbb1c569da0ff8fc54bd6a 100644 (file)
@@ -424,7 +424,8 @@ enum acpi_dmar_type {
        ACPI_DMAR_TYPE_RESERVED_MEMORY = 1,
        ACPI_DMAR_TYPE_ATSR = 2,
        ACPI_DMAR_HARDWARE_AFFINITY = 3,
-       ACPI_DMAR_TYPE_RESERVED = 4     /* 4 and greater are reserved */
+       ACPI_DMAR_TYPE_ANDD = 4,
+       ACPI_DMAR_TYPE_RESERVED = 5     /* 5 and greater are reserved */
 };
 
 /* DMAR Device Scope structure */
@@ -445,7 +446,8 @@ enum acpi_dmar_scope_type {
        ACPI_DMAR_SCOPE_TYPE_BRIDGE = 2,
        ACPI_DMAR_SCOPE_TYPE_IOAPIC = 3,
        ACPI_DMAR_SCOPE_TYPE_HPET = 4,
-       ACPI_DMAR_SCOPE_TYPE_RESERVED = 5       /* 5 and greater are reserved */
+       ACPI_DMAR_SCOPE_TYPE_ACPI = 5,
+       ACPI_DMAR_SCOPE_TYPE_RESERVED = 6       /* 6 and greater are reserved */
 };
 
 struct acpi_dmar_pci_path {
@@ -507,6 +509,15 @@ struct acpi_dmar_rhsa {
        u32 proximity_domain;
 };
 
+/* 4: ACPI Namespace Device Declaration Structure */
+
+struct acpi_dmar_andd {
+       struct acpi_dmar_header header;
+       u8 reserved[3];
+       u8 device_number;
+       u8 object_name[];
+};
+
 /*******************************************************************************
  *
  * HPET - High Precision Event Timer table