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] swiotlb and Xen query?

To: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Subject: RE: [Xen-devel] swiotlb and Xen query?
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 3 May 2007 11:19:10 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 May 2007 02:18:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6bc632150705022141g28129200kf000cccb9d105551@xxxxxxxxxxxxxx>
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: AceNPVbMSVqCCG7GSZWvraYZz+4eugAJoWDQ
Thread-topic: [Xen-devel] swiotlb and Xen query?
[snip]
> 
> 
> That was really very informative Mats.
> Thanks you very much for the help.
> So, i guess swiotlb comes into picture only if there is a DMA 
> transfer from a domU whose p2m mapping turns out to be above 
> the 4GB( assuming device to be 32 bit) of the machine memory. 
> Other wise just normal p2m mapping is enough to find the 
> actual machine address, which can be handed over to the 
> device for DMAing. Am i right? 

Yes, that's pretty much how it works. In theory, it could be that
devices only work on a 31, 28 or some other number of bit-range, but
yes, that's the principle. 

--
Mats
> 
> Thank you once again for the patience. 
> 
> Regards
> ~psr
> 
[snip]



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

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