From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Horman Date: Thu, 19 Mar 2015 02:05:26 +0000 Subject: Re: [PATCH V2] ARM: shmobile: cpuidle: Remove the pointless default driver Message-Id: <20150319020526.GL14051@verge.net.au> List-Id: References: <1426605912-28032-1-git-send-email-daniel.lezcano@linaro.org> <550847BA.8050503@linaro.org> In-Reply-To: <550847BA.8050503@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Tue, Mar 17, 2015 at 04:26:50PM +0100, Daniel Lezcano wrote: > > Sorry Geert, I forget to Cc you. > > On 03/17/2015 04:25 PM, Daniel Lezcano wrote: > >The default idle driver uses one state with the WFI instruction. > >The default idle routine invokes WFI when no cpuidle driver is present. > > > >The default cpuidle driver is pointless and does not give more than the > >default idle routine and moreover it pulls all the mathematics tied with > >the cpuidle governor for nothing, hence consuming more energy. > > > >Remove the default driver, the related code and register the driver directly. > > > >[compiled only - no board - no test] > > > >Signed-off-by: Daniel Lezcano Thanks Daniel, I have queued this up for v4.1. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754586AbbCSCFc (ORCPT ); Wed, 18 Mar 2015 22:05:32 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:60453 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750852AbbCSCF2 (ORCPT ); Wed, 18 Mar 2015 22:05:28 -0400 Date: Thu, 19 Mar 2015 11:05:26 +0900 From: Simon Horman To: Daniel Lezcano Cc: geert Uytterhoeven , magnus.damm@gmail.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] ARM: shmobile: cpuidle: Remove the pointless default driver Message-ID: <20150319020526.GL14051@verge.net.au> References: <1426605912-28032-1-git-send-email-daniel.lezcano@linaro.org> <550847BA.8050503@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <550847BA.8050503@linaro.org> Organisation: Horms Solutions Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2015 at 04:26:50PM +0100, Daniel Lezcano wrote: > > Sorry Geert, I forget to Cc you. > > On 03/17/2015 04:25 PM, Daniel Lezcano wrote: > >The default idle driver uses one state with the WFI instruction. > >The default idle routine invokes WFI when no cpuidle driver is present. > > > >The default cpuidle driver is pointless and does not give more than the > >default idle routine and moreover it pulls all the mathematics tied with > >the cpuidle governor for nothing, hence consuming more energy. > > > >Remove the default driver, the related code and register the driver directly. > > > >[compiled only - no board - no test] > > > >Signed-off-by: Daniel Lezcano Thanks Daniel, I have queued this up for v4.1. From mboxrd@z Thu Jan 1 00:00:00 1970 From: horms@verge.net.au (Simon Horman) Date: Thu, 19 Mar 2015 11:05:26 +0900 Subject: [PATCH V2] ARM: shmobile: cpuidle: Remove the pointless default driver In-Reply-To: <550847BA.8050503@linaro.org> References: <1426605912-28032-1-git-send-email-daniel.lezcano@linaro.org> <550847BA.8050503@linaro.org> Message-ID: <20150319020526.GL14051@verge.net.au> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Mar 17, 2015 at 04:26:50PM +0100, Daniel Lezcano wrote: > > Sorry Geert, I forget to Cc you. > > On 03/17/2015 04:25 PM, Daniel Lezcano wrote: > >The default idle driver uses one state with the WFI instruction. > >The default idle routine invokes WFI when no cpuidle driver is present. > > > >The default cpuidle driver is pointless and does not give more than the > >default idle routine and moreover it pulls all the mathematics tied with > >the cpuidle governor for nothing, hence consuming more energy. > > > >Remove the default driver, the related code and register the driver directly. > > > >[compiled only - no board - no test] > > > >Signed-off-by: Daniel Lezcano Thanks Daniel, I have queued this up for v4.1.