From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ganapatrao Kulkarni Subject: Re: [PATCH v6 3/4] arm64/arm, numa, dt: adding numa dt binding implementation for arm64 platforms Date: Mon, 26 Oct 2015 09:20:24 +0530 Message-ID: References: <1445337931-11344-1-git-send-email-gkulkarni@caviumnetworks.com> <1445337931-11344-4-git-send-email-gkulkarni@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ming Lei Cc: Ganapatrao Kulkarni , linux-arm-kernel , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Will Deacon , Catalin Marinas , Grant Likely , Leif Lindholm , rfranz-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org, Ard Biesheuvel , Mark Salter , Rob Herring , Steve Capper , Hanjun Guo , Al Stone , Arnd Bergmann , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Rafael J. Wysocki" , Len Brown , "marc.zyngier-5wv7dgnIgG8@public.gmane.org" , Robert List-Id: devicetree@vger.kernel.org On Mon, Oct 26, 2015 at 7:14 AM, Ming Lei wrote: > On Tue, Oct 20, 2015 at 6:45 PM, Ganapatrao Kulkarni > wrote: >> Adding numa dt binding support for arm64 based platforms. >> dt node parsing for numa topology is done using device property >> proximity and device node distance-map. >> >> Reviewed-by: Robert Richter >> Signed-off-by: Ganapatrao Kulkarni >> --- >> arch/arm64/Kconfig | 10 ++ >> arch/arm64/include/asm/numa.h | 10 ++ >> arch/arm64/kernel/Makefile | 1 + >> arch/arm64/kernel/of_numa.c | 221 ++++++++++++++++++++++++++++++++++++++++++ >> arch/arm64/kernel/smp.c | 1 + >> arch/arm64/mm/numa.c | 10 +- >> 6 files changed, 252 insertions(+), 1 deletion(-) >> create mode 100644 arch/arm64/kernel/of_numa.c >> >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >> index 0f9cdc7..6cf8d20 100644 >> --- a/arch/arm64/Kconfig >> +++ b/arch/arm64/Kconfig >> @@ -426,6 +426,16 @@ config NUMA >> local memory controller of the CPU and add some more >> NUMA awareness to the kernel. >> >> +config OF_NUMA >> + bool "Device Tree NUMA support" >> + depends on NUMA >> + depends on OF >> + default y >> + help >> + Enable Device Tree NUMA support. >> + This enables the numa mapping of cpu, memory, io and >> + inter node distances using dt bindings. > > Enabling the above config option can cause numa_init() warning in > numa-less arm64 system, please see the following report: this is taken care. which version are you using? > > https://bugs.launchpad.net/bugs/1509221 > > Thanks, Thanks Ganapat -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html