Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758445AbcC3CyH (ORCPT ); Tue, 29 Mar 2016 22:54:07 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:33197 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753389AbcC3CyE (ORCPT ); Tue, 29 Mar 2016 22:54:04 -0400 Date: Wed, 30 Mar 2016 10:53:53 +0800 From: Leo Yan To: Eduardo Valentin Cc: Wei Xu , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Zhang Rui , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/4] thermal: hisilicon: enable power allocator for Hi6220 Message-ID: <20160330025353.GA28401@leoy-linaro> References: <1459250835-25561-1-git-send-email-leo.yan@linaro.org> <20160329154548.GE1855@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160329154548.GE1855@localhost.localdomain> 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 Content-Length: 1525 Lines: 37 On Tue, Mar 29, 2016 at 08:45:59AM -0700, Eduardo Valentin wrote: > On Tue, Mar 29, 2016 at 07:27:11PM +0800, Leo Yan wrote: > > Hi6220 has octa-core so it has quite high power consumption when run > > benchmark and introduces high temperature for SoC. So need enable > > thermal governor to control temperature and also cannot hurt much for > > performance after impose cooling operations on CPU. > > > > This patch series is to enable power allocator for Hi6220. Patch 1 is to > > change "hysteresis" as optional property for trip points, so when enable > > power allocator governor we can ignore this property. > > > > During profiling also found two issues for thermal sensor's driver. The > > power allocator just uses only one sensor, so patch 2 is to fix sensor > > driver to let it can initialize driver successfully with only enabling > > one sensor; patch 3 is to dismiss warning of IRQ imbalance enabling. > > > > After profiling on Hikey, the power model has been simplized with only > > dynamic coefficient, and now it's convienence to pass it from CPU node. > > So patch 4 and 5 bind sensor and pass power model parameters. > > > > This patch series have been tested on 96boards Hikey. > > Applied patches 1 and 2 in my fixes branch. Patches 3 and 4 need to go > via the hisi platform tree. You may add my > > Acked-by: Eduardo Valentin > > on patches 3 and 4 if you want. Thanks, Eduardo. Hi Wei, Could you help pick up patches 3/4 for enabling thermal in dts? Thanks, Leo Yan