From patchwork Mon Jul 9 09:27:06 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 9897 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 8F8BE23F55 for ; Mon, 9 Jul 2012 09:27:58 +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 5F576A180C6 for ; Mon, 9 Jul 2012 09:27:58 +0000 (UTC) Received: by mail-yw0-f52.google.com with SMTP id p61so11412322yhp.11 for ; Mon, 09 Jul 2012 02:27:58 -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=MjtXSQvm+eeLUPJx1NiaOQWVngW1LalDve8v27mB3i9Yt7CJuwY/PlK2q7BHkxLsvU DTCvrQS7g44QqJu8+zFN9wshvc+h5RJkJHTfvE7/r7SwfSmrHTw1etdQrE5clh529nzO 0R9Qm/3wkz9ub9GLpPeP8aUeOImNDTTD/vp0LRT3eYf+qBzTvSvOG1CBLhoj/i2gHX45 S69XhVPMgoustDGnIk1sGYHhYJLCUomyaNrI2YdYnjWqMtRnzHu41MM48ucQ3541TmYD Pdi9qACzDEiyrEi6uswZqHm2fiS5Rk9CXj//14m8d4SlWnk2ux41BS1Ant5hCONz3SvF CVVA== Received: by 10.50.87.227 with SMTP id bb3mr7687528igb.57.1341826077979; Mon, 09 Jul 2012 02:27:57 -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 v20csp33305ibb; Mon, 9 Jul 2012 02:27:57 -0700 (PDT) Received: by 10.180.78.99 with SMTP id a3mr27854976wix.15.1341826076564; Mon, 09 Jul 2012 02:27:56 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id hv6si15435025wib.45.2012.07.09.02.27.56 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 02:27:56 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) smtp.mail=vincent.guittot@linaro.org Received: by mail-wg0-f50.google.com with SMTP id ds11so11040482wgb.31 for ; Mon, 09 Jul 2012 02:27:56 -0700 (PDT) Received: by 10.216.237.161 with SMTP id y33mr10365387weq.62.1341826076023; Mon, 09 Jul 2012 02:27:56 -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 j6sm33557246wiy.4.2012.07.09.02.27.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 Jul 2012 02:27:55 -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 v4 5/5] sched: cpu_power: enable ARCH_POWER Date: Mon, 9 Jul 2012 11:27:06 +0200 Message-Id: <1341826026-6504-6-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1341826026-6504-1-git-send-email-vincent.guittot@linaro.org> References: <1341826026-6504-1-git-send-email-vincent.guittot@linaro.org> X-Gm-Message-State: ALoCoQm9zVU2+ZBxQWRxdlCYJc3kfr+X1hrsBhF37swrPv1jqhYVfYLXSGyC7NRuCvc+y1G1eoCi 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)