[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] retry 3: use i386 swiotlb code in lib/swiotlb-xen.c [1/2]


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
  • Date: Mon, 26 Feb 2007 14:36:44 -0600
  • Delivery-date: Mon, 26 Feb 2007 12:36:29 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdZ5dRU16CNZFklTPq7xqw6EhYKjg==
  • Thread-topic: [PATCH] retry 3: use i386 swiotlb code in lib/swiotlb-xen.c [1/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.

-Mark Langsdorf
AMD, Inc.

Attachment: move-i386-swiotlb-to-lib.patch
Description: move-i386-swiotlb-to-lib.patch

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.