From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from e23smtp09.au.ibm.com ([202.81.31.142]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WstQL-0004dM-Ck for kexec@lists.infradead.org; Fri, 06 Jun 2014 12:39:10 +0000 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jun 2014 22:38:43 +1000 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [9.190.235.152]) by d23dlp02.au.ibm.com (Postfix) with ESMTP id 207162BB004A for ; Fri, 6 Jun 2014 22:38:41 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s56CGjuR46072020 for ; Fri, 6 Jun 2014 22:16:45 +1000 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s56CceRf010005 for ; Fri, 6 Jun 2014 22:38:40 +1000 Message-ID: <5391B5FE.2090508@linux.vnet.ibm.com> Date: Fri, 06 Jun 2014 18:07:18 +0530 From: "Srivatsa S. Bhat" MIME-Version: 1.0 Subject: Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode References: <20140527105511.24309.74320.stgit@srivatsabhat.in.ibm.com> <20140528133143.GK14863@redhat.com> <538E2FF8.8060707@linux.vnet.ibm.com> <1401833365.3247.36.camel@pasglop> <5391B413.100@linux.vnet.ibm.com> In-Reply-To: <5391B413.100@linux.vnet.ibm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Benjamin Herrenschmidt Cc: ego@linux.vnet.ibm.com, Ananth N Mavinakayanahalli , matt@ozlabs.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, suzuki@in.ibm.com, ebiederm@xmission.com, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, Vivek Goyal On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > +bool kexec_cpu_wake(void) > +{ > + kexec_smp_down(NULL); > + > + /* NOTREACHED */ > + return true; > +} > + This function doesn't have to return anything, so we can define it as void. The bool is a remnant of my previous attempt at making this work. (But these patches compile fine as they are, though). Regards, Srivatsa S. Bhat _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp04.au.ibm.com (e23smtp04.au.ibm.com [202.81.31.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 609711A0008 for ; Fri, 6 Jun 2014 22:38:44 +1000 (EST) Received: from /spool/local by e23smtp04.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jun 2014 22:38:43 +1000 Received: from d23relay04.au.ibm.com (d23relay04.au.ibm.com [9.190.234.120]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 0FF7B3578048 for ; Fri, 6 Jun 2014 22:38:41 +1000 (EST) Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay04.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s56CMf9c17367226 for ; Fri, 6 Jun 2014 22:22:41 +1000 Received: from d23av03.au.ibm.com (localhost [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s56CceRh010005 for ; Fri, 6 Jun 2014 22:38:40 +1000 Message-ID: <5391B5FE.2090508@linux.vnet.ibm.com> Date: Fri, 06 Jun 2014 18:07:18 +0530 From: "Srivatsa S. Bhat" MIME-Version: 1.0 To: Benjamin Herrenschmidt Subject: Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode References: <20140527105511.24309.74320.stgit@srivatsabhat.in.ibm.com> <20140528133143.GK14863@redhat.com> <538E2FF8.8060707@linux.vnet.ibm.com> <1401833365.3247.36.camel@pasglop> <5391B413.100@linux.vnet.ibm.com> In-Reply-To: <5391B413.100@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Cc: ego@linux.vnet.ibm.com, matt@ozlabs.org, mahesh@linux.vnet.ibm.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, suzuki@in.ibm.com, ebiederm@xmission.com, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, Vivek Goyal List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > +bool kexec_cpu_wake(void) > +{ > + kexec_smp_down(NULL); > + > + /* NOTREACHED */ > + return true; > +} > + This function doesn't have to return anything, so we can define it as void. The bool is a remnant of my previous attempt at making this work. (But these patches compile fine as they are, though). Regards, Srivatsa S. Bhat From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751426AbaFFMir (ORCPT ); Fri, 6 Jun 2014 08:38:47 -0400 Received: from e23smtp08.au.ibm.com ([202.81.31.141]:53695 "EHLO e23smtp08.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750840AbaFFMip (ORCPT ); Fri, 6 Jun 2014 08:38:45 -0400 Message-ID: <5391B5FE.2090508@linux.vnet.ibm.com> Date: Fri, 06 Jun 2014 18:07:18 +0530 From: "Srivatsa S. Bhat" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120828 Thunderbird/15.0 MIME-Version: 1.0 To: Benjamin Herrenschmidt CC: ego@linux.vnet.ibm.com, matt@ozlabs.org, mahesh@linux.vnet.ibm.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, suzuki@in.ibm.com, ebiederm@xmission.com, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, Vivek Goyal , Ananth N Mavinakayanahalli Subject: Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode References: <20140527105511.24309.74320.stgit@srivatsabhat.in.ibm.com> <20140528133143.GK14863@redhat.com> <538E2FF8.8060707@linux.vnet.ibm.com> <1401833365.3247.36.camel@pasglop> <5391B413.100@linux.vnet.ibm.com> In-Reply-To: <5391B413.100@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14060612-5140-0000-0000-00000541DA40 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > +bool kexec_cpu_wake(void) > +{ > + kexec_smp_down(NULL); > + > + /* NOTREACHED */ > + return true; > +} > + This function doesn't have to return anything, so we can define it as void. The bool is a remnant of my previous attempt at making this work. (But these patches compile fine as they are, though). Regards, Srivatsa S. Bhat