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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH][retry 2] Make x86_64 swiotlb code to support dma_ops [2/2]
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
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: 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
<Prev in Thread] Current Thread [Next in Thread>