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-ia64-devel

Re: [Xen-ia64-devel] [PATCH] fix INVALID_M2P_ENTRY and INVALID_M2P macro

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] fix INVALID_M2P_ENTRY and INVALID_M2P macro
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 7 Mar 2006 10:34:19 +0900
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Mar 2006 01:34:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD59FEF0E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <516F50407E01324991DD6D07B0531AD59FEF0E@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
Hi Dan.

On Mon, Mar 06, 2006 at 09:26:26AM -0800, Magenheimer, Dan (HP Labs Fort 
Collins) wrote:
> Could you explain what you are planning to use the mpt_table
> for?  I think I understand that this is needed for x86
> (especially shadow mode) but don't see where it will be used
> for ia64, regardless of the memory model.  And if it IS needed
> later, won't it need to be per-domain (or at least will need
> to return both a phys mapping and a domain)?

mpt_table is used as a temporal work around.

It is used for Linux bus_to_virt(), pci_dac_dma_to_page(dev,dma_addr) and
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c
static inline struct xenstore_domain_interface *xenstore_domain_interface(void)
{
        return mfn_to_virt(xen_start_info->store_mfn);
}

bus_to_virt() is deprecated (unfortunately some drivers still use it) and
pci_dac_dma_to_page() seems not to be used.
However xenstore_domain_interface() is needed to boot domU.
(I'm trying to do now.)
Pseudo physical address should be used instead of machine address 
on xen/ia64. But xenstore_domain_interface() is in common code
so that it might take time to modify it. So I used mpt_table 
as a temporal work around.

-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>