Date: Tue, 29 May 2007 17:40:23 GMT From: Pankov Pavel<pankov_p@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/113133: Add PDCM bit name to CPU Features2 Message-ID: <200705291740.l4THeN7D013289@www.freebsd.org> Resent-Message-ID: <200705291750.l4THo49Q002939@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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<b12>" "\016CX16" /* CMPXCHG16B Instruction */ "\017xTPR" /* Send Task Priority Messages*/ - "\020<b15>" + "\020PDCM" /* Perf/Debug Capability MSR */ "\021<b16>" "\022<b17>" "\023DCA" /* Direct Cache Access */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705291740.l4THeN7D013289>