Subject: Re: RFC: est.c driver synced with OpenBSD.
To: None <tech-kern@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 08/31/2006 09:19:01
--Boundary_(ID_sYQkZDoBLm901RAEjG89mg)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline

On Thu, Aug 31, 2006 at 08:46:19AM +0200, Juan RP wrote:
> Good news, Simon made a patch that will create a fake table with all values
> (not only highest and lowest) using an algorithm:
> 
> http://www.xtrarom.org/~juan/juan-est-plus-fake-table.diff

I have a Dothan 760 with 2000 MHz, dmesg attached.
Only problem is that 933Mhz is as fast as 800Mhz (which is corrct with
regard to the rest):

933:
Doing aes-128 cbc for 3s on 16 size blocks: 2822016 aes-128 cbc's in 3.00s

800:
Doing aes-128 cbc for 3s on 16 size blocks: 2819466 aes-128 cbc's in 3.00s

The rest looks fine.

Joerg

--Boundary_(ID_sYQkZDoBLm901RAEjG89mg)
Content-type: text/plain; charset=us-ascii; NAME=dmesg
Content-transfer-encoding: 7BIT
Content-disposition: attachment; filename=dmesg

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.23 (THINKPAD.MPACPI) #4: Thu Aug 31 09:04:25 CEST 2006
	joerg@britannica.bec.de:/home/joerg/wd/NetBSD/src/sys/arch/i386/compile/THINKPAD.MPACPI
total memory = 1534 MB
avail memory = 1503 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
BIOS32 rev. 0 found at 0xfd740
PCI BIOS rev. 2.1 found at 0xfd8d7
pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
PCI IRQ Routing Table rev. 1.0 found at 0xfdeb0, size 256 bytes (14 entries)
PCI Interrupt Router at 000:31:0 (vendor 0x8086 product 0x122e compatible)
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium M (Dothan) (686-class), 1995.17 MHz, id 0x6d8
cpu0: features afe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features afe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features afe9fbff<FXSR,SSE,SSE2,SS,TM,SBF>
cpu0: features2 180<EST,TM2>
cpu0: "Intel(R) Pentium(R) M processor 2.00GHz"
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 (1356 mV) 2000 MHz
cpu0: unknown Enhanced SpeedStep CPU.
est_init: bus_clock = 13333
est_init: idlo = 0x612
est_init: lo   988 mV,  800 MHz
est_init: raw   18   ,    6    
est_init: idhi = 0xf29
est_init: hi  1356 mV, 2000 MHz
est_init: raw   41   ,   15    
est_init: cur  = 0xf29
est_init: fake entry 0: 1356 mV, 2000 MHz  MSR*100 mV = 1500 freq = 4100
est_init: fake entry 1: 1324 mV, 1867 MHz  MSR*100 mV = 1400 freq = 3846
est_init: fake entry 2: 1276 mV, 1733 MHz  MSR*100 mV = 1300 freq = 3592
est_init: fake entry 3: 1244 mV, 1600 MHz  MSR*100 mV = 1200 freq = 3338
est_init: fake entry 4: 1196 mV, 1467 MHz  MSR*100 mV = 1100 freq = 3084
est_init: fake entry 5: 1164 mV, 1333 MHz  MSR*100 mV = 1000 freq = 2830
est_init: fake entry 6: 1116 mV, 1200 MHz  MSR*100 mV =  900 freq = 2576
est_init: fake entry 7: 1084 mV, 1067 MHz  MSR*100 mV =  800 freq = 2322
est_init: fake entry 8: 1036 mV,  933 MHz  MSR*100 mV =  700 freq = 2068
est_init: fake entry 9: 1004 mV,  800 MHz  MSR*100 mV =  600 freq = 1814
cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 1867 1733 1600 1467 1333 1200 1067 933 800
cpu0: 64 page colors
ioapic at mainbus0: not configured
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <IBM   ,TP-76   ,00001080>, AslId < LTP,00000000>
acpi0: found ECDT, GPE 28
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
timecounter: selected timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
LNKA: ACPI: Found matching pin for 0.1.INTA at func 0: 7
LNKE: ACPI: Found matching pin for 0.28.INTA at func 0: 7
LNKG: ACPI: Found matching pin for 0.28.INTC at func 2: 5
LNKA: ACPI: Found matching pin for 0.29.INTA at func 0: 7
LNKB: ACPI: Found matching pin for 0.29.INTB at func 1: 10
LNKC: ACPI: Found matching pin for 0.29.INTC at func 2: 10
LNKD: ACPI: Found matching pin for 0.29.INTD at func 3: 10
LNKG: ACPI: Found matching pin for 0.30.INTA at func 2: 5
LNKH: ACPI: Found matching pin for 0.31.INTA at func 3: 6
LNKA: ACPI: Found matching pin for 1.0.INTA at func 0: 7
LNKA: ACPI: Found matching pin for 2.0.INTA at func 0: 7
LNKA: ACPI: Found matching pin for 4.0.INTA at func 0: 7
LNKB: ACPI: Found matching pin for 4.0.INTB at func 1: 0
LNKF: ACPI: Found matching pin for 4.2.INTA at func 0: 4
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C01 at acpi0 not configured
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PNP0C0E): ACPI Sleep Button
PNP0A08 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
attimer0 at acpi0 (PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
PNP0200 at acpi0 not configured
pcppi0 at acpi0 (PNP0800)
pcppi0: io 0x61
sysbeep0 at pcppi0
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0 irq 13
npx0: using exception 16
PNP0B00 at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (IBM0057): aux port
pckbc1: irq 12
acpiec0 at acpi0 (PNP0C09-0): ACPI Embedded Controller
acpiec0: io 0x62,0x66
ACPI Object Type 'Power' (0x0b) at acpi0 not configured
acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (ACPI0003-0): ACPI AC Adapter
IBM0068 at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
acpitz0: passive cooling mode only
acpitz0: critical 99.0C passive 75.0C
pcppi0: attached to attimer0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x2590 (rev. 0x03)
pchb0: random number generator enabled
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2591 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: vendor 0x1002 product 0x5460 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x2660 (rev. 0x03)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
bge0 at pci2 dev 0 function 0: Broadcom BCM5751M Gigabit Ethernet
bge0: interrupting at irq 7
bge0: pcie mode=0x105000
bge0: ASIC BCM5751 A1 (0x4101), Ethernet address 00:0a:e4:c0:14:29
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 2: vendor 0x8086 product 0x2664 (rev. 0x03)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x2658 (rev. 0x03)
uhci0: interrupting at irq 7
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x2659 (rev. 0x03)
uhci1: interrupting at irq 10
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x265a (rev. 0x03)
uhci2: interrupting at irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x265b (rev. 0x03)
uhci3: interrupting at irq 10
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x265c (rev. 0x03)
ehci0: interrupting at irq 10
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xd3)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
cbb0 at pci4 dev 0 function 0: vendor 0x1180 product 0x0476 (rev. 0xb3)
vendor 0x1180 product 0x0552 (Firewire serial bus, interface 0x10, revision 0x08) at pci4 dev 0 function 1 not configured
iwi0 at pci4 dev 2 function 0: vendor 0x8086 product 0x4224 (rev. 0x05)
iwi0: interrupting at irq 4
iwi0: 802.11 address 00:12:f0:cc:9b:ef
iwi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
cbb0: interrupting at irq 7
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 5
pcmcia0 at cardslot0
auich0 at pci0 dev 30 function 2: i82801FB (ICH6) AC-97 Audio
auich0: interrupting at irq 5
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x2641 (rev. 0x03)
ichlpcib0: TCO (watchdog) timer configured.
ichlpcib0: No SpeedStep
piixide0 at pci0 dev 31 function 2
piixide0: Intel 82801FBM Serial ATA Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
vendor 0x8086 product 0x266a (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
isa0 at ichlpcib0
WARNING: Callback scheduled before sysmon task queue thread present.
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 47997 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
IPsec: Initialized Security Association Processing.
wd0 at atabus0 drive 0: <FUJITSU MHT2080AH>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4080N, K0053I10910, 0X21> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
acpibat0: battery info: SANYO, LION, IBM-92P1075,  1046

--Boundary_(ID_sYQkZDoBLm901RAEjG89mg)--