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: Jes Sorensen <jes@xxxxxxx>
Date: Wed, 13 Jun 2007 14:49:07 +0200
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Jun 2007 05:47:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1181737913.6221.578.camel@bling>
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> <20070608051116.GA2498@saphi> <yq07iq814un.fsf@xxxxxxxxxxxxxx> <1181737913.6221.578.camel@bling>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060527)
Alex Williamson wrote:
>    Quite a lot of PCI cards still have I/O port space bars, but
> hopefully any "high speed" devices use their MMIO bars exclusively.
> This is mainly needed for correctness.  Before this patch, a driver
> domain would spew a huge number of errors about trying to map MMIO pages
> that Xen wasn't aware.  Once it finally did boot, most drivers seem to
> avoid using I/O ports, so the devices work ok.  Then Xen would crash if
> I shutdown the domain.  All that is fixed by properly registering and
> setting up the I/O port ranges.  And if there is a driver that still
> pokes I/O port space bars, at least it will work now.

Gotcha!

Don't get me wrong, I am totally in favor of doing this correctness,
I was just surprised to hear it popping up in real life.

Cheers,
Jes

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