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] Nouveau on dom0

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Nouveau on dom0
From: Arvind R <arvino55@xxxxxxxxx>
Date: Thu, 25 Feb 2010 22:31:48 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 25 Feb 2010 09:02:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=eufcBUWahYdiNDVjBJBYWaA60osekal4wqS7ws4uRLI=; b=saQ+zoQjzlHKcC9nqGaNwBO3oINLxb20MKJQyt933J88jXU069tRp8sMQ4NxUXowBo /5NVnUnyf9U0ruDys9VgnmIG9fVb9bTjIRI4F9VCBdakh4JkjYKa6RUvnD4dqNrjSpRp spCh2FcEDqaeuAaLIWCBXFuzU/NP8nJjS3GWw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=q/hO87UQpaQ6eUZVXIhc5YcVlcFck6E66ikFyD6jYu4BxbztzfKh5XKT1Y+6CN4+G2 4vf/UrcfzovK0DEGdBeAsH+DpMrq06Miaxn9HG6maSE/7/HV6gY4OAVa4m34M97I4Y+h ikHRvT3uBXNwWn5Ts7VIUwkWyUIa0cmLKrPk8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100225125552.GC9040@xxxxxxxxxxxxxxxxxxx>
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: <d799c4761002250046j4fc14785ue17db46d6e3e71ce@xxxxxxxxxxxxxx> <20100225125552.GC9040@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Feb 25, 2010 at 6:25 PM, Konrad Rzeszutek Wilk
<konrad.wilk@xxxxxxxxxx> wrote:
> On Thu, Feb 25, 2010 at 02:16:07PM +0530, Arvind R wrote:
>> Hi all,
>> I merged the drm-tree from 2.6.33-rc8 into jeremy's 2.6.31.6 master and
======= snip =======
> is not. Would it be possible to trace down who allocates that *chan? You
> say it is 'PRAMIN' - is that allocated via pci_alloc_* call?
>
> Or is the address retrieved from an ioctl call made in user-space?
Both true, I guess.

chan is GFP_KERNEL allocated. My current understanding is that
chan->cur, at the end of a lot of initialization, points to specific
areas of card
memory which forms a command ring. What gets written is 32-bits which
encode pointers to contexts and methods already associated with that
specific channel. Each of possibly many channels have their own independent
Command FIFOs (RINGS) and associations.

So, there must be a mmap call somewhere to map the area to user-space
for that problem write to work on non-Xen boots. Will try track down some more
and post. With mmaps and PCIGARTs - it will be some hunt!

>> another testing domU without devel-packages.
>
> You lost me here. Don't you mean Dom0?
>
Let's say virtual appliances - for which one needs dom0!

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

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