Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753219AbdLULtd (ORCPT ); Thu, 21 Dec 2017 06:49:33 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:45873 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752748AbdLULta (ORCPT ); Thu, 21 Dec 2017 06:49:30 -0500 X-Google-Smtp-Source: ACJfBotOAjLkP/KrgxS6kC/Te9x408udxiD9AAoeDvh+B3De+1SVydLN++XyMaeCeR5sxgTdt5BSlw== Date: Thu, 21 Dec 2017 12:49:26 +0100 From: Ingo Molnar To: Mike Travis Cc: Ingo Molnar , Russ Anderson , Dimitri Sivanich , "H. Peter Anvin" , Thomas Gleixner , Andrew Morton , x86@kernel.org, linux-kernel@vger.kernel.org, Andrew Banman Subject: Re: [PATCH 0/7] x86/platform/UV: UV Fix patches for Intel processors Message-ID: <20171221114926.7drqdlszr2lu3gmm@gmail.com> References: <1513812446-260956-1-git-send-email-travis@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1513812446-260956-1-git-send-email-travis@sgi.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2233 Lines: 41 * Mike Travis wrote: > > This patchset handles the fixes made to the UV4 HUB for upcoming Intel > processors as there are some interface changes. > > * Update uv_mmrs.h to prep for fixed defines for UV4A. > > * Updates to handle UV4 vs. UV4A (fixed) arches. > > * Updates to handle UV4 GAM (global addressable memory) MMRs fixes. > > * Updates to handle UV4 BAU (broadcast assist unit) MMRs fixes. > > * Turn on UV4A_IS_SUPPORTED to enable code and header file fixes. Sigh, has any of this been properly build tested? x86-64 allyesconfig produces a bunch of ugly warnings: In file included from ./include/linux/kernel.h:14:0, arch/x86/kernel/apic/x2apic_uv_x.c: In function ‘map_mmioh_high_uv34’: ./include/linux/printk.h:308:2: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:806:8: note: ‘id’ was declared here In file included from ./include/linux/kernel.h:14:0, ./include/linux/printk.h:308:2: warning: ‘m_io’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:804:19: note: ‘m_io’ was declared here In file included from ./include/linux/kernel.h:14:0, ./include/linux/printk.h:308:2: warning: ‘shift’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:804:12: note: ‘shift’ was declared here arch/x86/kernel/apic/x2apic_uv_x.c:856:14: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:846:9: warning: ‘nasid_mask’ may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from ./include/linux/kernel.h:14:0, ./include/linux/printk.h:308:2: warning: ‘base’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:801:16: note: ‘base’ was declared here arch/x86/kernel/apic/x2apic_uv_x.c:843:17: warning: ‘mmr’ may be used uninitialized in this function [-Wmaybe-uninitialized] arch/x86/kernel/apic/x2apic_uv_x.c:832:16: warning: ‘overlay’ may be used uninitialized in this function [-Wmaybe-uninitialized] Thanks, Ingo