From patchwork Wed Jun 20 15:19:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 9511 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5D84823E1B for ; Wed, 20 Jun 2012 15:20:43 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 2C289A18341 for ; Wed, 20 Jun 2012 15:20:43 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so6361165yhp.11 for ; Wed, 20 Jun 2012 08:20:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=hxURnvxo4Md4gLoGj2R/PwUw6fuo31V8F+KmlhGX7rQ=; b=PhWxXDDAARy6U2WeuPG1UvDl/WE+2dlPmaT0GdrKlI+F/KFF8GTV/koFESCyFhw5K+ QeCL/7ay6uI41AB5eZi2UPwIkjD5j5b0/P5FAZ4CR/NIyifF9OO4qL3UdN4//BHQAsFt 4rFVU3TbK4MGQkTxbi97NoVEZ5UU+0KE0KazkyAKVl8Gi1kDizuD6kY6QHcYfWoML23O 8RQ8VtDwNMtqRWNVKTZZuI+baSRHG6fUWq0U4iCnR/q7QLDCjng1l7+AbX9YIGjJE+5S ahHu98r6oaHz0KinMaGmryPcxMjP4YKQ5vmYi0Bvx8GQk/SGJ0U7RkZpmioH5X9Sv+a7 voIQ== Received: by 10.42.155.73 with SMTP id t9mr10941415icw.48.1340205642765; Wed, 20 Jun 2012 08:20:42 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp185165ibb; Wed, 20 Jun 2012 08:20:42 -0700 (PDT) Received: by 10.180.14.193 with SMTP id r1mr12830401wic.13.1340205641617; Wed, 20 Jun 2012 08:20:41 -0700 (PDT) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id m58si29338858wee.35.2012.06.20.08.20.41 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jun 2012 08:20:41 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.178 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) smtp.mail=vincent.guittot@linaro.org Received: by werf13 with SMTP id f13so5275285wer.37 for ; Wed, 20 Jun 2012 08:20:41 -0700 (PDT) Received: by 10.180.82.42 with SMTP id f10mr12805158wiy.22.1340205641105; Wed, 20 Jun 2012 08:20:41 -0700 (PDT) Received: from localhost.localdomain (LPuteaux-156-14-44-212.w82-127.abo.wanadoo.fr. [82.127.83.212]) by mx.google.com with ESMTPS id gb9sm39525109wib.8.2012.06.20.08.20.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jun 2012 08:20:40 -0700 (PDT) From: Vincent Guittot To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linaro-dev@lists.linaro.org, devicetree-discuss@lists.ozlabs.org Cc: linux@arm.linux.org.uk, a.p.zijlstra@chello.nl, grant.likely@secretlab.ca, rob.herring@calxeda.com, yong.zhang0@gmail.com, namhyung@kernel.org, jean.pihet@newoldbits.com, Vincent Guittot Subject: [PATCH v3 5/5] sched: cpu_power: enable ARCH_POWER Date: Wed, 20 Jun 2012 17:19:22 +0200 Message-Id: <1340205562-7653-6-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1340205562-7653-1-git-send-email-vincent.guittot@linaro.org> References: <1340205562-7653-1-git-send-email-vincent.guittot@linaro.org> X-Gm-Message-State: ALoCoQlmoVOPc5N8FoJ4gic7sZ4X0qATwBWSTrjclCYqtEMWwfxe7GpPILGWzVM7Dn0bLdzbltUi Heteregeneous ARM platform uses arch_scale_freq_power function to reflect the relative capacity of each core Signed-off-by: Vincent Guittot --- kernel/sched/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/features.h b/kernel/sched/features.h index de00a48..d98ae90 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h @@ -42,7 +42,7 @@ SCHED_FEAT(CACHE_HOT_BUDDY, true) /* * Use arch dependent cpu power functions */ -SCHED_FEAT(ARCH_POWER, false) +SCHED_FEAT(ARCH_POWER, true) SCHED_FEAT(HRTICK, false) SCHED_FEAT(DOUBLE_TICK, false)