Subject: port-i386/33081: wrong EST frequency printed for CPUs with multiple identical mv values
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <j+nbsd@2006.salmi.ch>
List: netbsd-bugs
Date: 03/15/2006 00:45:00
>Number:         33081
>Category:       port-i386
>Synopsis:       wrong EST frequency printed for CPUs with multiple identical mv values
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 15 00:45:00 +0000 2006
>Originator:     j+nbsd@2006.salmi.ch
>Release:        NetBSD 3.99.17
>Environment:
System: NetBSD blenny.salmi.ch 3.99.17 NetBSD 3.99.17 (ANOLE.APM) #3: Wed Mar 15 00:23:56 CET 2006 build@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/ANOLE.APM i386
Architecture: i386
Machine: i386
>Description:
For CPUs like the M738, M758 or M778 which have identical voltage
values for several frequency values, the current EST code prints the
lowest frequency value which doesn't need to be the current frequency
value.

>How-To-Repeat:
E.g. booting a M738 running at 1400 MHz (1116 mV) prints

[...]
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium M (Dothan) (686-class), 1395.54 MHz, id 0x6d6
cpu0: features afe9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbbf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbbf<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 1.40GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep (1116 mV) 1300 MHz
                                   ^^^^
cpu0: Enhanced SpeedStep frequencies available (MHz): 1400 1300 1200 1100 1000 900 800 600
cpu0: 64 page colors
[...]

>Fix:
Don't know... Maybe revert some of dogcow's changes to est.c in revision
1.20?