From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Daney Subject: [PATCH 0/2] arm64, numa: Fix OOPS with numa=off Date: Tue, 25 Oct 2016 14:30:59 -0700 Message-ID: <1477431061-7258-1-git-send-email-ddaney.cavm@gmail.com> Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , Frank Rowand , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Will Deacon , Catalin Marinas Cc: Robert Richter , Hanjun Guo , Ganapatrao Kulkarni , Gilbert Netzer , David Daney List-Id: devicetree@vger.kernel.org From: David Daney We get an OOPS in the arm64 kernel on NUMA systems when numa=off is passed on the command line. Fix it by returning NUMA_NO_NODE from of_node_to_nid when numa=off. David Daney (2): of, numa: Add function to disable of_node_to_nid(). arm64, numa: Force of_node_to_nid to return NUMA_NO_NODE when numa=off. arch/arm64/mm/numa.c | 5 ++++- drivers/of/of_numa.c | 15 +++++++++++++++ include/linux/of.h | 2 ++ 3 files changed, 21 insertions(+), 1 deletion(-) -- 1.8.3.1 -- 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