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/
Home Products Support Community News


Re: [Xen-devel] swiotlb and Xen query?

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] swiotlb and Xen query?
From: "pradeep singh rautela" <rautelap@xxxxxxxxx>
Date: Thu, 3 May 2007 14:54:55 +0530
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 03 May 2007 02:23:26 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=axsdfKXO7TvUmBeS0uNbKnAbysx2+8tbBHLa3F3ZlCiMvVNRI3evRE+CtnYskaHQpbzDOVlVwQnz2gB8aNh/hYZFPiz/69wOVwsmJvu481RGWROz6Qtk6poPphDqrNJ3sf93jOIXeFvLiIaqib9qNz5uRz/08+TrUH4aZmWbzvs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=RCwymKjd1pME1KRvjnTB+fCN9olc6gFdR4CaJdy1gSfZhnELAW5jbMjj8T8o7lUxOtc1ePW60xmelxXMhTZyitHBUkyLkg7OrhBaGeZ/nYGpLBs735lUYHBY44X9T+6/nU/kZijn22EAWS/kO24/fK0RZBkHox1KDWrE5LDEYmE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1CAF@xxxxxxxxxxxxxxxxx>
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: <6bc632150705022141g28129200kf000cccb9d105551@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1CAF@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 5/3/07, Petersson, Mats <Mats.Petersson@xxxxxxx> wrote:
> 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.

Ok.Got this correct.
I am sure this can cause problems while migrating live domains across cpus.

Thank you

> Thank you once again for the patience.
> Regards
> ~psr

pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)
Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>