x86/cpufeature: Add feature bit for Intel's Silicon Debug CPUID bit
authorMathias Krause <minipli@googlemail.com>
Fri, 24 Jul 2015 07:15:11 +0000 (09:15 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2015 08:34:07 +0000 (10:34 +0200)
commitb1c599b8ff80ea79b9f8277a3f9f36a7b0cfedce
treec031486fbbb4ecb7618e5dfb2a246a9d9bb8f048
parentb51ef52df71cb28e9d90cd1d48b79bf19f0bab06
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>
arch/x86/include/asm/cpufeature.h