Like root, context and DMA remap page table, interrupt remap table
also needs CLFLUSH after any update.
Signed-off-by: Weidong Han <weidong.han@intel.com>
}
memcpy(iremap_entry, &new_ire, sizeof(struct iremap_entry));
+ iommu_flush_cache_entry(iremap_entry);
iommu_flush_iec_index(iommu, 0, index);
invalidate_sync(iommu);
remap_rte->data = 0;
memcpy(iremap_entry, &new_ire, sizeof(struct iremap_entry));
+ iommu_flush_cache_entry(iremap_entry);
iommu_flush_iec_index(iommu, 0, index);
invalidate_sync(iommu);