Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754032AbbGTLyP (ORCPT ); Mon, 20 Jul 2015 07:54:15 -0400 Received: from mail.skyhub.de ([78.46.96.112]:60451 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752662AbbGTLyO (ORCPT ); Mon, 20 Jul 2015 07:54:14 -0400 Date: Mon, 20 Jul 2015 13:54:05 +0200 From: Borislav Petkov To: Mathias Krause Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH] x86, cpufeature: add feature bit for SDBG Message-ID: <20150720115405.GA8303@nazgul.tnic> References: <1437330403-12102-1-git-send-email-minipli@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1437330403-12102-1-git-send-email-minipli@googlemail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1676 Lines: 42 On Sun, Jul 19, 2015 at 08:26:43PM +0200, Mathias Krause wrote: > 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 > Cc: Borislav Petkov > Cc: H. Peter Anvin > Cc: Ingo Molnar > Cc: Thomas Gleixner > --- > 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 3d6606fb97d0..4b11974b4ea7 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 */ Acked-by: Borislav Petkov -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- 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/