Skip to contentSkip to conversation

speedstep for P4M on ALi M1671

DISCUSSION Clemens Orthacker 2 participants 2 messages Aug 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi!
I'm not sure whether speedstep works for my P4M laptop with ALi northbridge (see lspci -v below) and linux 2.6.8.1.
I can modprobe speedstep-lib but neither speedstep-ich nor speedstep-smi (which is normal since I don't have a ICH or 440 southbridge). Should I use p4-clockmode? But this doesn't do voltage scaling...

However, I can set scaling_governor to userspace and use powernowd, which according to /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq works. (changes from 1200000 to 1900000 sometimes, though I couldn't figure out when this is done... when running md5sum or compiling, it rests at 1200000 and when I'm doing nothing, it switches to 1900000. I guess I will have to play with powernowd's operation modes).

Does this mean that speedstep works for me (with voltage scaling?)?

$ dmesg | grep -i cpufreq
cpufreq: CPU0 - ACPI performance management activated.
cpufreq:  P0: 1900 MHz, 0 mW, 250 uS
cpufreq: *P1: 1200 MHz, 0 mW, 250 uS
$ lspci -v
0000:00:00.0 Host bridge: ALi Corporation M1671 Super P4 Northbridge 
[AGP4X,PCI and SDR/DDR] (rev 02)
        Flags: bus master, medium devsel, latency 0
        Memory at f0000000 (32-bit, prefetchable)
        Capabilities: <available only to root>

0000:00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (prog-if 00 [Normal decode])
Flags: bus master, slow devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: e1000000-e1ffffff
Prefetchable memory behind bridge: e8000000-efffffff

0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Wistron Corp.: Unknown device 2002
Flags: bus master, medium devsel, latency 64, IRQ 11 I/O ports at 1800
Memory at e0001000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <available only to root>

0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: Wistron Corp.: Unknown device 1061
Flags: bus master, medium devsel, latency 0
Capabilities: <available only to root>

0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller (prog-if 00 [Generic])
Subsystem: Wistron Corp.: Unknown device 1052
Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0002000 (32-bit, non-prefetchable)
I/O ports at 1c00 [size=256]
Capabilities: <available only to root>

0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Wistron Corp.: Unknown device 1053
Flags: bus master, medium devsel, latency 64, IRQ 10 I/O ports at 2000
Memory at e0003000 (32-bit, non-prefetchable) [size=256]
Capabilities: <available only to root>

0000:00:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46) (prog-if 10 [OHCI])
Subsystem: Wistron Corp.: Unknown device 1057
Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0003800 (32-bit, non-prefetchable)
I/O ports at 2400 [size=128]
Capabilities: <available only to root>

0000:00:0c.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
Subsystem: Intersil Corporation Prism 2.5 Wavelan chipset
Flags: medium devsel, IRQ 11
Memory at e0006000 (32-bit, prefetchable)
Capabilities: <available only to root>

0000:00:0d.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Wistron Corp.: Unknown device 1058
Flags: bus master, medium devsel, latency 64, IRQ 10 Memory at e0004000 (32-bit, non-prefetchable)
Capabilities: <available only to root>

0000:00:0d.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Wistron Corp.: Unknown device 1058
Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at e0005000 (32-bit, non-prefetchable)
Capabilities: <available only to root>

0000:00:0d.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: Wistron Corp.: Unknown device 1058
Flags: bus master, medium devsel, latency 132, IRQ 11 Memory at e0003400 (32-bit, non-prefetchable)
Capabilities: <available only to root>

0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if 8a [Master SecP PriP])
Subsystem: Wistron Corp.: Unknown device 1061
Flags: bus master, medium devsel, latency 32
I/O ports at 2480 [size=16]
Capabilities: <available only to root>

0000:00:11.0 Bridge: ALi Corporation M7101 PMU
Subsystem: Wistron Corp.: Unknown device 1061
Flags: medium devsel

0000:00:13.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller

        Subsystem: Wistron Corp.: Unknown device 3102
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 10
        Memory at 20000000 (32-bit, non-prefetchable)
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 20400000-207ff000 (prefetchable)
        Memory window 1: 20800000-20bff000
        I/O window 0: 00004000-000040ff
        I/O window 1: 00004400-000044ff
        16-bit legacy interface ports at 0001

0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 Go] (rev b2) (prog-if 00 [VGA])
Subsystem: Wistron Corp.: Unknown device 2052
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 10 Memory at e1000000 (32-bit, non-prefetchable)
Memory at e8000000 (32-bit, prefetchable) [size=128M]
Capabilities: <available only to root>

Kernel Config:

# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_PROC_INTF=m CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m
# CONFIG_CPU_FREQ_24_API is not set CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
CONFIG_X86_ACPI_CPUFREQ=m
# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
CONFIG_X86_SPEEDSTEP_ICH=m
CONFIG_X86_SPEEDSTEP_SMI=m
CONFIG_X86_P4_CLOCKMOD=m
CONFIG_X86_SPEEDSTEP_LIB=m
CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

Signature · 4 lines
| Clemens Orthacker
| XiCrypt Technologies
| e-mail: [email protected]
| phone: +43/650/6693393

_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq

#1 lore raw

Hi,

Quoted 6 lines · Clemens Orthacker

Does this mean that speedstep works for me (with voltage scaling?)?

$ dmesg | grep -i cpufreq
cpufreq: CPU0 - ACPI performance management activated.
cpufreq:  P0: 1900 MHz, 0 mW, 250 uS
cpufreq: *P1: 1200 MHz, 0 mW, 250 uS

This work via CONFIG_X86_ACPI_CPUFREQ.

Cheers,

Signature · 4 lines
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.