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

[Xen-devel] RE: VT-d support proprietary NVidia/ATI GPU passthrough

To: Weidong Han <weidong.han@xxxxxxxxx>
Subject: [Xen-devel] RE: VT-d support proprietary NVidia/ATI GPU passthrough
From: "Timothy J. Moore" <Timothy.Moore@xxxxxxxxxxx>
Date: Mon, 22 Feb 2010 12:32:48 +0000
Accept-language: en-US, en-GB
Acceptlanguage: en-US, en-GB
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 Feb 2010 04:35:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B822D37.3040308@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqzjdKVrkYu7flzQFW/ix9c2x2N2QALASYA
Thread-topic: VT-d support proprietary NVidia/ATI GPU passthrough
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?


-----Original Message-----
From: Weidong Han [mailto:weidong.han@xxxxxxxxx] 
Sent: 22 February 2010 07:08
To: Timothy J. Moore
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: VT-d support proprietary NVidia/ATI GPU passthrough

Timothy J. Moore wrote:
> Dear Xen-developers,
>
> Now that we have IGD passthough patches in the xen source tree, would it be 
> possible to start working on support for other vendor cards?
>
  
Xen already implemented basic gfx passthrough a few months ago, and 
supported "virtualization friendly" gfx passthrough, such as nVidia 
FX3800. But for most discrete GPU, they need various hacks, such as 
vBAR=pBAR.

> I know and have working the necessary patches to enable PCI/VGA Pass-through 
> for non IGD, but it's a long way from stable - 
>
> Is there a way that vendor specific resets or FLR code could be implemented 
> that will provide a stable experience when using VGA passthrough with NVidia 
> and plugging/unplugging and starting/rebooting DomUs?
>   

yes, FLR is a problem for gfx cards which don't support standard FLR 
capability. FLR is required for passthrough, but lots of existing gfx 
cards don't have this capability, and only gfx vendors know how to 
implement vendor specific reset.


> Can the vBAR-pBAR code that Wiedong provided be implemented in a more dynamic 
> way? (currently requires static mem ranges)
>   


Yes, the patch is experimental, and not suitable for upstream now.

Regards,
Weidong
> Thanks all, anyone who could help please shout !
>
> Tim
>   


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