From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 3/9] arm: gic: implement IPIs using SGI mechanism Date: Thu, 11 Apr 2013 23:40:01 +0100 Message-ID: <51673BC1.8080903@citrix.com> References: <1362559920.8941.98.camel@hastur.hellion.org.uk> <1362560076-25897-3-git-send-email-ijc@hellion.org.uk> <1365519078.10725.54.camel@zakaz.uk.xensource.com> <1365697065.8126.48.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1365697065.8126.48.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: "xen-devel@lists.xen.org" , "Tim (Xen.org)" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On 04/11/2013 05:17 PM, Ian Campbell wrote: > @@ -15,17 +16,12 @@ void smp_call_function( > void *info, > int wait) > { > - /* TODO: No SMP just now, does not include self so nothing to do. > - cpumask_t allbutself = cpu_online_map; > - cpu_clear(smp_processor_id(), allbutself); > - on_selected_cpus(&allbutself, func, info, wait); > - */ > + panic("%s not implmented\n", __func__); > } > + Panic calls smp_call_function via machine_halt function. So, if Xen panics, you will have an infinite loop which writes "%s not ....". For the moment, I think you should let the function in its current state. I will try to make a patch to call a function on each CPU with ARM. Cheers, Julien