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] [RFC][Patch] fix boot xen-ia64 on some ia64 platfor

To: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [RFC][Patch] fix boot xen-ia64 on some ia64 platforms
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Tue, 21 Apr 2009 11:49:55 +0900
Cc: "xen-ia64-devel@xxxxxxxxxxxxxxxxxxx" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Apr 2009 19:50:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090421021906.GG24626%yamahata@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <49ED20E6.4030500@xxxxxxxxxxxxxx> <20090421021906.GG24626%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Tue, Apr 21, 2009 at 11:19:06AM +0900, Isaku Yamahata wrote:
> On Tue, Apr 21, 2009 at 10:27:02AM +0900, Akio Takebe wrote:
> > Hi,
> > 
> > The following changeset broke booting xen-ia64 on some kinds of ia64 boxes.
> > http://xenbits.xensource.com/ext/ia64/xen-unstable.hg/rev/3fd8f9b34941
> > 
> > The tasklet_schedule call raise_softirq().
> > Because raise_softirq() use per_cpu, if we access per_cpu before cpu_init()
> > the behavior would be unexpected.
> > 
> > I make the following patch for this investigation.
> > It can boot xen-ia64 on the ia64 boxes.
> > I'm not sure why Tiger4 can boot the latest xen-ia64.
> > I didn't find a good-looking solution, what do you think about it?
> 
> Unfortunately, it happened to boot on my tiger4 so that I pushed out
> the change set.
> I Understood the issue. Looking into the boot sequence, it seems
> to somewhat difficult to move down init_console() after cpu_init()
> and remove all the printk() before cpu_init().
> Hmm, it needs some consideration.
> 
> BTW, is there similar issue on ia64 linux case before?

Yes, there was.
commit 10617bbe84628eb18ab5f723d3ba35005adde143
and
commit c459ce8b5a7d933a3bcf6915ab17ac1e036e2ac4

The mails were
Jul 14 Christian Kande Initialization order problem
and
Aug 07 Luck, Tony      [RFC] Fix early access to per-cpu variables
thread.
-- 
yamahata

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