Skip to contentSkip to conversation

2.6.0-test1 - cpu_freg sysfs nodes?

DISCUSSION [email protected] 2 participants 2 messages Jul 15, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines
Quoted 8 lines · Mattia Dongili

find /sys -iname 'cpu*'

/sys/firmware/acpi/namespace/ACPI/CPU0 /sys/devices/system/cpu /sys/devices/system/cpu/cpu0 /sys/devices/system/cpu/cpu0/cpufreq /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq

Quoted 2 lines

If this is the right place to look, the Documentation/cpu-freq needs some updating.

Patch for this is already in davej's queue.

Quoted 7 lines

But this still isn't it...

# find /sys -iname 'cpu*'
/sys/devices/system/cpu
/sys/devices/system/cpu/cpu0
/sys/cdev/major/cpu!cpuid
/sys/cdev/major/cpu!msr

There is a problem with the proper detection of longrun CPUs, see this patch please [davej: can you appply this to your tree, too, please?]

http://marc.theaimsgroup.com/?l=linux-kernel&m=105797182628099&w=2

Dominik

#1 lore raw
Quoted 6 lines · [email protected] writes:

There is a problem with the proper detection of longrun CPUs, see this patch please [davej: can you appply this to your tree, too, please?]

http://marc.theaimsgroup.com/?l=linux-kernel&m=105797182628099&w=2

Dominik

This patch solves it for me. Now I have all the cpufreq nodes in sysfs, and the old /proc interface works as well (meaning I don't have to rewrite /etc/sysconfig/apm-scripts/apmcontinue ;-)

Thanks!
Ian