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

[Xen-ia64-devel] Re: [patch] PAGE_ALIGN mpt_table

To: Jes Sorensen <jes@xxxxxxx>
Subject: [Xen-ia64-devel] Re: [patch] PAGE_ALIGN mpt_table
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Thu, 21 Sep 2006 15:22:35 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Sep 2006 14:23:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45115D77.1090505@xxxxxxx>
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>
Organization: OSLO R&D
References: <45115D77.1090505@xxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2006-09-20 at 17:25 +0200, Jes Sorensen wrote:
> Hi,
> 
> This seems like a reasonable thing to do to me, and also means Xen
> doesn't MCA on the first attempt to access the mpt_table here.

Hi Jes,

   It doesn't seem unreasonable, but is the reason you no longer MCA the
alignment or the bogus address this is creating?  On my zx1 box, this
changed the mpt_table address from:

0xf3fffffff7e00080

to

0xf3fffffffefc4000

Looks like a bit more than a simple page alignment.  To get a properly
aligned address similar to the original, we'd need to change the
calculation to:

PAGE_ALIGN(VIRT_FRAME_TABLE_END - (max_page * sizeof(unsigned long)))

For me, this results in 0xf3fffffff7e04000, which I think is what we're
looking for.  Should we still make this change, or does this also MCA on
your system?  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


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

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