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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] feature suggestion: DMAR table emulation for Xen
From: Joanna Rutkowska <joanna@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 12:15:54 +0200
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 03:13:37 -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=58Hns8CMaGX39iS7CZ3sxLDZRNM=; b=FcRY8/g/+hmqwjA8lFloilKjbv52MzME2mdRjEb9WiDAFOMjRUrdd8D7ba3omzMsU/QluS5+CRFk9fLVP5V8vWaYCS88sam/zmgK8QWPmH8uC1FuFGRFsC1vtYlUtr0hKe+3TKhHhvJUfRL8RxKskYNRcTi4VgcyARA0jyaBY+8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C812D80F.143ED%keir.fraser@xxxxxxxxxxxxx>
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: <C812D80F.143ED%keir.fraser@xxxxxxxxxxxxx>
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 11:35 AM, Keir Fraser wrote:
> On 14/05/2010 10:22, "Joanna Rutkowska" <joanna@xxxxxxxxxxxxxxxxxxxxxx>
> wrote:
> 
>> 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).
> 
> Yeah, actually the integrated graphics can implement all sorts of dirty
> tricks between OS driver, video BIOS, and SMM. This can rely on fixed memory
> areas for communication -- both for host accesses and DMA, the latter
> requiring RMRR setup. Maybe the RMRRs are static per-chipset, but I wouldn't
> be too sure of it.
> 
Hmmm... Shouldn't this affect only (and potentially) the text mode
display? I would expect that once Dom0 Linux takes over, it would be
using its own IGD driver that is VT-d aware and is not on the mercy of
the evil BIOS?

And we can disable the (ugly) Xen debug output, and have Dom0 linux boot
with kmodeset boot argument that would load the proper driver and switch
to a graphics mode right at the beginning.

j.

Attachment: signature.asc
Description: OpenPGP digital signature

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