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

[Xen-devel] [PATCH][retry 2] Make x86_64 swiotlb code to support dma_ops [2/2]


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Langsdorf, Mark" <mark.langsdorf@xxxxxxx>
  • Date: Thu, 1 Mar 2007 13:17:13 -0600
  • Delivery-date: Thu, 01 Mar 2007 11:16:34 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdcNjgndCD4/1EDQT2bCTCTlQdhQw==
  • Thread-topic: [PATCH][retry 2] Make x86_64 swiotlb code to support dma_ops [2/2]

As per Keir's and Jan's suggestions, I'm simplifying 
my approach to getting GART into the kernel.  This 
patch set makes the x86_64 swiotlb code work with 
dma_ops.

The first patch creates the 
arch/x86_64/kernel/pci-dma-xen.c file based on the 
standard pci-dma.c.

The second patch modifies 
arch/x86_64/kernel/pci-swiotlb-xen.c to work with 
dma_ops, and modifies arch/x86_64/kernel/pci-dma-xen.c
slightly to be Xen-safe by copying over some functions
from arch/i386/kernel/pci-dma-xen.c

Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxx>

-Mark Langsdorf
AMD, Inc.

Attachment: make-pci-dma-xen-work.patch
Description: make-pci-dma-xen-work.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®.