From owner-freebsd-i386@FreeBSD.ORG Tue May 29 17:50:04 2007 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA6D416A469 for ; Tue, 29 May 2007 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 9CD8E13C45D for ; Tue, 29 May 2007 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4THo44a002943 for ; Tue, 29 May 2007 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4THo49Q002939; Tue, 29 May 2007 17:50:04 GMT (envelope-from gnats) Resent-Date: Tue, 29 May 2007 17:50:04 GMT Resent-Message-Id: <200705291750.l4THo49Q002939@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Pankov Pavel Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 038E316A468 for ; Tue, 29 May 2007 17:40:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id E8ED613C45A for ; Tue, 29 May 2007 17:40:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l4THeNVm013290 for ; Tue, 29 May 2007 17:40:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l4THeN7D013289; Tue, 29 May 2007 17:40:23 GMT (envelope-from nobody) Message-Id: <200705291740.l4THeN7D013289@www.freebsd.org> Date: Tue, 29 May 2007 17:40:23 GMT From: Pankov Pavel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/113133: Add PDCM bit name to CPU Features2 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 17:50:04 -0000 >Number: 113133 >Category: i386 >Synopsis: Add PDCM bit name to CPU Features2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue May 29 17:50:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Pankov Pavel >Release: 6.0-RELEASE-p4 >Organization: MPEI >Environment: FreeBSD pankovpv.sovietservers.com 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #8: Mon Feb 27 09:09:25 MSK 2006 root@CRYO.SOVIETSERVERS.COM:/usr/obj/usr/src/sys/CRYO i386 >Description: According to "Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 2A: Instruction Set Reference, A-M" (http://developer.intel.com/design/processor/manuals/253666.pdf) the PDCM bit name in extended CPU features displaying code in -CURRENT is missing. Attached patch fixes it. This bit is set, for example, in my Core 2 Duo T5600. Also, RELENG_6 lacks names for SMX, SSSE3, xTPR, PDCM bits. I think they can be MFC'd safely and easily. >How-To-Repeat: Boot on the CPU that has highlighted bits set. >Fix: Apply the attached patch to -CURRENT (can also be downloaded here: http://www.pankov.pp.ru/patches/identcpu-PDCM.diff). Patch attached with submission follows: Index: i386/i386/identcpu.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/identcpu.c,v retrieving revision 1.177 diff -u -r1.177 identcpu.c --- i386/i386/identcpu.c 18 Apr 2007 10:08:24 -0000 1.177 +++ i386/i386/identcpu.c 29 May 2007 17:06:50 -0000 @@ -750,7 +750,7 @@ "\015" "\016CX16" /* CMPXCHG16B Instruction */ "\017xTPR" /* Send Task Priority Messages*/ - "\020" + "\020PDCM" /* Perf/Debug Capability MSR */ "\021" "\022" "\023DCA" /* Direct Cache Access */ >Release-Note: >Audit-Trail: >Unformatted: