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: 1171871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 2306B3FC2A for ; Mon, 9 Jul 2012 09:40:31 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SoAN1-0005ZT-Og; Mon, 09 Jul 2012 09:35:08 +0000 Received: from mail-wg0-f49.google.com ([74.125.82.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SoAG9-0004gf-Bw for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2012 09:28:03 +0000 Received: by mail-wg0-f49.google.com with SMTP id ds1so7829922wgb.18 for ; Mon, 09 Jul 2012 02:27:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=hxURnvxo4Md4gLoGj2R/PwUw6fuo31V8F+KmlhGX7rQ=; b=embBHIYy6wPeKIiVWFbjtwOha+RFdWE5EP3sWVzSxh6G/UCGlu5VG7QnNo8Vt1RfMI o0Qv9m9jxWX6VALDFzIf1Unjeu3DeoO8hSWT4utihW3O9V4NcrNWl+6qRHHOJke+skox 3eZMX/dLtA8pk6I7HutyolN21aY8qHQNsHl2/jwMX7GoClqXdMcKKexVvFILdGHur4/X +2SLxhNtl276/O5xskPcZwoXX4IMdQxNKHePzdOrJ2wXjjdkTXGvjJZrXsuZ/tRlIbff CR86vcFS7qlFwYIev9KAdp56jwUW2aPdu8jHow9ZWnUi2+G1wtufk1aIX5hkqIj/N2Kh WHdw== 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 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: ALoCoQkVNRCFSmpv0nMfHdfMgU5JeX6nZEW+qabTGvrWXYFKOUc6epuYiN76UeUZn8uhc2CDRHm2 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.49 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: linux@arm.linux.org.uk, a.p.zijlstra@chello.nl, jean.pihet@newoldbits.com, rob.herring@calxeda.com, Vincent Guittot , grant.likely@secretlab.ca, yong.zhang0@gmail.com, namhyung@kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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)