Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755930AbcJYVbO (ORCPT ); Tue, 25 Oct 2016 17:31:14 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:34720 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751741AbcJYVbK (ORCPT ); Tue, 25 Oct 2016 17:31:10 -0400 From: David Daney To: linux-kernel@vger.kernel.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Will Deacon , Catalin Marinas Cc: Robert Richter , Hanjun Guo , Ganapatrao Kulkarni , Gilbert Netzer , 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> X-Mailer: git-send-email 1.7.11.7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 529 Lines: 19 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