WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-devel] VP problematic for backend drivers on IA64?

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-devel] VP problematic for backend drivers on IA64?
From: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Date: Wed, 25 Jan 2006 02:16:33 +0200
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, okrieg@xxxxxxxxxx
Delivery-date: Wed, 25 Jan 2006 00:24:58 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD59038A7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD59038A7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Jan 24, 2006 at 04:02:36PM -0800, Magenheimer, Dan (HP Labs Fort 
Collins) wrote:

> Actually, after thinking about this, it's a bit
> more complicated because of the possibility that a DMA may
> address more than one page.  If so, a simple DMA may need to be
> translated into a scatter-gather (or a scatter-gather into
> a more complex scatter-gather).
> 
> Not impossible, obviously because Xen/x86 handles this -- by
> changing Linux, correct?

Correct. Specifically, it's handled by Xen's version of swiotlb.c.

> Do hardware IOMMU's in general handle this complication?

Yes. You can use a HW IOMMU to map a scatter-gather list of machine
pages into a contigous range in the IO space. It can also do the
reverse, but that's less interesting.

> E.g. is there a cleanly defined interface that can be applied
> to a VP domain "Xen IOMMU"?

I'm not sure what you're asking here?

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>