From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Voyr1-0005ED-M5 for qemu-devel@nongnu.org; Fri, 06 Dec 2013 12:06:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Voyqw-0004bM-2D for qemu-devel@nongnu.org; Fri, 06 Dec 2013 12:06:15 -0500 Received: from mga11.intel.com ([192.55.52.93]:26645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Voyqv-0004av-TH for qemu-devel@nongnu.org; Fri, 06 Dec 2013 12:06:10 -0500 From: Qiaowei Ren Date: Sat, 7 Dec 2013 08:20:57 +0800 Message-Id: <1386375658-2191-2-git-send-email-qiaowei.ren@intel.com> In-Reply-To: <1386375658-2191-1-git-send-email-qiaowei.ren@intel.com> References: <1386375658-2191-1-git-send-email-qiaowei.ren@intel.com> Subject: [Qemu-devel] [PATCH v2 2/3] X86, mpx: Intel MPX CPU feature definition List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org Cc: Liu Jinsong , kvm@vger.kernel.org, Xudong Hao , linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, Qiaowei Ren This patch defines Intel MPX CPU feature. Signed-off-by: Qiaowei Ren Signed-off-by: Xudong Hao Signed-off-by: Liu Jinsong --- arch/x86/include/asm/cpufeature.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index d3f5c63..ef9f9c2 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h @@ -216,6 +216,7 @@ #define X86_FEATURE_ERMS (9*32+ 9) /* Enhanced REP MOVSB/STOSB */ #define X86_FEATURE_INVPCID (9*32+10) /* Invalidate Processor Context ID */ #define X86_FEATURE_RTM (9*32+11) /* Restricted Transactional Memory */ +#define X86_FEATURE_MPX (9*32+14) /* Memory Protection Extension */ #define X86_FEATURE_RDSEED (9*32+18) /* The RDSEED instruction */ #define X86_FEATURE_ADX (9*32+19) /* The ADCX and ADOX instructions */ #define X86_FEATURE_SMAP (9*32+20) /* Supervisor Mode Access Prevention */ -- 1.7.1