From patchwork Tue Jun 12 12:02:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 9223 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 99B3023E56 for ; Tue, 12 Jun 2012 12:02:59 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6B2CFA18291 for ; Tue, 12 Jun 2012 12:02:59 +0000 (UTC) Received: by mail-yx0-f180.google.com with SMTP id q6so3601145yen.11 for ; Tue, 12 Jun 2012 05:02:59 -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=QIpnCBz6wKOX0qqaRqgjRlNsS+FjcURYu9cF8O0oFR3IxpAQzQleNoRlEeFr0vOp1W NF1LddPHVb9eXZTzmiaVsyjIGdO7A7CUamSMj3TZrJjczsFwGtzpiJhmTPKHr41hr3li rEzVyLkCaTeDFfaphxUMMTDwdjaaDdeYvz2B7DsEI1zqyXbzWfbJWrG91RWpc3mZqMzF QlWi5FP0C9b5o0+aiURtgkNkRMq/pVWfh70ANhaqtLCAe901BItiL64dduBx2MD9NX/O WArSzUlMdS6DtJkpW12WtoV+hDiIS/l02ORAKbfZ4e/Jdv1YetY9mwv4VQPUZNapQN/w UZwA== Received: by 10.50.160.198 with SMTP id xm6mr8053825igb.0.1339502578688; Tue, 12 Jun 2012 05:02:58 -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 v20csp162833ibb; Tue, 12 Jun 2012 05:02:57 -0700 (PDT) Received: by 10.216.208.151 with SMTP id q23mr8558551weo.20.1339502577405; Tue, 12 Jun 2012 05:02:57 -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 fp8si4026834wib.19.2012.06.12.05.02.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2012 05:02:57 -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 wgbds11 with SMTP id ds11so4307576wgb.31 for ; Tue, 12 Jun 2012 05:02:56 -0700 (PDT) Received: by 10.180.109.194 with SMTP id hu2mr28400216wib.0.1339502576443; Tue, 12 Jun 2012 05:02: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 gb9sm5060217wib.8.2012.06.12.05.02.54 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 12 Jun 2012 05:02: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, peterz@infradead.org, grant.likely@secretlab.ca, rob.herring@calxeda.com, Vincent Guittot Subject: [RFC 4/4] sched: cpu_power: enable ARCH_POWER Date: Tue, 12 Jun 2012 14:02:04 +0200 Message-Id: <1339502524-10265-5-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1339502524-10265-1-git-send-email-vincent.guittot@linaro.org> References: <1339502524-10265-1-git-send-email-vincent.guittot@linaro.org> X-Gm-Message-State: ALoCoQm4NGPMfaIbTPxUBdQDHwQyqToyKViNAoOYU26UJYHxZ62O7aoFMNlhURakIwBC6pGTw2k2 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)