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: xen-unstable broken due to CONFIG_SMP problem

To: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Subject: [Xen-ia64-devel] Re: xen-unstable broken due to CONFIG_SMP problem
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 12 Jan 2006 21:45:04 +0000
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 12 Jan 2006 21:51:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <516F50407E01324991DD6D07B0531AD5903270@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: <516F50407E01324991DD6D07B0531AD5903270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 12 Jan 2006, at 20:48, Magenheimer, Dan (HP Labs Fort Collins) wrote:

Since this patch is really a hack, I thought I would
solicit better patches first.  In particular, there
are several hacks to compile !CONFIG_SMP on Xen/ia64...
see config.h and note that most of smpboot.c is #ifdef
CONFIG_SMP (but probably need not be).  Or, since
Xen/x86 always is compiled with CONFIG_SMP, it might
be best to fix CONFIG_SMP (flush_tlb_mask(), possibly
other fixes) and also always compile Xen/ia64 with
CONFIG_SMP.

Any comments?  Any volunteers?

In this case the best and simplest fix will simply be to define cpu_online_map as:
cpumask_t cpu_online_map = CPU_MASK_CPU0.

Or, if you want to share the definition with SMP builds then declare cpu_online_map unconditionally with no initialiser and then sometime during boot make sure you do cpu_online_map = cpumask_of_cpu(boot_cpu_id);

 -- Keir


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

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