]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/dmar.h
VT-d: parse ATSR in DMA Remapping Reporting Structure
[karo-tx-linux.git] / include / linux / dmar.h
index e397dc342cdaf1eaf99b022b4523f858d9f3e886..7c9a207e5da64aaf7094b5e52bc5059b75561049 100644 (file)
@@ -185,6 +185,15 @@ struct dmar_rmrr_unit {
 
 #define for_each_rmrr_units(rmrr) \
        list_for_each_entry(rmrr, &dmar_rmrr_units, list)
+
+struct dmar_atsr_unit {
+       struct list_head list;          /* list of ATSR units */
+       struct acpi_dmar_header *hdr;   /* ACPI header */
+       struct pci_dev **devices;       /* target devices */
+       int devices_cnt;                /* target device count */
+       u8 include_all:1;               /* include all ports */
+};
+
 /* Intel DMAR  initialization functions */
 extern int intel_iommu_init(void);
 #else