From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: ioremap failing in linux guest Date: Wed, 08 Oct 2008 15:52:56 -0700 Message-ID: <48ED39C8.7010802@goop.org> References: <48ED3762.5060603@cc.gatech.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48ED3762.5060603@cc.gatech.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Anish Bhatt Cc: "xen-devel@lists.xensource.com" , Keir Fraser List-Id: xen-devel@lists.xenproject.org Anish Bhatt wrote: > Is there an API for converting pseudophysical addresses to machine > addresses or possibly sample code somewhere ? What are you trying to achieve? ioremap is only valid to use on device memory anyway, so you shouldn't be in a position to use it unless you've already got machine addresses in hand (and they're going to be machine addresses with no existing pfn translation). J