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] IOMMU Domain for Dom0

To: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] IOMMU Domain for Dom0
From: Alex Merritt <merritt.alex@xxxxxxxxx>
Date: Mon, 27 Jun 2011 00:44:46 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 26 Jun 2011 23:45:59 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=RBc4lhnU4dzJxF7Rnic+9Xj/X110mfqkZ6ODaUt6dj4=; b=EqU5ev1+6mn4W8x5txGHFIF89Y9Lqv/LFNUcFLhCKU8MyQ3kMLpDigCWbbQAcfFVpC /Tw5fMqrWDdqHkuRTuxCiCWyOjMyCHkw9DPC6/U8VdyPD46BLag/o13ZvalGjcrrcXpJ wsYa815lMca3GuEwBW1t1OMGEbe1hKpMSkWDk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=xevnuyhybaUW41k7vDVWLcMGyWDITenyzPjaRb95gfubDi3qCwBmfsc9E04rT5DX6K wKgTlsBHKtfwj1iStgA229PfFzjByvClNiTrnydWnoX3TrYCMa46hPPhTd4trgQUJJHM 9RANbhgPha9OPjh+4fOIhEVW/PkD70cQgExGw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <501204747.20110627080112@xxxxxxxxxxxxxx>
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: <BANLkTinFj0+srUozffOw43LXn77dUxXDTg@xxxxxxxxxxxxxx> <501204747.20110627080112@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Jun 27, 2011 at 00:01, Sander Eikelenboom <linux@xxxxxxxxxxxxxx> wrote:
> Hello Alex,
>
> What nvidia cards did you use to succesfully passthrough to a HVM and have 
> CUDA working ?

NVIDIA Tesla ("Fermi") C2070
http://www.nvidia.com/object/personal-supercomputing.html

Using the latest driver available, 270.41.19
http://developer.nvidia.com/cuda-toolkit-40#Linux

Motherboard - Supermicro X8DTG-D

> This could be of interest for others trying to achieve the same ...

HVM pass-through you mean?

I'm unsure how much demand there still is for the toolstack to work in
Dom0, but I can say I'm still pushing.

>
> --
> Sander
>
> Monday, June 27, 2011, 5:35:17 AM, you wrote:
>
>> Hello,
>
>> I'm looking to enable the NVIDIA CUDA driver/runtime stack to work in
>> Dom0 on Xen. I've contacted NVIDIA through various capacities and have
>> gotten replies essentially saying they cannot provide assistance, and
>> have been following the nvnews.com forums. However, now that I have
>> IOMMU-capable processors (with VT-d) and a version of Xen which can
>> successfully program this hardware, I am interested to determine if it
>> is possible to program the IOMMU *for* Dom0 (i.e. the target is Dom0,
>> not an HVM/pvops guest).
>
>> I have successfully been able to launch an HVM guest, passing a few
>> GPUs through. Installing an unmodified developer driver from NVIDIA
>> works using the standard method (no SYSSRC=/-OUT= or anything) and
>> CUDA applications execute as expected. Can this be done for Dom0,
>> achieving the same result without requiring any involvement from
>> NVIDIA or modifications to the driver?
>
>> My immediate interest is more to see if it "can be done" via a hack or
>> something, not necessarily whether it would make sense for Xen to
>> support this in the future. My goal with this email is to get feedback
>> on two fronts: 1) is there a limitation due to the architecture,
>> meaning that as Dom0 is pvops it cannot use VT-d, or is it a
>> implementation addition to Xen that would be needed? 2) If the latter
>> is true (programming needed), how much effort (code/time) would
>> you/anyone estimate it would take to enable this to work, and could
>> you provide some starting pointers for me to do so? I am untrained
>> when it comes to the Xen sourcecode.
>
>> I'm using Xen 4.1.1 and pv-ops linux (not upstream) 2.6.32.40 on an
>> Intel X5660 with a Tylersburg chipset. My host OS is Fedora 13, but
>> that needn't be static.
>
>> I originally asked this on xen-users, but was informed this mailing
>> list would be better suited:
>> http://lists.xensource.com/archives/html/xen-users/2011-06/msg00451.html
>
>> Many thanks in advance!
>> Alex
>
>
>
>
>
> --
> Best regards,
>  Sander                            mailto:linux@xxxxxxxxxxxxxx
>
>

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

<Prev in Thread] Current Thread [Next in Thread>