From patchwork Fri Aug 1 10:26:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 34694 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CB08920670 for ; Fri, 1 Aug 2014 10:27:27 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id cm18sf9190428qab.3 for ; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:message-id:date:from:user-agent :mime-version:to:subject:references:in-reply-to:cc:precedence :list-id:list-unsubscribe:list-archive:list-post:list-help :list-subscribe:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list :content-transfer-encoding:content-type; bh=bw9J+IJqMUKszV5emNsuGg5rStN/WAQ2uw2GxU23OBk=; b=eN5SFMRjm/0Xc9Re+oRiKZgpKBp39PUHaAl21sbnYeWyQ0mBjfp0uBIFJu1h7k69t+ E3O2yqOqv2EPQyRctFcLnRR3KzvQ3NeS5p9x6buK69d/ngqSnXitl6thj56BbEmVacg/ GZQiX77dr8B8D0/1wtqP5REfU1pxkPXiN1+mW+ES07YvhFg87ZwgFTfg1rZAGSf/MgVS MN6koHnq75hfST++qT9fi83YbH0btmZbwkS6n69+0huH0byDM8yHzN2JFBPQvZoQoEbL G9m+Z9haCvFFfOtmATNJY0DCgs9xvN1BQgko8E/bNKKdq/vU7lQ7DThvXpRioiSvtGMI MWBg== X-Gm-Message-State: ALoCoQn1Z8KXERfMp/GjjlVza9WHQh7pFU2wEAcdjk3bB1eKSRjbaBLs3SPWugbOA9vPfUfSqXsi X-Received: by 10.236.60.129 with SMTP id u1mr1788197yhc.57.1406888847563; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.108.228 with SMTP id j91ls1281696qgf.31.gmail; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) X-Received: by 10.53.12.225 with SMTP id et1mr3891648vdd.5.1406888847433; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id l3si6848735ver.30.2014.08.01.03.27.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Aug 2014 03:27:27 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id la4so6317587vcb.33 for ; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) X-Received: by 10.221.47.9 with SMTP id uq9mr4663219vcb.48.1406888847336; Fri, 01 Aug 2014 03:27:27 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp99100vcb; Fri, 1 Aug 2014 03:27:26 -0700 (PDT) X-Received: by 10.68.229.193 with SMTP id ss1mr4773102pbc.158.1406888846142; Fri, 01 Aug 2014 03:27:26 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id gt9si9255816pac.63.2014.08.01.03.27.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 03:27:26 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XDA2N-0003x5-R3; Fri, 01 Aug 2014 10:26:11 +0000 Received: from service87.mimecast.com ([91.220.42.44]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XDA2H-0003re-68 for linux-arm-kernel@lists.infradead.org; Fri, 01 Aug 2014 10:26:06 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 01 Aug 2014 11:25:39 +0100 Received: from [10.1.207.61] ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 1 Aug 2014 11:25:39 +0100 Message-ID: <53DB6B4F.9080605@arm.com> Date: Fri, 01 Aug 2014 11:26:23 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Olof Johansson , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH] ARM: multi_v7_defconfig: major refresh References: <1406052070-6207-1-git-send-email-olof@lixom.net> In-Reply-To: <1406052070-6207-1-git-send-email-olof@lixom.net> X-OriginalArrivalTime: 01 Aug 2014 10:25:39.0343 (UTC) FILETIME=[F0B6E9F0:01CFAD72] X-MC-Unique: 114080111253901601 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140801_032605_524541_67E5EF06 X-CRM114-Status: GOOD ( 15.41 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, medium trust [91.220.42.44 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [91.220.42.44 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: "arm@kernel.org" , Pawel Moll , "kgene.kim@gmail.com" , Sudeep Holla , "lee.jones@linaro.org" , "maxime.coquelin@st.com" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sudeep.holla@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.174 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 On 22/07/14 19:01, Olof Johansson wrote: > This is a major refresh of the multi_v7_defconfig: > > - Bring over a bunch of Samsung drivers to make ODROID-U3 and Chromebooks usable > * Enable big.LITTLE > * MCPM > * CYAPA touchpad > * Samsung-related MTD/regulator/clk/pinmux drivers > * Add some of the CrOS EC drivers > - Turn on TPM, HW_RANDOM > - OMAP_USB3 -> TI_PIPE3 option rename > - Enable MCPM/b.L for VEXPRESS > - Add new CONFIG_MTD_SPI_NOR since it otherwise masks off SPI NOR drivers > - CONFIG_LOGO, because penguins. > > I took care to keep the new options that have been added for whose the > drivers are not yet in our for-next branch. This was pretty awkward so > we should sort out how to handle those better in the future. > > Signed-off-by: Olof Johansson > --- > arch/arm/configs/multi_v7_defconfig | 74 +++++++++++++++++++++++++++-------- > 1 file changed, 58 insertions(+), 16 deletions(-) > > diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig > index 16518a7..c7654cf 100644 > --- a/arch/arm/configs/multi_v7_defconfig > +++ b/arch/arm/configs/multi_v7_defconfig > @@ -50,6 +50,7 @@ CONFIG_MACH_SPEAR1310=y > CONFIG_MACH_SPEAR1340=y > CONFIG_ARCH_STI=y > CONFIG_ARCH_EXYNOS=y > +CONFIG_EXYNOS5420_MCPM=y > CONFIG_ARCH_SUNXI=y > CONFIG_ARCH_SIRF=y > CONFIG_ARCH_TEGRA=y > @@ -57,21 +58,23 @@ CONFIG_ARCH_TEGRA_2x_SOC=y > CONFIG_ARCH_TEGRA_3x_SOC=y > CONFIG_ARCH_TEGRA_114_SOC=y > CONFIG_ARCH_TEGRA_124_SOC=y > -CONFIG_TEGRA_EMC_SCALING_ENABLE=y > CONFIG_ARCH_U8500=y > CONFIG_MACH_HREFV60=y > CONFIG_MACH_SNOWBALL=y > -CONFIG_MACH_UX500_DT=y > CONFIG_ARCH_VEXPRESS=y > CONFIG_ARCH_VEXPRESS_CA9X4=y > +CONFIG_ARCH_VEXPRESS_DCSCB=y > +CONFIG_ARCH_VEXPRESS_TC2_PM=y > CONFIG_ARCH_WM8850=y > CONFIG_ARCH_ZYNQ=y > -CONFIG_TRUSTED_FOUNDATIONS=y > CONFIG_PCI=y > CONFIG_PCI_MSI=y > CONFIG_PCI_MVEBU=y > CONFIG_PCI_TEGRA=y > CONFIG_SMP=y > +CONFIG_BIG_LITTLE=y > +CONFIG_BL_SWITCHER=y IIUC, this will enable switcher code by default. I am not sure if this is intentional ? E.g.: After this I can have only 2 active cpus instead of 5 on my Vexpress TC2 platform. IMO we can keep this enabled by default in the build, but disabled by default on boot. One way to achieve this: (There's sysfs to re-enable it runtime) -->8 static int __init bL_switcher_init(void) --- > +CONFIG_BL_SWITCHER_DUMMY_IF=y This was added only for debugging purposes, again not sure if you want this enabled by default. Ideally it should be triggered by CPUFreq. Regards, Sudeep diff --git a/arch/arm/common/bL_switcher.c b/arch/arm/common/bL_switcher.c index 490f3dced749..f4c36e70166a 100644 --- a/arch/arm/common/bL_switcher.c +++ b/arch/arm/common/bL_switcher.c @@ -794,7 +794,7 @@ static int bL_switcher_hotplug_callback(struct notifier_block *nfb, return NOTIFY_DONE; } -static bool no_bL_switcher; +static bool no_bL_switcher = true; core_param(no_bL_switcher, no_bL_switcher, bool, 0644);