From patchwork Mon Sep 8 11:44:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Richter X-Patchwork-Id: 4861511 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D75339F32F for ; Mon, 8 Sep 2014 11:47:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9DC520131 for ; Mon, 8 Sep 2014 11:47:42 +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 8BF382010E for ; Mon, 8 Sep 2014 11:47:41 +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 1XQxNx-0003Hc-Iv; Mon, 08 Sep 2014 11:45:29 +0000 Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XQxNt-0002FU-Vx for linux-arm-kernel@lists.infradead.org; Mon, 08 Sep 2014 11:45:27 +0000 Received: by mail-wg0-f48.google.com with SMTP id m15so1333505wgh.19 for ; Mon, 08 Sep 2014 04:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=lyS4Iug3ATDDCrrCJSVCP9g6FfplXe486WuL6CdifJU=; b=uiyFc5zSnv9szgnrI5F1sfZ6Cxo2DF0s3FlTgNDqmDYqwQPneDHM/CBHUaP/xnOCLg hoD5rz6aoKs8X5tnsy2kgPwoS0K/CwejpTZthRGWp8QBFbPWrX8lshAA8hvf+4BbWEyO jwfRO4lYOHdC493oDsnkuv/COnL5uezJhJVPNcjz6yL3lVlSX5Re8K8BHGQGmltkgZ1S EUmL2+Dzhakl6tkXfB/hFQ8AlZ9CaqWuYFywYJj2DVD5FvACtW1gDYWUCUxwLEW48rUh lkj0xXXj23GysKp9s/FALFNT2GwzPUxKhKg4yothGfdZLJI3GkCclF5lgNeZB2If23ts o+Jw== X-Received: by 10.194.59.201 with SMTP id b9mr34674602wjr.43.1410176703764; Mon, 08 Sep 2014 04:45:03 -0700 (PDT) Received: from rric.localhost (f053085086.adsl.alicedsl.de. [78.53.85.86]) by mx.google.com with ESMTPSA id ec2sm11566567wib.19.2014.09.08.04.45.02 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Sep 2014 04:45:03 -0700 (PDT) From: Robert Richter To: Catalin Marinas , Will Deacon Subject: [PATCH] arm64, defconfig: Increase NR_CPUS default to 64 Date: Mon, 8 Sep 2014 13:44:48 +0200 Message-Id: <1410176689-20020-1-git-send-email-rric@kernel.org> X-Mailer: git-send-email 2.0.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_044526_194098_C040737F X-CRM114-Status: GOOD ( 10.69 ) X-Spam-Score: 0.0 (/) Cc: Robert Richter , Mark Rutland , Radha Mohan Chintakuntla , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham 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 From: Robert Richter Raising the current maximum limit to 64. This is needed for Cavium's Thunder systems that will have at least 48 cores per die. The change keeps the current memory footprint in cpu mask structures. It does not break existing code. Setting the maximum to 64 cpus still boots systems with less cpus. Mark's Juno happily booted with a NR_CPUS=64 kernel. Tested on our Thunder system with 48 cores. We could see interrupts to all cores. Cc: Radha Mohan Chintakuntla Cc: Mark Rutland Signed-off-by: Robert Richter Acked-by: Arnd Bergmann Tested-by: Mark Rutland --- arch/arm64/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index fd4e81a4e1ce..67fca2ea81a7 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -252,11 +252,11 @@ config SCHED_SMT places. If unsure say N here. config NR_CPUS - int "Maximum number of CPUs (2-32)" - range 2 32 + int "Maximum number of CPUs (2-64)" + range 2 64 depends on SMP # These have to remain sorted largest to smallest - default "8" + default "64" config HOTPLUG_CPU bool "Support for hot-pluggable CPUs"