iommu/vt-d: Support enforce_cache_coherency only for empty domains
[platform/kernel/linux-rpi.git] / drivers / iommu / intel / iommu.h
index 7dac94f..e6a3e70 100644 (file)
@@ -592,6 +592,9 @@ struct dmar_domain {
                                         * otherwise, goes through the second
                                         * level.
                                         */
+       u8 has_mappings:1;              /* Has mappings configured through
+                                        * iommu_map() interface.
+                                        */
 
        spinlock_t lock;                /* Protect device tracking lists */
        struct list_head devices;       /* all devices' list */