From patchwork Tue Jun 19 08:28:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Guittot X-Patchwork-Id: 9448 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 2F3DE23E4F for ; Tue, 19 Jun 2012 08:30:30 +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 F3F39A186E9 for ; Tue, 19 Jun 2012 08:30:29 +0000 (UTC) Received: by yhpp61 with SMTP id p61so4927684yhp.11 for ; Tue, 19 Jun 2012 01:30:29 -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=EfjQISQhVtS3uSgEro5tln3Cgd9HVYZAszBtitC4juSAvSm4KNk7zGzMRp0zyc4pfv YWudkDOv8Umd0MUOIjJ/WnjU4swD+ipcDcJeT/oww013M4ADM9QzA0UV2ozJkpKpcTIx x6LB5ZX7vPwquGK/MHaw7rVLNh2aJ/gj6rjJf6o4Hyzs7KU/tpcjpzcIG2mie5ivR4zo hmsNDM4oSEMYTWHJUxgyPOtyBpLtqN4g3BXy8Bu5AjGMnP27le9YDj5bNODCprnCsY1P Fsmy5IHSSAh73Kpn5WkMTSt0aad731+5U3/KP/HbiGhA4ztzi5z/bEZ9Bo5v9aYrP6d6 cfPg== Received: by 10.50.203.39 with SMTP id kn7mr306403igc.53.1340094629302; Tue, 19 Jun 2012 01:30:29 -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 v20csp112602ibb; Tue, 19 Jun 2012 01:30:25 -0700 (PDT) Received: by 10.216.144.27 with SMTP id m27mr4312023wej.62.1340094624959; Tue, 19 Jun 2012 01:30:24 -0700 (PDT) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id t6si25745162wiz.28.2012.06.19.01.30.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 01:30:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of vincent.guittot@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id hm11so293543wib.13 for ; Tue, 19 Jun 2012 01:30:24 -0700 (PDT) Received: by 10.216.132.94 with SMTP id n72mr1632852wei.60.1340094624320; Tue, 19 Jun 2012 01:30:24 -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 d3sm56434001wiz.9.2012.06.19.01.30.22 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jun 2012 01:30:23 -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, Vincent Guittot Subject: [PATCH v2 5/5] sched: cpu_power: enable ARCH_POWER Date: Tue, 19 Jun 2012 10:28:56 +0200 Message-Id: <1340094536-20873-6-git-send-email-vincent.guittot@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1340094536-20873-1-git-send-email-vincent.guittot@linaro.org> References: <1340094536-20873-1-git-send-email-vincent.guittot@linaro.org> X-Gm-Message-State: ALoCoQkgSJ+9LeUR0+js+FEmPOud83hzfIcSxKarP6HDEqyVR34YHNfuur+644z/mEwdrc5cJXSL 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)