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-devel

Re: [Xen-devel] Using arch/x86_64/pci-dma in x86_64 Xen

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Subject: Re: [Xen-devel] Using arch/x86_64/pci-dma in x86_64 Xen
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Sun, 7 May 2006 15:19:51 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 07 May 2006 05:20:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <84EA05E2CA77634C82730353CBE3A84303218C70@xxxxxxxxxxxxxxxxx>
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: <84EA05E2CA77634C82730353CBE3A84303218C70@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Thu, May 04, 2006 at 09:57:35AM -0500, Langsdorf, Mark wrote:

> The current implementation of pci-dma in x86_64 Xen
> Linux is to use the i386 implementation.  I don't
> believe this is sustainable in the long term, as
> x86_64 Xen is going to need more DMA solutions than
> just SWIOTLB and plain hardware as various IOMMU 
> implementations arrive.

100% agreed.

> The mainstream kernel has a clean abstraction layer
> with the dma_ops that should be portable to Xen dom0
> and domU.  I've started implementing this in a
> pci-dma-xen for x86_64 Xen Linux.  Am I stepping on 
> anyone's toes or is there anyone I should be 
> co-ordinating this with?

Please keep Jon and me in the loop, we added the dma_ops to the main
kernel for the Calgary IOMMU but haven't got around to porting the
various Xen dma ops to it.

Also, I believe Christian had some thoughts about the direction going
forward for the Xen specific dma ops?

Cheers,
Muli

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