From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754917AbcHATGx (ORCPT ); Mon, 1 Aug 2016 15:06:53 -0400 Received: from relay3.sgi.com ([192.48.152.1]:47869 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754840AbcHATGe (ORCPT ); Mon, 1 Aug 2016 15:06:34 -0400 Message-Id: <20160801184050.577755634@asylum.americas.sgi.com> References: <20160801184049.811754120@asylum.americas.sgi.com> User-Agent: quilt/0.46-1 Date: Mon, 01 Aug 2016 13:40:53 -0500 From: Mike Travis To: Ingo Molnar , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton , Dimitri Sivanich Cc: Russ Anderson , John Estabrook , Andrew Banman , Nathan Zimmer , Alex Thorlton , x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] x86/platform/UV: Fix kernel panic running RHEL kdump kernel on UV Content-Disposition: inline; filename=uv4_disable_is_uv_system Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The latest UV kernel support panics when RHEL7 kexec's the kdump kernel to make a dumpfile. This patch fixes the problem by turning off all UV support if NUMA is off. Reviewed-by: Dimitri Sivanich Reviewed-by: Nathan Zimmer Tested-by: Frank Ramsay Tested-by: John Estabrook Signed-off-by: Mike Travis --- arch/x86/kernel/apic/x2apic_uv_x.c | 5 +++++ 1 file changed, 5 insertions(+) --- linux-3.12.orig/arch/x86/kernel/apic/x2apic_uv_x.c +++ linux-3.12/arch/x86/kernel/apic/x2apic_uv_x.c @@ -223,6 +223,11 @@ static int __init uv_acpi_madt_oem_check if (strncmp(oem_id, "SGI", 3) != 0) return 0; + if (numa_off) { + pr_err("UV: NUMA is off, disabling UV support\n"); + return 0; + } + /* Setup early hub type field in uv_hub_info for Node 0 */ uv_cpu_info->p_uv_hub_info = &uv_hub_info_node0; --