Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

[Xen-devel] [PATCH] Retry 3: Use i386 swiotlb code in lib/swiotlb-xen.c

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Retry 3: Use i386 swiotlb code in lib/swiotlb-xen.c [2/2]
From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
Date: Mon, 26 Feb 2007 14:37:15 -0600
Delivery-date: Mon, 26 Feb 2007 12:37:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcdZ5eZzTTMEhQ9CSpeRWEMNXGR7Dg==
Thread-topic: [PATCH] Retry 3: Use i386 swiotlb code in lib/swiotlb-xen.c [2/2]
Move the arch/i386/kernel/swiotlb.c code to lib/swiotlb-xen.c
code in order to simplify maintenance of Xen in the future.

The first patch simply moves the code to lib/swiotlb-xen.c;
the second patch adds the necessary changes to the Xen code
base to allow x86_64 systems to boot with SWIOTLB and the
dma_ops framework.

The first patch also copies the standard 
arch/x86_64/kernel/pci-dma.c to arch/x86_64/kernel/pci-dma-xen.c,
which should make reviewing the second patch a little easier.

Attachment: merge-swiotlb-for-xen.patch
Description: merge-swiotlb-for-xen.patch

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