From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932177AbcELHQR (ORCPT ); Thu, 12 May 2016 03:16:17 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35134 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932162AbcELHQO (ORCPT ); Thu, 12 May 2016 03:16:14 -0400 Date: Thu, 12 May 2016 09:16:03 +0200 From: Ingo Molnar To: Dave Hansen Cc: linux-kernel@vger.kernel.org, dave.hansen@linux.intel.com, luto@amacapital.net, bp@alien8.de, brgerst@gmail.com, dvlasenk@redhat.com, hpa@zytor.com, torvalds@linux-foundation.org, peterz@infradead.org, tglx@linutronix.de Subject: Re: [PATCH] [v3] x86/mm/mpx: Work around MPX erratum SKD046 Message-ID: <20160512071603.GA19835@gmail.com> References: <20160511211654.11D611C6@viggo.jf.intel.com> <20160512065040.GC30717@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160512065040.GC30717@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar wrote: > > Changes from v1: > > * Unconditionally enable workaround on all CPUs with MPX despite > > whether we know it to be affected or not > > * Add a pr_warn() when the workaround is active > > > > Changes from v2: > > * fix build breakage from #ifdefs in bug.h It now emits ugly warnings (x86-64 defconfig): ./arch/x86/include/asm/bugs.h:7:31: warning: ‘struct cpuinfo_x86’ declared inside parameter list ./arch/x86/include/asm/bugs.h:7:31: warning: its scope is only this definition or declaration, which is probably not what you want Thanks, Ingo