From: Muli Ben-Yehuda Subject: Re: PATCH: console.c: use ioremap instead of __va to map video memory Date: Fri, 14 Apr 2006 17:46:11 +0300 Message-ID: <20060414144610.GP10412@granada.merseine.nu> References: <200604141437.22342.Tristan.Gingold@bull.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <200604141437.22342.Tristan.Gingold@bull.net> Content-disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tristan Gingold Cc: xen-devel@lists.xensource.com, xen-ia64-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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/