From patchwork Wed Feb 11 03:52:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 5810041 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 364819F336 for ; Wed, 11 Feb 2015 04:00:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 561E520218 for ; Wed, 11 Feb 2015 04:00:34 +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 66785201FA for ; Wed, 11 Feb 2015 04:00:33 +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 1YLORn-0001SA-Rw; Wed, 11 Feb 2015 03:58:43 +0000 Received: from mail-pd0-f179.google.com ([209.85.192.179]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLORg-0001J1-Er for linux-arm-kernel@lists.infradead.org; Wed, 11 Feb 2015 03:58:37 +0000 Received: by pdbfl12 with SMTP id fl12so1540965pdb.2 for ; Tue, 10 Feb 2015 19:58:15 -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=qdOajpiiq0JA8wyo3eAMMqYkdnqheaOp+rTUR+y/GjE=; b=JXe3pNO5vOE1r04hEasev9nbJNXe7HUrxYBLaCt4jngk6hIhVVaVnkEKY8dgJAYIrt GpDaBTclSMsHOz+bPtXTUJN+n5sG6gVxISIJD6GGNWOp6Q8L/QJ6oem3KNMAV92T++3h +ied03yEK1Yd2TTZkh++e88RcfHLF/xBnJYV2KacBJeK0+zhXRHUcRTJvyfiFJCrpc6E l2dNCJTcYcP3ZrupGtt3/TAq149ABpakeaBLkUjGOIVwgujP9M4Hm8CCho0Odn1MV7FD Y+8wTboXx9gNRrONYg/UZNzWxd+OtW7OrlOVdh9MjSwzjfjdTrJMQ5UyNvySd9z7MQcE 5Llw== X-Gm-Message-State: ALoCoQkyIa/v3kygmIZyYk4AV8FTAI61715OsDsPoXa8oKwapWgrJ4kAh5GSU2AMLytE4W7SXPQM X-Received: by 10.67.7.225 with SMTP id df1mr7871679pad.48.1423627095238; Tue, 10 Feb 2015 19:58:15 -0800 (PST) Received: from localhost.localdomain ([210.177.145.245]) by mx.google.com with ESMTPSA id ir9sm20788107pbc.3.2015.02.10.19.58.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Feb 2015 19:58:14 -0800 (PST) From: Tyler Baker To: arm@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: sunxi_defconfig: increase the number of maximum number of CPUs to 8 Date: Tue, 10 Feb 2015 19:52:28 -0800 Message-Id: <1423626748-1277-3-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_195836_531799_A0FDDE34 X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Olof Johansson , Maxime Ripard , 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 a80 optimus has 8 CPUs. I propose we increase the maximum number of CPUs to 8 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+0x110/0x1e0() DT /cpu 5 nodes greater than max cores 4, capping them CPU: 0 PID: 0 Comm: swapper Not tainted 3.19.0-00528-gbdccc4edeb03 #1 Hardware name: Allwinner sun9i Family [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [] (show_stack) from [] (dump_stack+0x74/0x90) [] (dump_stack) from [] (warn_slowpath_common+0x70/0xac) [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x30/0x40) [] (warn_slowpath_fmt) from [] (arm_dt_init_cpu_maps+0x110/0x1e0) [] (arm_dt_init_cpu_maps) from [] (setup_arch+0x634/0x8d4) [] (setup_arch) from [] (start_kernel+0x88/0x3ac) [] (start_kernel) from [<20008074>] (0x20008074) ---[ end trace cb88537fdc8fa200 ]--- [1] http://storage.kernelci.org/mainline/v3.19-528-gbdccc4edeb03/arm-sunxi_defconfig/lab-tbaker/boot-sun9i-a80-optimus.html Cc: Maxime Ripard Cc: Olof Johansson Cc: Kevin Hilman Cc: Arnd Bergmann Signed-off-by: Tyler Baker --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 38840a8..8f6a570 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -4,6 +4,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_PERF_EVENTS=y CONFIG_ARCH_SUNXI=y CONFIG_SMP=y +CONFIG_NR_CPUS=8 CONFIG_AEABI=y CONFIG_HIGHMEM=y CONFIG_HIGHPTE=y