From patchwork Wed Feb 11 03:52:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 44535 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4B1882151F for ; Wed, 11 Feb 2015 03:59:54 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id e53sf1064257eek.3 for ; Tue, 10 Feb 2015 19:59:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list; bh=LhG1cOaIK3DlnWAhLj9ztqNVbI7lfqNZRjTj1LVPhMI=; b=AeCTXodez9d7Gt4ED0xws3RkwPRtadqK1JHmdUSmBLK5TNwCQ2V4JDIpBVNSeLi0Cy bs+Lq1HTBip5xQowPf+0xGm7jwU7Sl9F4T1rEgIiIW8ATsgnkzkIPbVRp28p6L89bKvw f1dXvE+EZeWAmuKLRE19nJd134rwK15CKbaIO78vL/fb4qrjgqVn3Kpt6HYAxnwpPofh sFBEDWldeV5DrGwnjqYHTTO3nE0/7xCo6y8yhEqj3BlGXdCEmfNdLU0+NCaDSalbMRwd etno1WIRp6KpX5bE8JSew4Qe26PwLgX8QVaeaWRWqZ0DpsvyWax0YB1bfsJMwVSzeX++ ADJw== X-Gm-Message-State: ALoCoQngaOPEJkIqjQhWAe/DbvBlksJD63KkgRWRDBHn2RDOArhAHaDI2rryMZxQLG6178UokGzX X-Received: by 10.112.45.197 with SMTP id p5mr3260528lbm.18.1423627193387; Tue, 10 Feb 2015 19:59:53 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.193 with SMTP id ao1ls15928lac.20.gmail; Tue, 10 Feb 2015 19:59:53 -0800 (PST) X-Received: by 10.112.199.162 with SMTP id jl2mr25857414lbc.48.1423627192991; Tue, 10 Feb 2015 19:59:52 -0800 (PST) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id xl5si13477593lbb.60.2015.02.10.19.59.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 19:59:52 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by labgq15 with SMTP id gq15so972741lab.3 for ; Tue, 10 Feb 2015 19:59:52 -0800 (PST) X-Received: by 10.112.213.38 with SMTP id np6mr26042878lbc.36.1423627192863; Tue, 10 Feb 2015 19:59:52 -0800 (PST) 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.112.35.133 with SMTP id h5csp1007614lbj; Tue, 10 Feb 2015 19:59:51 -0800 (PST) X-Received: by 10.68.221.34 with SMTP id qb2mr43006491pbc.47.1423627190020; Tue, 10 Feb 2015 19:59:50 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id qk3si28929128pbc.251.2015.02.10.19.59.49 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 19:59:50 -0800 (PST) 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 1YLORa-0001NP-R4; Wed, 11 Feb 2015 03:58:30 +0000 Received: from mail-pd0-f180.google.com ([209.85.192.180]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLORY-0001I2-44 for linux-arm-kernel@lists.infradead.org; Wed, 11 Feb 2015 03:58:28 +0000 Received: by pdbfp1 with SMTP id fp1so1485525pdb.9 for ; Tue, 10 Feb 2015 19:58:06 -0800 (PST) X-Received: by 10.70.101.136 with SMTP id fg8mr43429766pdb.65.1423627086281; Tue, 10 Feb 2015 19:58:06 -0800 (PST) Received: from localhost.localdomain ([210.177.145.245]) by mx.google.com with ESMTPSA id ir9sm20788107pbc.3.2015.02.10.19.58.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Feb 2015 19:58:05 -0800 (PST) From: Tyler Baker To: arm@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: multi_v7_defconfig: increase the number of maximum number of CPUs to 16 Date: Tue, 10 Feb 2015 19:52:27 -0800 Message-Id: <1423626748-1277-2-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1423626748-1277-1-git-send-email-tyler.baker@linaro.org> References: <1423626748-1277-1-git-send-email-tyler.baker@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150210_195828_197046_F30E0DB1 X-CRM114-Status: GOOD ( 10.41 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.180 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.180 listed in wl.mailspike.net] Cc: Olof Johansson , Tyler Baker , Arnd Bergmann , Kevin Hilman 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: , MIME-Version: 1.0 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: tyler.baker@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 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 The HiSilicon HiP04 has 16 CPUs. I propose we increase the maximum number of CPUs to 16 to avoid the following warning identified during automated boot testing [1]. ------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at ../arch/arm/kernel/devtree.c:144 arm_dt_init_cpu_maps+0x118/0x1e8() DT /cpu 9 nodes greater than max cores 8, capping them Modules linked in: CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.0-00528-gbdccc4edeb03 #1 Hardware name: Hisilicon HiP04 (Flattened Device Tree) [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x78/0x94) [] (dump_stack) from [] (warn_slowpath_common+0x74/0xb0) [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x30/0x40) [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0x118/0x1e8) [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x638/0x9a0) [] (setup_arch) from [] (start_kernel+0x8c/0x3b4) [] (start_kernel) from [<10208074>] (0x10208074) ---[ end trace cb88537fdc8fa200 ]--- [1] http://storage.kernelci.org/mainline/v3.19-528-gbdccc4edeb03/arm-multi_v7_defconfig/lab-tbaker/boot-hip04-d01.html Cc: Olof Johansson Cc: Kevin Hilman Cc: Arnd Bergmann Signed-off-by: Tyler Baker --- arch/arm/configs/multi_v7_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index e8a4c95..ad57306 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -86,7 +86,7 @@ CONFIG_PCI_MVEBU=y CONFIG_PCI_TEGRA=y CONFIG_PCIEPORTBUS=y CONFIG_SMP=y -CONFIG_NR_CPUS=8 +CONFIG_NR_CPUS=16 CONFIG_HIGHPTE=y CONFIG_CMA=y CONFIG_ARM_APPENDED_DTB=y