From patchwork Tue Aug 4 16:39:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Torokhov X-Patchwork-Id: 6942771 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5C74CC05AC for ; Tue, 4 Aug 2015 16:39:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7C05F205B4 for ; Tue, 4 Aug 2015 16:39:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 91D7020445 for ; Tue, 4 Aug 2015 16:39:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752900AbbHDQjZ (ORCPT ); Tue, 4 Aug 2015 12:39:25 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:36001 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752462AbbHDQjY (ORCPT ); Tue, 4 Aug 2015 12:39:24 -0400 Received: by pdco4 with SMTP id o4so6485005pdc.3; Tue, 04 Aug 2015 09:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=owwGqEUovn5OyaymyVPVsbuxG6UUy1lUW9XDb36qHCI=; b=VJoxlhJ5Korsvf/3rO92PykXUHnRrcJtfkvcmFRYEnFuiteW5QXQqp9hv9H8ogoigg Nq/lDo3o14VdwfbxB2U3OMhaPtecyHz5GhN3J8Y7FQNZKFueKxo5tZn6hbCnOIrKCAfA lnS4RiLe2Ei3FA2ee4byLjOe+k6JJ45qRkawMdmOGpN0cB/baLdrInIe/ECApREipy+Z Rui276QbtBGSjkIz+0C8fS+emPRcN/RZsyxOldMqLm6uOVjukReaeRncovcM+dGccX2C ZQKOeYGd/eMncjnTAhuEhd9AroLtJiceZc48q80ZcoK2Il3NIRdvgUsWoKm3/5xEaAZV 78Wg== X-Received: by 10.70.128.14 with SMTP id nk14mr9604967pdb.79.1438706364396; Tue, 04 Aug 2015 09:39:24 -0700 (PDT) Received: from dtor-ws ([2620:0:1000:1301:fca4:4f94:5ef8:5889]) by smtp.gmail.com with ESMTPSA id l2sm1971579pdd.65.2015.08.04.09.39.23 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 04 Aug 2015 09:39:23 -0700 (PDT) Date: Tue, 4 Aug 2015 09:39:21 -0700 From: Dmitry Torokhov To: Eduardo Valentin Cc: Zhang Rui , Srinivas Pandruvada , Javi Merino , Tushar Dave , Lan Tianyu , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] thermal: remove power allocator from list of default governors Message-ID: <20150804163921.GA36852@dtor-ws> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, TVD_SUBJ_WIPE_DEBT, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP As it currently stands the power allocator governor can not handle thermal zones that are not specifically crafted and therefore can not be used as a default governor. Users need to explicitly enable this governor for thermal zones that do have enough information for its operation. Signed-off-by: Dmitry Torokhov Reviewed-by: Daniel Kurtz Tested-by: Daniel Kurtz --- drivers/thermal/Kconfig | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 0390044..34d05d3 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig @@ -82,14 +82,6 @@ config THERMAL_DEFAULT_GOV_USER_SPACE Select this if you want to let the user space manage the platform thermals. -config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR - bool "power_allocator" - select THERMAL_GOV_POWER_ALLOCATOR - help - Select this if you want to control temperature based on - system and device power allocation. This governor can only - operate on cooling devices that implement the power API. - endchoice config THERMAL_GOV_FAIR_SHARE