From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756740AbcECVpq (ORCPT ); Tue, 3 May 2016 17:45:46 -0400 Received: from mail.skyhub.de ([78.46.96.112]:57645 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756497AbcECVpp (ORCPT ); Tue, 3 May 2016 17:45:45 -0400 Date: Tue, 3 May 2016 23:45:35 +0200 From: Borislav Petkov To: Dave Hansen Cc: Ingo Molnar , linux-kernel@vger.kernel.org, x86@kernel.org, Andy Lutomirski , Thomas Gleixner , "H. Peter Anvin" , Linus Torvalds Subject: Re: [PATCH] [RFC] x86: work around MPX Erratum Message-ID: <20160503214535.GW27540@pd.tnic> References: <20160502220341.9E8C34FC@viggo.jf.intel.com> <20160503064354.GA11112@gmail.com> <57291268.3060006@intel.com> <20160503211202.GA27604@pd.tnic> <572917F2.2060302@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <572917F2.2060302@intel.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 On Tue, May 03, 2016 at 02:28:18PM -0700, Dave Hansen wrote: > Generally, I'm not sure we need the no$foo options at all. There's > always "clearcpuid=" which does the same thing. It just requires you to > go look up the X86_FEATURE_* bit first. Yeah, the "no-" things are all chicken bits which we should get rid of at some point anyway. > What do you mean by disable? Have qemu error out if MPX and SMEP > aren't disabled in concert with each other? Yap. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.