Re: [PATCH]intel-iommu batched iotlb flushes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Muli Ben-Yehuda
Date: Tuesday, February 12, 2008 - 1:52 am

On Mon, Feb 11, 2008 at 02:41:05PM -0800, mark gross wrote:


While I don't disagree with this patch in principle (Calgary does the
same thing due to expensive IOTLB flushes) the right way to fix it
IMHO is to fix the drivers to batch mapping and unmapping operations
or map up-front and unmap when done. The streaming DMA-API was
designed to conserve IOMMU mappings for machines where IOMMU mappings
are a scarce resource, and is a poor fit for a modern IOMMU such as
VT-d with a 64-bit IO address space (or even an IOMMU with a 32-bit
address space such as Calgary) where there are plenty of IOMMU
mappings available.

Cheers,
Muli
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH]intel-iommu batched iotlb flushes, mark gross, (Mon Feb 11, 3:41 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Mon Feb 11, 4:27 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 1:52 am)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 2:00 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Muli Ben-Yehuda, (Tue Feb 12, 2:07 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 8:37 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 8:54 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 9:05 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 9:34 am)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Tue Feb 12, 12:55 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Tue Feb 12, 1:21 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, David Miller, (Tue Feb 12, 4:46 pm)
Re: [PATCH]intel-iommu batched iotlb flushes, mark gross, (Wed Feb 13, 11:10 am)
Re: [PATCH]intel-iommu batched iotlb flushes, Randy Dunlap, (Wed Feb 13, 11:23 am)