From: Muli Ben-Yehuda Subject: Re: PATCH: console.c: use ioremap instead of __va to map video memory Date: Mon, 24 Apr 2006 10:01:05 +0300 Message-ID: <20060424070105.GA25175@granada.merseine.nu> References: <200604141437.22342.Tristan.Gingold@bull.net> <20060414144610.GP10412@granada.merseine.nu> <91a13822bf745def349861a374696d0c@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <91a13822bf745def349861a374696d0c@cl.cam.ac.uk> 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: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Fri, Apr 14, 2006 at 07:38:18PM +0100, Keir Fraser wrote: > > On 14 Apr 2006, at 15:46, Muli Ben-Yehuda wrote: > > >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? > > No, it got removed as it wasn't used, but it can easily be added back. > It's particularly easy since we probably don't need iounmap(). Hmm, looking at the hg logs, it looks like ioremap() was added for x86-64 with the current __va() implementation. Can you please point me at the old version? Thanks, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.livejournal.com/