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] more correct pfn_valid()

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-devel] [patch] more correct pfn_valid()
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 19 May 2005 09:23:01 +0100
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Scott Parish <srparish@xxxxxxxxxx>
Delivery-date: Thu, 19 May 2005 08:18:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD806C8B964@pdsmsx403>
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: <571ACEFD467F7749BC50E0A98C17CDD806C8B964@pdsmsx403>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 19 May 2005, at 09:14, Tian, Kevin wrote:

For this part, I made a mistake to confuse domN and dom0. OK, for
paravirtualized guest, there's actually no I/O range for domN, since the
front driver in domN will do all things to communicate with backend in
Dom0. But what about a driver domain which has access to physical
device, thus need real I/O address?

We rely on the driver using the dma_coherent/pci_consistent/bus_address macros for mapping device memory. Originally designed to handle IOMMUs, it is handy for us to determine places where code is handling real machine physical addresses rather than pseudophysical addresses. This gets groans of distaste from the kernel maintainers but has worked enormously well so far (AGP needed patching separately though).

 -- Keir


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