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: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] feature suggestion: DMAR table emulation for Xen
From: Barde Kaushik 00901718 <kbarde@xxxxxxxxxx>
Date: Fri, 14 May 2010 02:41:07 -0700
Cc: "Han, Weidong" <weidong.han@xxxxxxxxx>, "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 May 2010 02:42:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BED1672.6000903@xxxxxxxxxxxxxxxxxxxxxx>
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>
Priority: normal
References: <4BEC0928.8090604@xxxxxxxxxxxxxxxxxxxxxx> <987664A83D2D224EAE907B061CE93D53C60548F1@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4BED1672.6000903@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
<< 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...?
>>

Bringing-up mobile variants with same base BIOS may not work, at least in my 
experience, as OEMs tend to add various custom features (GPIO). These features 
may to over-ride RMRR assumptions from base BIOS. This tends to be the most 
prominant cause behind RMRR issues.

-Kaushik



******************************************************************************************
 This email and its attachments contain confidential information from HUAWEI, 
which is intended only for the person or entity whose address is listed above. 
Any use of the information contained here in any way (including, but not 
limited to, total or partial disclosure, reproduction, or dissemination) by 
persons other than the intended recipient(s) is prohibited. If you receive this 
email in error, please notify the sender by phone or email immediately and 
delete it!
 
*****************************************************************************************

----- Original Message -----
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Friday, May 14, 2010 2:20 am
Subject: Re: [Xen-devel] feature suggestion: DMAR table emulation for Xen
To: "Kay, Allen M" <allen.m.kay@xxxxxxxxx>
Cc: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" 
<xen-devel@xxxxxxxxxxxxxxxxxxx>, "Han, Weidong" <weidong.han@xxxxxxxxx>

> 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 
> graphicsdevice, 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.
> 
> 

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