From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Richter Subject: Re: [PATCH v12 4/5] arm64, numa: Add NUMA support for arm64 platforms. Date: Mon, 29 Feb 2016 11:12:36 +0100 Message-ID: <20160229101236.GQ24726@rric.localdomain> References: <1456192703-2274-1-git-send-email-ddaney.cavm@gmail.com> <1456192703-2274-5-git-send-email-ddaney.cavm@gmail.com> <20160226185341.GN29125@arm.com> <56D0ACC4.1060605@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ganapatrao Kulkarni Cc: David Daney , Will Deacon , Mark Rutland , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pawel Moll , Ian Campbell , Matt Fleming , Catalin Marinas , Ard Biesheuvel , David Daney , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , David Daney , Kumar Gala , Grant Likely , Ganapatrao Kulkarni , Frank Rowand , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On 27.02.16 09:43:49, Ganapatrao Kulkarni wrote: > On Sat, Feb 27, 2016 at 1:21 AM, David Daney wrote: > > On 02/26/2016 10:53 AM, Will Deacon wrote: > >>> +static __init int numa_parse_early_param(char *opt) > >>> +{ > >>> + if (!opt) > >>> + return -EINVAL; > >>> + if (!strncmp(opt, "off", 3)) { > >>> + pr_info("%s\n", "NUMA turned off"); > >>> + numa_off = 1; > >>> + } > >>> + return 0; > >>> +} > >>> +early_param("numa", numa_parse_early_param); > >> > >> > >> Curious, but when is this option actually useful? > >> > > > > Good point. I will remove that bit, it was used as an aid in debugging > > while bringing up the patch set. > > this is handy in debugging new platforms. > this boot argument option forces to boot as single node dummy system > adding all resources to node0. This is used to disable numa in a numa enabled kernel esp. for debugging/enabling/booting single node systems. Same kernel parameter as for x86 and other archs. Should not being removed. -Robert