From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758394AbaELOIb (ORCPT ); Mon, 12 May 2014 10:08:31 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:41458 "EHLO mail-wg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758337AbaELOI3 (ORCPT ); Mon, 12 May 2014 10:08:29 -0400 Message-ID: <5370D5E4.5040001@linaro.org> Date: Mon, 12 May 2014 16:08:36 +0200 From: Daniel Lezcano User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "Rafael J. Wysocki" , Linux PM list CC: Linux Kernel Mailing List , Zhang Rui , Aubrey Li Subject: Re: [PATCH] PM / suspend: Always use deepest C-state in the "freeze" sleep state References: <2548502.zJ1no3NhRc@vostro.rjw.lan> In-Reply-To: <2548502.zJ1no3NhRc@vostro.rjw.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/05/2014 12:51 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If freeze_enter() is called, we want to bypass the current cpuidle > governor and always use the deepest available (that is, not disabled) > C-state, because we want to save as much energy as reasonably possible > then and runtime latency constraints don't matter at that point, since > the system is in a sleep state anyway. > > Signed-off-by: Rafael J. Wysocki > --- > > This is on top of https://patchwork.kernel.org/patch/4071541/ . > Wouldn't make sense to revisit play_dead instead ? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog