aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/ldt.c
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-11-23 18:30:32 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2009-11-27 14:16:18 +0100
commit6de8ad9b9ee0ec5b52ec8ec41401833e5e89186f (patch)
tree769a99c63c1c6cb72cf326dccecb51efae178868 /arch/x86/kernel/ldt.c
parent0518a3a4585cb3eeeaf14ca57131f11d252130c6 (diff)
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 <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/kernel/ldt.c')
0 files changed, 0 insertions, 0 deletions