Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752456AbbGaN6J (ORCPT ); Fri, 31 Jul 2015 09:58:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:57281 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbbGaN6G (ORCPT ); Fri, 31 Jul 2015 09:58:06 -0400 Date: Fri, 31 Jul 2015 06:57:29 -0700 From: tip-bot for Mathias Krause Message-ID: Cc: torvalds@linux-foundation.org, aaron.lu@intel.com, dirk.j.brandewie@intel.com, ross.zwisler@linux.intel.com, dave.hansen@linux.intel.com, peterz@infradead.org, josh@joshtriplett.org, tglx@linutronix.de, bp@suse.de, linux-kernel@vger.kernel.org, hpa@zytor.com, minipli@googlemail.com, mingo@kernel.org Reply-To: bp@suse.de, linux-kernel@vger.kernel.org, mingo@kernel.org, minipli@googlemail.com, hpa@zytor.com, aaron.lu@intel.com, torvalds@linux-foundation.org, ross.zwisler@linux.intel.com, dirk.j.brandewie@intel.com, peterz@infradead.org, dave.hansen@linux.intel.com, josh@joshtriplett.org, tglx@linutronix.de In-Reply-To: <1437330403-12102-1-git-send-email-minipli@googlemail.com> References: <1437330403-12102-1-git-send-email-minipli@googlemail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cpu] x86/cpufeature: Add feature bit for Intel' s Silicon Debug CPUID bit Git-Commit-ID: b1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2228 Lines: 50 Commit-ID: b1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce Gitweb: http://git.kernel.org/tip/b1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce Author: Mathias Krause AuthorDate: Fri, 24 Jul 2015 09:15:11 +0200 Committer: Ingo Molnar CommitDate: Fri, 31 Jul 2015 10:34:07 +0200 x86/cpufeature: Add feature bit for Intel's Silicon Debug CPUID bit Add a CPUID feature bit for the SDBG (Silicon Debug) CPU feature found on recent Intel systems starting with Haswell. Using the IA32_DEBUG_INTERFACE MSR (index C80H) one can at least detect if SDBG has been enabled by the firmware and if it has been used or not. Signed-off-by: Mathias Krause Signed-off-by: Borislav Petkov Cc: Aaron Lu Cc: Dave Hansen Cc: Dirk Brandewie Cc: H. Peter Anvin Cc: Josh Triplett Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Ross Zwisler Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/1437330403-12102-1-git-send-email-minipli@googlemail.com Signed-off-by: Ingo Molnar --- arch/x86/include/asm/cpufeature.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index 3d6606f..4b11974 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h @@ -119,6 +119,7 @@ #define X86_FEATURE_TM2 ( 4*32+ 8) /* Thermal Monitor 2 */ #define X86_FEATURE_SSSE3 ( 4*32+ 9) /* Supplemental SSE-3 */ #define X86_FEATURE_CID ( 4*32+10) /* Context ID */ +#define X86_FEATURE_SDBG ( 4*32+11) /* Silicon Debug */ #define X86_FEATURE_FMA ( 4*32+12) /* Fused multiply-add */ #define X86_FEATURE_CX16 ( 4*32+13) /* CMPXCHG16B */ #define X86_FEATURE_XTPR ( 4*32+14) /* Send Task Priority Messages */ -- 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/