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: 5810031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 68803BF440 for ; Wed, 11 Feb 2015 04:00:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8F22B20219 for ; Wed, 11 Feb 2015 04:00:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A7739201FA for ; Wed, 11 Feb 2015 04:00:31 +0000 (UTC) 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=f+vmjv8izdP8XvUuW3m7d+AhZv2a+IGvYUemJJF1xJA=; b=WdPCGdcX7Ia3R85tlwkwKu3NmLfBRbzeHRxpq6KBLSXeNErsBCUGz44r2cdDghKGjY q9heSd6DjjgK7aw9YrPAIaQKlia2zKeWVBQF/p1pNUoK+/ekkmud3z1+O3OPOuHp3g3J lHdDMAP9A0fcs7NHKmaFk1dwkfE+zAw3J3uNkbp2UD2MHe47ojxJzQZb1V/2tuY+gDnv It0XGppNC60jLz0sl6ezmpxF4boVXxlHMAO7v7iYMBMpy1b1foPrRUc4/vbXhVtu8kZl Ps81KfF8s/TUiH3FQ5C5b4+nznhyIkY6Dnn3cabxHy0Pi+GcujYeZk8rPlN+Kc70xL+8 oJhQ== X-Gm-Message-State: ALoCoQkJQ3XFT/jMuxx1YkzioVeQX6Biu174cGbJB4xYgHXHFrYJjh+IIFyGohruAb5zqRrhXhJk 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 (/) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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