From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753560AbaIHLpH (ORCPT ); Mon, 8 Sep 2014 07:45:07 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:65038 "EHLO mail-wg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752874AbaIHLpF (ORCPT ); Mon, 8 Sep 2014 07:45:05 -0400 From: Robert Richter To: Catalin Marinas , Will Deacon Cc: Robert Richter , Radha Mohan Chintakuntla , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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" -- 2.0.1