From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model. Date: Wed, 16 Dec 2015 09:44:46 +0530 Message-ID: <20151216041446.GE3111@ubuntu> References: <1450238356-36319-1-git-send-email-dawei.chien@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1450238356-36319-1-git-send-email-dawei.chien-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+glpam-linux-mediatek=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: Dawei Chien Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Punit Agrawal , srv_heupstream-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, Pawel Moll , Ian Campbell , Sascha Hauer , Daniel Lezcano , "Rafael J. Wysocki" , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Sascha Hauer , Kumar Gala , Matthias Brugger , linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-mediatek@lists.infradead.org On 16-12-15, 11:59, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > for binding CPU thermal zone. The power allocator governor allocates power > budget to control CPU temperature. > > Power Allocator governor is able to keep SOC temperature within a defined > temperature range to avoid SOC overheat and keep it's performance. > mt8173-cpufreq.c need to register its' own power model with power allocator > thermal governor, so that power allocator governor can allocates suitable > power budget to control CPU temperature. > > Binding document is refer to this patchset > https://lkml.org/lkml/2015/11/30/239 > > Change since V4: > 1. Remove unnecessary error-checking for mt8173-cpufreq.c > 2. Initializing variable capacitance with 0 Acked-by: Viresh Kumar -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 From: viresh.kumar@linaro.org (Viresh Kumar) Date: Wed, 16 Dec 2015 09:44:46 +0530 Subject: [PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model. In-Reply-To: <1450238356-36319-1-git-send-email-dawei.chien@mediatek.com> References: <1450238356-36319-1-git-send-email-dawei.chien@mediatek.com> Message-ID: <20151216041446.GE3111@ubuntu> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 16-12-15, 11:59, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > for binding CPU thermal zone. The power allocator governor allocates power > budget to control CPU temperature. > > Power Allocator governor is able to keep SOC temperature within a defined > temperature range to avoid SOC overheat and keep it's performance. > mt8173-cpufreq.c need to register its' own power model with power allocator > thermal governor, so that power allocator governor can allocates suitable > power budget to control CPU temperature. > > Binding document is refer to this patchset > https://lkml.org/lkml/2015/11/30/239 > > Change since V4: > 1. Remove unnecessary error-checking for mt8173-cpufreq.c > 2. Initializing variable capacitance with 0 Acked-by: Viresh Kumar -- viresh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754594AbbLPEOz (ORCPT ); Tue, 15 Dec 2015 23:14:55 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:35194 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754370AbbLPEOw (ORCPT ); Tue, 15 Dec 2015 23:14:52 -0500 Date: Wed, 16 Dec 2015 09:44:46 +0530 From: Viresh Kumar To: Dawei Chien Cc: "Rafael J. Wysocki" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Matthias Brugger , Daniel Kurtz , Sascha Hauer , Daniel Lezcano , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, Sascha Hauer , Punit Agrawal Subject: Re: [PATCH v5 0/3] thermal: mediatek: Add cpu dynamic power cooling model. Message-ID: <20151216041446.GE3111@ubuntu> References: <1450238356-36319-1-git-send-email-dawei.chien@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1450238356-36319-1-git-send-email-dawei.chien@mediatek.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16-12-15, 11:59, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > for binding CPU thermal zone. The power allocator governor allocates power > budget to control CPU temperature. > > Power Allocator governor is able to keep SOC temperature within a defined > temperature range to avoid SOC overheat and keep it's performance. > mt8173-cpufreq.c need to register its' own power model with power allocator > thermal governor, so that power allocator governor can allocates suitable > power budget to control CPU temperature. > > Binding document is refer to this patchset > https://lkml.org/lkml/2015/11/30/239 > > Change since V4: > 1. Remove unnecessary error-checking for mt8173-cpufreq.c > 2. Initializing variable capacitance with 0 Acked-by: Viresh Kumar -- viresh