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

Re: [Xen-devel] Reversing the DMA handle

To: Pete Zaitcev <zaitcev@xxxxxxxxxx>
Subject: Re: [Xen-devel] Reversing the DMA handle
From: Muli Ben-Yehuda <muli@xxxxxxxxxx>
Date: Wed, 10 Jan 2007 05:25:08 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Jan 2007 19:24:51 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070109171710.b4cf6ec6.zaitcev@xxxxxxxxxx>
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>
References: <20070109171710.b4cf6ec6.zaitcev@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Tue, Jan 09, 2007 at 05:17:10PM -0800, Pete Zaitcev wrote:
> Dear Xen developers:
> 
> I maintain a component in Linux kernel, called usbmon. It provides for
> snooping of USB traffic, analoguously to tcpdump. Due to pequliarities
> of USB API in Linux, usbmon has to take a DMA address (coming from
> dma_alloc_coherent() typically), find the corresponding PFN and call
> pkmap()/memcpy()/pkunmap().

Hi Pete, 

Regardless of Xen, how is this supposed to work in the presence of
IOMMUs?

Cheers,
Muli

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

<Prev in Thread] Current Thread [Next in Thread>