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] Problem with xen-unstable cset 7937 (grant tabletra

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: Re: [Xen-ia64-devel] Problem with xen-unstable cset 7937 (grant tabletransfer fix)
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 22 Nov 2005 14:05:31 +0000
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 Nov 2005 13:59:54 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5875B66@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: <516F50407E01324991DD6D07B0531AD5875B66@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 22 Nov 2005, at 13:09, Magenheimer, Dan (HP Labs Fort Collins) wrote:

No patch!

Oops!  Attached is the whole file which, since this isn't proposed
as a patch to apply yet, might be easier to peruse.

The only changes are the addition of __ia64__ conditional
compile directives.

Looking through, you're correct that some of the macro definitions should be in an arch-specific header file. Also, the code that sets/clears PTEs can be abstracted a little more (much of the work is already done in arch/x86/mm.c, and we can make it do a little more).

However, I see no need to ifdef the code that uses pfn_valid, get_page[_type] and put_page[_type]. They are easily noop'ed if they mean nothing on ia64 (in fact I notice that you already define them). I would imagine that at least pfn_valid() makes sense though?

Apart from that, I also didn't understand the changes in the block commented 'fundamental difference here'.

But looks to me like we ought to be able to move ia64 onto common grant_table.c implementation fairly easily. We should shoot down a few of the easy ifdefs first though.

 -- Keir


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