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] [PATCH] Use lib/swiotlb code for x86_64 SWIOTLB

To: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Use lib/swiotlb code for x86_64 SWIOTLB
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 00:00:20 +0000
Cc: Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Thu, 15 Feb 2007 15:59:46 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1449F58C868D8D4E9C72945771150BDFD9660C@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdRVOdIB72F2d45QYmiyQMiBGhptwACItXc
Thread-topic: [Xen-devel] [PATCH] Use lib/swiotlb code for x86_64 SWIOTLB
User-agent: Microsoft-Entourage/11.3.3.061214
On 15/2/07 22:59, "Langsdorf, Mark" <mark.langsdorf@xxxxxxx> wrote:

> As part of my efforts to enable GART/IOMMU on x86_64,
> I switch from using arch/i386/swiotlb-xen.c for the
> SWIOTLB implementation to lib/swiotlb-xen.c for x86_64
> processors.
> 
> After this patch is accepted, I'll submit the patch to
> enable the GART/IOMMU.
> 
> Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>

Jan has been through the swiotlb code recently so may have an opinion on
this patch. Using the common swiotlb code (as far as possible) for x86/64
may make sense -- many of the nasty differences in our own swiotlb
implementation are to deal with CONFIG_HIGHMEM which does not exist on
x86/64.

 -- Keir



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