diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-06-23 11:14:24 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-06-23 11:14:24 +0100 |
commit | bd24e968e730d32637236aa01e88af834a169ff4 (patch) | |
tree | aa5cac0b6ec1d9af87b7dbccb6427a67bf6c39d0 /xen/include/xen/acpi.h | |
parent | 717626c9a57d0625306abf65b2d50bbd1eae273e (diff) | |
download | xen-bd24e968e730d32637236aa01e88af834a169ff4.tar.gz xen-bd24e968e730d32637236aa01e88af834a169ff4.tar.bz2 xen-bd24e968e730d32637236aa01e88af834a169ff4.zip |
vtd: IO NUMA support
This patch adds VT-d RHSA processing for IO NUMA support. The basic
idea is to parse ACPI RHSA structure to obtain VT-d HW to proximity
domain mapping. This mapping is then used when allocating pages for
Vt-d HW data structures.
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Diffstat (limited to 'xen/include/xen/acpi.h')
-rw-r--r-- | xen/include/xen/acpi.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/include/xen/acpi.h b/xen/include/xen/acpi.h index fc1f8317bb..1023d8106d 100644 --- a/xen/include/xen/acpi.h +++ b/xen/include/xen/acpi.h @@ -197,6 +197,7 @@ enum acpi_dmar_entry_type { ACPI_DMAR_DRHD = 0, ACPI_DMAR_RMRR, ACPI_DMAR_ATSR, + ACPI_DMAR_RHSA, ACPI_DMAR_ENTRY_COUNT }; @@ -224,6 +225,12 @@ struct acpi_table_atsr { u16 segment; } __attribute__ ((packed)); +struct acpi_table_rhsa { + struct acpi_dmar_entry_header header; + u32 domain; + u64 address; /* register base address for this drhd */ +} __attribute__ ((packed)); + enum acpi_dev_scope_type { ACPI_DEV_ENDPOINT=0x01, /* PCI Endpoing device */ ACPI_DEV_P2PBRIDGE, /* PCI-PCI Bridge */ |