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: 44536 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9756B2151F for ; Wed, 11 Feb 2015 04:00:01 +0000 (UTC) Received: by lams18 with SMTP id s18sf560293lam.1 for ; Tue, 10 Feb 2015 20:00:00 -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=cQs7OcTxKrWScGCPRrSx1y5LvsAPDr0cTHfQNoiBWys=; b=Vi/eZB2mzOyDQboSkZT0L3Ftw5ra9/AEuzXtjfFm+slEEIg+/wzmcby98PXYieiReM sptd8OS1zCpXt71VrGcQXbZZbqaE7B9ju5GPye6c/vE/VmRZkKe/AVTx6aNbhx/TRVXK rc3Ey+kxXe+3Oox6ftsgA4W477G9WnW/yd+jfFhxrmXAQ11WCZmjsaHwqhP2wZPspl6E btd283MuMi7vWPARuh+OugATReqe90e4rQ1+KbQcZOmTOo89MrPFWVktOiWnxUAascE8 NorIUDCShhyFl506tphwxud3d9FHsKdHTnYX5ltVvji6VsK+Ci4Lo5qkcwBt4SU2l7+F 48LQ== X-Gm-Message-State: ALoCoQl/DmUqY2fmXVNqFxw2Rc4QXvPFGxXafWItLgehSRLkqDzOu7bOIPT0NpSEYSZPwETcyWSU X-Received: by 10.112.90.226 with SMTP id bz2mr3119652lbb.6.1423627200600; Tue, 10 Feb 2015 20:00:00 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.132 with SMTP id n4ls14996lae.6.gmail; Tue, 10 Feb 2015 20:00:00 -0800 (PST) X-Received: by 10.152.5.6 with SMTP id o6mr9375695lao.59.1423627200163; Tue, 10 Feb 2015 20:00:00 -0800 (PST) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id o6si13386440lae.153.2015.02.10.20.00.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 20:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id w7so908554lbi.10 for ; Tue, 10 Feb 2015 20:00:00 -0800 (PST) X-Received: by 10.112.125.4 with SMTP id mm4mr26169541lbb.86.1423627200025; Tue, 10 Feb 2015 20:00:00 -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 h5csp1007659lbj; Tue, 10 Feb 2015 19:59:58 -0800 (PST) X-Received: by 10.70.37.134 with SMTP id y6mr16583865pdj.13.1423627197038; Tue, 10 Feb 2015 19:59:57 -0800 (PST) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id hn1si17363133pdb.148.2015.02.10.19.59.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 19:59:57 -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 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-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 (/) 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.179 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.179 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 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+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.217.179 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 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