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] feature suggestion: DMAR table emulation for Xen

To: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Subject: Re: [Xen-devel] feature suggestion: DMAR table emulation for Xen
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 11:22:58 +0200
Cc: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>
Delivery-date: Fri, 14 May 2010 02:21:08 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:cc:subject:references:in-reply-to:content-type; s=smtpout; bh=0ZRzJoni70AuX5BSyDMszV/sRKA=; b=BvK/pQTWrFCgtHRng7Ll/SWromkjYfHVrBTWmMZ1KZakBQGkVQgHbs+OXTZkNlQZsh88/GZ5hMvZAB5LwHp6Dvv0Z++eTHhpHuzBnIWlxlzTaD2qFPMkNkGU0VkMVN2nfe/vbhZ4BvcboJbY4A86gAYDZNpuzwdBEg6hi/fbG9Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <987664A83D2D224EAE907B061CE93D53C60548F1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BEC0928.8090604@xxxxxxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D53C60548F1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
On 05/14/2010 07:41 AM, Kay, Allen M wrote:
> Joanna,
> 
> RMRR memory ranges specified memory ranges that might be used for
> BIOS initiated DMA's for USB and integrated graphics devices.  These
> ranges are set by the BIOS.
> 
> Do they stay the same across different platforms?
> 

To be frank, those RMRR ranges have always been a bit of a mystery for
me. Do you actually know any OS drivers for USB devices that would
depend on them? Aren't they only used by the BIOS to implement various
dirty tricks they like to implement?

The Intel VT-d spec says that: "USB controllers and UMA integrated
graphics devices are the only legacy device usages identified
that depend on DMA to reserved system memory".

I think we can safely ignore the legacy integrated graphics devices,
because I would expect any VT-d enabled platform to have a modern
graphics device and modern OS drivers that works well with VT-d (you
even provide a dedicated DMA Remapping Unit for your integrated graphics
device, so I would expect it doesn't require any RMMR exceptions).

So USB devices seem to be the only potential problem. But USB devices
are implemented by the ICH, which in most cases is Intel ICH9, or 10.
So, if we took a DMAR from a platform, say PM45+ICH9M w/ Intel BIOS, it
should also work fine on any other laptop with this chipset (and
probably other variants too), just minus the potential
BIOS-specific-dirty-tricks...?

joanna.

Attachment: signature.asc
Description: OpenPGP digital signature

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