From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753795AbaAHSFw (ORCPT ); Wed, 8 Jan 2014 13:05:52 -0500 Received: from devils.ext.ti.com ([198.47.26.153]:51054 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750987AbaAHSFt (ORCPT ); Wed, 8 Jan 2014 13:05:49 -0500 Message-ID: <52CD9366.2090200@ti.com> Date: Wed, 8 Jan 2014 13:05:26 -0500 From: Santosh Shilimkar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Grygorii Strashko , Andrew Morton CC: Fengguang Wu , , , , Stephen Rothwell , Tejun Heo , Yinghai Lu , David Rientjes , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH] x86/mm: memblock: switch to use NUMA_NO_NODE References: <20140107022559.GE14055@localhost> <1389198198-31027-1-git-send-email-grygorii.strashko@ti.com> <52CD8A9A.3010608@ti.com> In-Reply-To: <52CD8A9A.3010608@ti.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 08 January 2014 12:27 PM, Grygorii Strashko wrote: > Hi, > > On 01/08/2014 06:23 PM, Grygorii Strashko wrote: >> Update X86 code to use NUMA_NO_NODE instead of MAX_NUMNODES while >> calling memblock APIs, because memblock API is changed to use NUMA_NO_NODE and >> will produce warning during boot otherwise. >> >> See: >> https://lkml.org/lkml/2013/12/9/898 >> > [...] > > or, there are other 3 patches from Sergey Senozhatsky, which actually fix the same warnings: > https://lkml.org/lkml/2014/1/6/277 - [PATCH -next] x86 memtest: use NUMA_NO_NODE in do_one_pass() > https://lkml.org/lkml/2014/1/6/280 - [PATCH -next] e820: use NUMA_NO_NODE in memblock_find_dma_reserve() > http://comments.gmane.org/gmane.linux.kernel/1623429 - [PATCH -next] check: use NUMA_NO_NODE in setup_bios_corruption_check() > Either one should be fine though $subject patch would be my personal preference. Andrew, This should kill at least 3 known memblock users with MAX_NUMNODES. Feel free to pick the patch(s) as per your preference. Regards, Santosh