Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joerg Roedel
Date: Monday, September 29, 2008 - 6:33 am

On Mon, Sep 29, 2008 at 10:16:44PM +0900, FUJITA Tomonori wrote:

I don't think that we can avoid bounce buffering into the guests at all
(with and without my idea of a paravirtualized IOMMU) when we want to
handle dma_masks and requests that cross guest physical pages properly.

With mapping/unmapping through hypercalls we add the world-switch
overhead to the copy-overhead. We can't avoid this when we have no
hardware support at all. But already with older IOMMUs like Calgary and
GART we can at least avoid the world-switch. And since, for example,
every 64 bit capable AMD processor has a GART we can make use of it.

Joerg

-- 
           |           AMD Saxony Limited Liability Company & Co. KG
 Operating |         Wilschdorfer Landstr. 101, 01109 Dresden, Germany
 System    |                  Register Court Dresden: HRA 4896
 Research  |              General Partner authorized to represent:
 Center    |             AMD Saxony LLC (Wilmington, Delaware, US)
           | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/9][RFC] stackable dma_ops for x86, Joerg Roedel, (Mon Sep 22, 11:21 am)
[PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Joerg Roedel, (Mon Sep 22, 11:21 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Arjan van de Ven, (Mon Sep 22, 11:36 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Joerg Roedel, (Mon Sep 22, 11:39 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Jeremy Fitzhardinge, (Mon Sep 22, 7:41 pm)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Arjan van de Ven, (Mon Sep 22, 7:50 pm)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Muli Ben-Yehuda, (Fri Sep 26, 5:13 pm)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, FUJITA Tomonori, (Sun Sep 28, 7:21 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, FUJITA Tomonori, (Sun Sep 28, 7:21 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Joerg Roedel, (Sun Sep 28, 11:49 am)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Muli Ben-Yehuda, (Mon Sep 29, 2:25 am)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Muli Ben-Yehuda, (Mon Sep 29, 2:30 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, FUJITA Tomonori, (Mon Sep 29, 6:16 am)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, FUJITA Tomonori, (Mon Sep 29, 6:16 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Joerg Roedel, (Mon Sep 29, 6:26 am)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Joerg Roedel, (Mon Sep 29, 6:33 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, FUJITA Tomonori, (Mon Sep 29, 6:42 am)
Re: [PATCH 0/9][RFC] stackable dma_ops for x86, Joerg Roedel, (Mon Sep 29, 6:51 am)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Muli Ben-Yehuda, (Tue Sep 30, 12:44 pm)
Re: [PATCH 9/9] x86/iommu: use dma_ops_list in get_dma_ops, Muli Ben-Yehuda, (Fri Oct 3, 1:38 am)