Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753305AbbKPR7q (ORCPT ); Mon, 16 Nov 2015 12:59:46 -0500 Received: from relay2.sgi.com ([192.48.180.65]:41017 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752946AbbKPR7n (ORCPT ); Mon, 16 Nov 2015 12:59:43 -0500 From: Alex Thorlton To: linux-kernel@vger.kernel.org Cc: Alex Thorlton , Matt Fleming , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Hedi Berriche , Dimitri Sivanich , x86@kernel.org, linux-efi@vger.kernel.org Subject: [PATCH 2/2] Remove extra mapping code for UV MMRs Date: Mon, 16 Nov 2015 11:59:41 -0600 Message-Id: <1447696781-159611-2-git-send-email-athorlton@sgi.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1447696781-159611-1-git-send-email-athorlton@sgi.com> References: <1447696781-159611-1-git-send-email-athorlton@sgi.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1637 Lines: 53 These MMRs get mapped in correctly using the new EFI memmap scheme on recent BIOSes, so we no longer need to set up these extra mappings for them. Signed-off-by: Alex Thorlton Acked-by: Mike Travis Acked-by: Russ Anderson Cc: Matt Fleming Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: Hedi Berriche Cc: Dimitri Sivanich Cc: x86@kernel.org Cc: linux-efi@vger.kernel.org --- arch/x86/kernel/apic/x2apic_uv_x.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/x86/kernel/apic/x2apic_uv_x.c b/arch/x86/kernel/apic/x2apic_uv_x.c index c8d9295..e8db45d 100644 --- a/arch/x86/kernel/apic/x2apic_uv_x.c +++ b/arch/x86/kernel/apic/x2apic_uv_x.c @@ -712,12 +712,6 @@ static __init void map_mmioh_high(int min_pnode, int max_pnode) } } -static __init void map_low_mmrs(void) -{ - init_extra_mapping_uc(UV_GLOBAL_MMR32_BASE, UV_GLOBAL_MMR32_SIZE); - init_extra_mapping_uc(UV_LOCAL_MMR_BASE, UV_LOCAL_MMR_SIZE); -} - static __init void uv_rtc_init(void) { long status; @@ -890,7 +884,6 @@ void __init uv_system_init(void) return; } pr_info("UV: Found %s hub\n", hub); - map_low_mmrs(); m_n_config.v = uv_read_local_mmr(UVH_RH_GAM_CONFIG_MMR ); m_val = m_n_config.s.m_skt; -- 1.8.5.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/