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] PATCH: console.c: use ioremap instead of __va to map vid

To: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Subject: Re: [Xen-devel] PATCH: console.c: use ioremap instead of __va to map video memory
From: Muli Ben-Yehuda <mulix@xxxxxxxxx>
Date: Fri, 14 Apr 2006 17:46:11 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 14 Apr 2006 07:47:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200604141437.22342.Tristan.Gingold@xxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200604141437.22342.Tristan.Gingold@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060126
On Fri, Apr 14, 2006 at 01:37:22PM +0100, Tristan Gingold wrote:
> Hi,
> 
> on ia64 you need to map video are as uncached memory.
> With this patch the vga console is now working on ia64.
> 
> Tested on ia64 only.

It should work fine on x86 (though I haven't tested!) since ioremap is
just defined to __va().

The comment in asm-x86/io.h says "we don't need a real ioremap on
Xen/x86", but I think we do need it for the IOMMU work on x86-64,
since the hypervisor will need to map the IOMMU's internal register
area for things like cache flushing. Is there a fundamental objection
to a real ioremap for x86?

Cheers,
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/


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