Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3wRFQh30dmzDqMV for ; Mon, 15 May 2017 19:19:40 +1000 (AEST) From: Michael Ellerman To: Thomas Gleixner , LKML Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Mark Rutland , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: [patch 06/18] powerpc: Adjust system_state check In-Reply-To: <20170514183612.922744553@linutronix.de> References: <20170514182716.347236777@linutronix.de> <20170514183612.922744553@linutronix.de> Date: Mon, 15 May 2017 19:19:39 +1000 Message-ID: <877f1ibhp0.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Thomas Gleixner writes: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > Adjust the system_state check in smp_generic_cpu_bootable() to handle the > extra states. > > Signed-off-by: Thomas Gleixner > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: linuxppc-dev@lists.ozlabs.org > --- > arch/powerpc/kernel/smp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Michael Ellerman cheers