From: Joerg Roedel Date: Mon, 23 Nov 2009 17:30:32 +0000 (+0100) Subject: x86/amd-iommu: Make iommu_flush_pages aware of multiple IOMMUs X-Git-Tag: v2.6.33-rc1~409^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de8ad9b9ee0ec5b52ec8ec41401833e5e89186f;p=pandora-kernel.git x86/amd-iommu: Make iommu_flush_pages aware of multiple IOMMUs This patch extends the iommu_flush_pages function to flush the TLB entries on all IOMMUs the domain has devices on. This basically gives up the former assumption that dma_ops domains are only bound to one IOMMU in the system. For dma_ops domains this is still true but not for IOMMU-API managed domains. Giving this assumption up for dma_ops domains too allows code simplification. Further it splits out the main logic into a generic function which can be used by iommu_flush_tlb too. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed