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-ia64-devel

Re: [Xen-ia64-devel] [RFC] Extended I/O port space support

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-ia64-devel] [RFC] Extended I/O port space support
From: Tristan Gingold <tgingold@xxxxxxx>
Date: Fri, 8 Jun 2007 07:11:16 +0200
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 Jun 2007 22:04:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1181255641.6634.22.camel@lappy>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1181255641.6634.22.camel@lappy>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Thu, Jun 07, 2007 at 04:34:01PM -0600, Alex Williamson wrote:
> Hi,
> 
[...]
>    Next on my TODO list for this is driver domains.  This is where it
> might get complicated.  Somehow I need to make the driver domain aware
> that a PCI bus makes use of a different set of I/O port ranges.  This
> won't work well with the virtual PCI mappings that present the guest
> with all PCI devices on the same bus.  I think I'm going to need to
> create a new topology that creates a virtual bus per physical bus, but I
> haven't dug too deeply there yet.  Suggestions?
This is certainly the right way to do it, but you also have to specify to
the driver domain the io space base (although it can be remapped).

> 
>    Please send me comments on the patch below.  It still has some debug
> printks in it, but it seems to work.  Thanks,
Seems ok to me.  dom0vp_add_io_space is not thread-safe but who cares :-)

Tristan.

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