From owner-freebsd-current@FreeBSD.ORG Tue Jan 6 05:44:36 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3AE088F; Tue, 6 Jan 2015 05:44:36 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A01D124CB; Tue, 6 Jan 2015 05:44:36 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id tr6so1119824ieb.7; Mon, 05 Jan 2015 21:44:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=sKWSVyMaNFZZmANRlJeKVBqzGzMdXnj5K1NfPKaLTFw=; b=YLKLkMwTXLCCUrjW6Z9y6d1QTqMnja4ofF3rMb/J2UM7fLw4vCFSR2wPhTpQ6qOf1a hWROKBBrs6eQpHQbCHpH5eMBw3mRPrxxbF7QA/FgSDajGOCkeEDvGZlq6jV8dktpqPe3 sfObf51ptgdRV4hYv5D+LtlMUd/JTlNIIJs9j/oIyDyq8G+p+zlzr6UD/ZKVbcVGYFvg AULXnUcJGbzfnBMT7UayA66mQHAq1AoTs7uKhOSvqHiwgK+VgkMXjUceSR5G/Qu7Z8qm wQ99a+1RGuHmDIBwQ9iXERhN3OVYas1j7NlHx35TKeOCOX/MHzlIcUxLtoAH732ZB4W+ vpAg== X-Received: by 10.50.112.8 with SMTP id im8mr838885igb.18.1420523073550; Mon, 05 Jan 2015 21:44:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.175.4 with HTTP; Mon, 5 Jan 2015 21:44:02 -0800 (PST) In-Reply-To: References: <54AB306F.2070509@ignoranthack.me> <54AB394E.5040601@ignoranthack.me> <54AB49C2.9020005@ignoranthack.me> From: Jia-Shiun Li Date: Tue, 6 Jan 2015 13:44:02 +0800 Message-ID: Subject: Re: Haswell CPU Feature To: Neel Natu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD current , Andrey Fesenko X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 05:44:37 -0000 On Tue, Jan 6, 2015 at 1:23 PM, Neel Natu wrote: > Hi Sean, > > On Mon, Jan 5, 2015 at 6:34 PM, Sean Bruno wrote: > > I'm thinking something like this: > > > > Index: sys/x86/x86/identcpu.c > > =================================================================== > > - --- sys/x86/x86/identcpu.c (revision 276729) > > +++ sys/x86/x86/identcpu.c (working copy) > > @@ -781,7 +781,7 @@ > > "\011TM2" /* Thermal Monitor 2 */ > > "\012SSSE3" /* SSSE3 */ > > "\013CNXT-ID" /* L1 context ID > available */ > > - - "\014" > > + "\014SDBG" /* IA32_DEBUG_INTERFACE > debug*/ > > "\015FMA" /* Fused Multiply Add */ > > "\016CX16" /* CMPXCHG16B > Instruction */ > > "\017xTPR" /* Send Task Priority > Messages*/ > > > > > > Looks good. > Maybe also this for completeness? # svnlite diff Index: sys/x86/include/specialreg.h =================================================================== --- sys/x86/include/specialreg.h (revision 276737) +++ sys/x86/include/specialreg.h (working copy) @@ -154,6 +154,7 @@ #define CPUID2_TM2 0x00000100 #define CPUID2_SSSE3 0x00000200 #define CPUID2_CNXTID 0x00000400 +#define CPUID2_SDBG 0x00000800 #define CPUID2_FMA 0x00001000 #define CPUID2_CX16 0x00002000 #define CPUID2_XTPR 0x00004000 -Jia-Shiun