From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754038AbcIUGzQ (ORCPT ); Wed, 21 Sep 2016 02:55:16 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35004 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463AbcIUGzO (ORCPT ); Wed, 21 Sep 2016 02:55:14 -0400 Date: Wed, 21 Sep 2016 08:55:08 +0200 From: Robert Richter To: David Daney Cc: linux-kernel@vger.kernel.org, Marc Zyngier , Hanjun Guo , Will Deacon , Ganapatrao Kulkarni , Catalin Marinas , Mark Rutland , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, David Daney Subject: Re: [PATCH] arm64: Call numa_store_cpu_info() earlier. Message-ID: <20160921065508.GS25086@rric.localdomain> References: <1474397195-16520-1-git-send-email-ddaney.cavm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474397195-16520-1-git-send-email-ddaney.cavm@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.09.16 11:46:35, David Daney wrote: > From: David Daney ... > Fix by moving call to numa_store_cpu_info() for all CPUs into > smp_prepare_cpus(), which happens before wq_numa_init(). Since > smp_store_cpu_info() now contains only a single function call, > simplify by removing the function and out-lining its contents. > > Suggested-by: Robert Richter > fixes: 1a2db300348b ("arm64, numa: Add NUMA support for arm64 platforms.") > Cc: # 4.7.x- > Signed-off-by: David Daney > --- > arch/arm64/kernel/smp.c | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) Looks good, your version properly initializes the boot cpu that was missing in my version. Reviewed-by: Robert Richter