From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DE8B1A0D87 for ; Fri, 30 Jan 2015 14:56:52 +1100 (AEDT) In-Reply-To: <20150128021044.11166.81418.stgit@preeti.in.ibm.com> To: Preeti U Murthy , mpe@ellerman.id.au From: Michael Ellerman Subject: Re: [V2] cpuidle/powernv: Read target_residency value of idle states from DT if available Message-Id: <20150130035652.3C252140277@ozlabs.org> Date: Fri, 30 Jan 2015 14:56:52 +1100 (AEDT) Cc: rafael.j.wysocki@intel.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2015-28-01 at 02:13:06 UTC, Preeti U Murthy wrote: > The device tree now exposes the residency values for different idle states. Read > these values instead of calculating residency from the latency values. The values > exposed in the DT are validated for optimal power efficiency. However to maintain > compatibility with the older firmware code which does not expose residency > values, use default values as a fallback mechanism. While at it, handle some > cleanups. > > Signed-off-by: Preeti U Murthy > Acked-by: Stewart Smith This looks good to me. Acked-by: Michael Ellerman I'm assuming Rafael will take it. cheers