From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932716AbcI3JBu (ORCPT ); Fri, 30 Sep 2016 05:01:50 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36280 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932410AbcI3JBh (ORCPT ); Fri, 30 Sep 2016 05:01:37 -0400 Subject: Re: [PATCH v14 4/4] CMDQ: save more energy in idle To: Horng-Shyang Liao , Jassi Brar References: <1473039885-24009-1-git-send-email-hs.liao@mediatek.com> <1473039885-24009-5-git-send-email-hs.liao@mediatek.com> <1474622885.21723.25.camel@mtksdaap41> <1475225766.25044.33.camel@mtksdaap41> Cc: Rob Herring , Daniel Kurtz , Sascha Hauer , Devicetree List , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Sascha Hauer , Philipp Zabel , Nicolas Boichat , CK HU , cawa cheng , Bibby Hsieh , YT Shen , Daoyuan Huang , Damon Chu , Josh-YC Liu , Glory Hung , Jiaguang Zhang , Dennis-YC Hsieh , Monica Wang From: Matthias Brugger Message-ID: <73a10cdc-6aeb-73be-adcb-0367e2e07824@gmail.com> Date: Fri, 30 Sep 2016 11:01:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1475225766.25044.33.camel@mtksdaap41> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/30/2016 10:56 AM, Horng-Shyang Liao wrote: > On Fri, 2016-09-23 at 17:28 +0800, Horng-Shyang Liao wrote: >> On Thu, 2016-09-22 at 13:22 +0530, Jassi Brar wrote: >>> On Mon, Sep 5, 2016 at 7:14 AM, HS Liao wrote: >>>> Use clk_disable_unprepare instead of clk_disable to save more energy >>>> when CMDQ is idle. >>>> >>>> Signed-off-by: HS Liao >>>> --- >>>> drivers/mailbox/mtk-cmdq.c | 54 +++++++++++++++++++++++++++++++++++++++------- >>> >>> The driver is introduced by second patch of the set, so it makes sense >>> to merge this patch into patch 2/4. >> >> Hi Jassi, >> >> Could you take a look at previous discussion between Matthias and me? >> http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05239.html >> His basic idea is to simplify first working version. >> Therefore, I move some code to this patch. >> Well what I wanted to say is, that right now this driver is quite a big beast and this makes it difficult to review. So my idea was to just submit the most basic version of this driver. Any improvements on the driver should be sent in follow-up patches after the basic driver got merged. That was my idea. Regards, Matthias