diff options
author | Mathias Krause <minipli@googlemail.com> | 2015-07-24 03:15:11 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-31 04:34:07 -0400 |
commit | b1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce (patch) | |
tree | c031486fbbb4ecb7618e5dfb2a246a9d9bb8f048 | |
parent | b51ef52df71cb28e9d90cd1d48b79bf19f0bab06 (diff) |
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 <minipli@googlemail.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Aaron Lu <aaron.lu@intel.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Dirk Brandewie <dirk.j.brandewie@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1437330403-12102-1-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | 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 3d6606fb97d0..4b11974b4ea7 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h | |||
@@ -119,6 +119,7 @@ | |||
119 | #define X86_FEATURE_TM2 ( 4*32+ 8) /* Thermal Monitor 2 */ | 119 | #define X86_FEATURE_TM2 ( 4*32+ 8) /* Thermal Monitor 2 */ |
120 | #define X86_FEATURE_SSSE3 ( 4*32+ 9) /* Supplemental SSE-3 */ | 120 | #define X86_FEATURE_SSSE3 ( 4*32+ 9) /* Supplemental SSE-3 */ |
121 | #define X86_FEATURE_CID ( 4*32+10) /* Context ID */ | 121 | #define X86_FEATURE_CID ( 4*32+10) /* Context ID */ |
122 | #define X86_FEATURE_SDBG ( 4*32+11) /* Silicon Debug */ | ||
122 | #define X86_FEATURE_FMA ( 4*32+12) /* Fused multiply-add */ | 123 | #define X86_FEATURE_FMA ( 4*32+12) /* Fused multiply-add */ |
123 | #define X86_FEATURE_CX16 ( 4*32+13) /* CMPXCHG16B */ | 124 | #define X86_FEATURE_CX16 ( 4*32+13) /* CMPXCHG16B */ |
124 | #define X86_FEATURE_XTPR ( 4*32+14) /* Send Task Priority Messages */ | 125 | #define X86_FEATURE_XTPR ( 4*32+14) /* Send Task Priority Messages */ |