diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2008-07-10 14:16:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-12 02:44:52 -0400 |
commit | fe962e90cb17a8426e144dee970e77ed789d98ee (patch) | |
tree | c7b3343df9bf58e047333758a89c78f6615fb97b /drivers/pci/intel-iommu.c | |
parent | cf1337f0447e5be8e66daa944f0ea3bcac2b6179 (diff) |
x64, x2apic/intr-remap: Queued invalidation infrastructure (part of VT-d)
Queued invalidation (part of Intel Virtualization Technology for
Directed I/O architecture) infrastructure.
This will be used for invalidating the interrupt entry cache in the
case of Interrupt-remapping and IOTLB invalidation in the case
of DMA-remapping.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: akpm@linux-foundation.org
Cc: arjan@linux.intel.com
Cc: andi@firstfloor.org
Cc: ebiederm@xmission.com
Cc: jbarnes@virtuousgeek.org
Cc: steiner@sgi.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-rw-r--r-- | drivers/pci/intel-iommu.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index fb701d9dd8c0..347bf2e47168 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -181,13 +181,6 @@ void free_iova_mem(struct iova *iova) | |||
181 | kmem_cache_free(iommu_iova_cache, iova); | 181 | kmem_cache_free(iommu_iova_cache, iova); |
182 | } | 182 | } |
183 | 183 | ||
184 | static inline void __iommu_flush_cache( | ||
185 | struct intel_iommu *iommu, void *addr, int size) | ||
186 | { | ||
187 | if (!ecap_coherent(iommu->ecap)) | ||
188 | clflush_cache_range(addr, size); | ||
189 | } | ||
190 | |||
191 | /* Gets context entry for a given bus and devfn */ | 184 | /* Gets context entry for a given bus and devfn */ |
192 | static struct context_entry * device_to_context_entry(struct intel_iommu *iommu, | 185 | static struct context_entry * device_to_context_entry(struct intel_iommu *iommu, |
193 | u8 bus, u8 devfn) | 186 | u8 bus, u8 devfn) |