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] RE: VT-d support proprietary NVidia/ATI GPU passthrough

To: Weidong Han <weidong.han@xxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] RE: VT-d support proprietary NVidia/ATI GPU passthrough
From: "Timothy J. Moore" <Timothy.Moore@xxxxxxxxxxx>
Date: Tue, 23 Feb 2010 21:08:28 +0000
Accept-language: en-US, en-GB
Acceptlanguage: en-US, en-GB
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Feb 2010 13:10:23 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B832C57.2020101@xxxxxxxxx>
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: <60E426D47DE8EA47AA104E65008A100D1621AFC6F5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <19306.65275.325707.253978@xxxxxxxxxxxxxxxxxxxxxxxx> <4B6B79EF.2070609@xxxxxxxxx> <20100218094955.GC28653@xxxxxxxxxxxxx> <4B7F938A.3020707@xxxxxxxxx> <E5E913F540B51B4C997F7A2993168735BC95981B01@xxxxxxxxxxxxxxxxxx> <4B822D37.3040308@xxxxxxxxx> <E5E913F540B51B4C997F7A2993168735BC95981B0A@xxxxxxxxxxxxxxxxxx> <20100222164831.GA8921@xxxxxxxxxxxxxxxxxxx> <4B832C57.2020101@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq0JedqFFhl1ezuTnan6g+8O8o/zQApiPqQ
Thread-topic: [Xen-devel] RE: VT-d support proprietary NVidia/ATI GPU passthrough
I agree, pciback Dstate transition does not seem to work with Nvidia cards 
either ..

Also, I believe XCI attempts Dstate + secondary bus reset + FLR and they don't 
work too!

Seems to be vendor specific calls that are needed, but where can we obtain this 
info ?

-----Original Message-----
From: Weidong Han [mailto:weidong.han@xxxxxxxxx] 
Sent: 23 February 2010 01:16
To: Konrad Rzeszutek Wilk
Cc: Timothy J. Moore; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] RE: VT-d support proprietary NVidia/ATI GPU passthrough

Konrad Rzeszutek Wilk wrote:
> On Mon, Feb 22, 2010 at 12:32:48PM +0000, Timothy J. Moore wrote:
>   
>> How can xen implement these vendor specific resets?  How could we find out 
>> the gfx vendor specific stuff?
>>
>> Can we take anything from the opensource NV, nouveau, or Gallium3D drivers?
>>     
>
> As I understand it, the reason for the FLR is to re-initialize the video
> cards to re-run through the basic ROM code. Pretty much exactly the same
> thing that is done during machine startup. But for gfx pass-through you
> need to this with the Bochs code running so it can call the gfx BIOS.
>
> I don't think that the open-source drivers go so low to re-initialize
> the card?
>
> Thought perhaps another way to do this, is to put the cards in D3 (cold)
> state and then re-initialize them back up? (this is btw, what the
> pciback drivers does when it seizes the card).
>   
reset through Dstate transition is not guarantee to work for all 
devices. As we observed, it seems didn't work for Intel IGD, so we 
implemented vendor specific reset for Intel IGD.

Regards,
Weidong

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