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 3w34Zp1Y4NzDq7h for ; Wed, 12 Apr 2017 23:31:46 +1000 (AEST) In-Reply-To: To: "Gautham R. Shenoy" , Michael Neuling , Benjamin Herrenschmidt , "Shreyas B. Prabhu" , Shilpasri G Bhat , Vaidyanathan Srinivasan , Anton Blanchard , Balbir Singh , Akshay Adiga , Nicholas Piggin , Mahesh J Salgaonkar From: Michael Ellerman Cc: "Gautham R. Shenoy" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [v3, 1/4] powernv: Move CPU-Offline idle state invocation from smp.c to idle.c Message-Id: <3w34Zp0ZCrz9sNV@ozlabs.org> Date: Wed, 12 Apr 2017 23:31:45 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2017-03-22 at 15:04:14 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > Move the piece of code in powernv/smp.c::pnv_smp_cpu_kill_self() which > transitions the CPU to the deepest available platform idle state to a > new function named pnv_cpu_offline() in powernv/idle.c. The rationale > behind this code movement is that the data required to determine the > deepest available platform state resides in powernv/idle.c. > > Reviewed-by: Nicholas Piggin > Signed-off-by: Gautham R. Shenoy Series applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a7cd88da97040513e17cd77ae3e577 cheers