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

[Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch

To: Gerd Hoffmann <kraxel@xxxxxxx>
Subject: [Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Tue, 28 Mar 2006 11:00:56 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Mar 2006 17:03:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4428F8A1.9030909@xxxxxxx>
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>
Organization: IBM Linux Technology Center
References: <20060322063040.960068000@xxxxxxxxxxxxxxxxxx> <200603271256.44698.hollisb@xxxxxxxxxx> <4428F8A1.9030909@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
On Tuesday 28 March 2006 02:49, Gerd Hoffmann wrote:
> 
> > This makes me a little nervous, since the ELF loading code is working fine 
for 
> > PPC at the moment. What exactly are you planning on changing?
> 
> Basically what the suggestion outlined: use physical address + VIRT_BASE
> instead of placing virtual addresses into the physical address fields.
> Some discussions on that went over the list some weeks ago.  Patch
> attached for reference.

> +         * bug comparibility alert: old linux kernels used to have
> +         * virtual addresses in the paddr headers, whereas newer ones
> +         * (since kexec merge, around 2.6.14) correctly use physical
> +         * addresses.

("comparibility" -> "compatibility")

I can't speak for IA64, but PPC kernels still have virtual addresses in the 
paddr fields. Accordingly, I would reword it like this:
        Some Linux kernels have virtual addresses in the paddr headers, and some
        correctly use physical addresses.

Please CC xen-ppc-devel (and probably xen-ia64-devel) when you submit the 
patch so we can make sure this logic works for PPC. Thanks!

-- 
Hollis Blanchard
IBM Linux Technology Center

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

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