On Wed, 15 Feb 2006 19:07:15 -0800
Chris Wright <chrisw@xxxxxxxxxxxx> wrote:
>
> --- linux-2.6.16-rc2/include/asm-x86_64/swiotlb.h 2006-02-15
> 21:42:24.000000000 -0500
> +++ linux-2.6.16-rc2-xen0/include/asm-x86_64/swiotlb.h 2006-02-15
> 21:19:15.000000000 -0500
> @@ -38,6 +38,11 @@
> extern void swiotlb_unmap_sg(struct device *hwdev, struct scatterlist *sg,
> int nents, int direction);
> extern int swiotlb_dma_mapping_error(dma_addr_t dma_addr);
> +extern dma_addr_t swiotlb_map_page(struct device *hwdev, struct page *page,
> + unsigned long offset, size_t size,
> + enum dma_data_direction direction);
> +extern void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dma_address,
> + size_t size, enum dma_data_direction
> direction);
> extern void swiotlb_free_coherent (struct device *hwdev, size_t size,
> void *vaddr, dma_addr_t dma_handle);
> extern int swiotlb_dma_supported(struct device *hwdev, u64 mask);
The patch fixes the problem of the tx hang and it also fixes another
problem on my box. With the xen unstable (changeset 8833), I couldn't
open a ssh connection on the domain 0 until I ran the xend daemon (I
don't know why running the xend daemon allows the connection). With the
patch, I can open a ssh connection as soon as the ssh daemon is running
on domain0.
Just a remark, if I enable PAE, it doesn't solve the problem of the tx
hang on my computer which is an Intel Xeon (1 CPU) with hyper-threading
enabled. I'm using a debian distribution.
thanks,
Guillaume
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|