Re: cpufreq: allow user to specify voltage

Pavel Machek (pavel@suse.cz)
Tue, 25 Feb 2003 20:09:50 +0100


Hi!

> > But I agree that hacking proc_intf is not the right thing to do. I did
> > not see that sysfs access. Where is it?
>
> kernel/cpufreq.c

Okay, I see.

> > > - selecting the voltage manually is something which is only valid for some
> > > very few drivers - so let's only export one sysfs file[*] for these
> > > drivers.
> >
> > Very few drivers? It should be common for at least Intel and AMD, no?
> No. Intel doesn't let you select the exact voltage. IIRC, only vew
> VIA/Cyrix-longhaul-capable processors and, of course, powernow-k7 are vaild
> targets for such a patch.

So I guess adding /sys/bus/system/devices/cpu0/voltage? Should code to
do that be in kernel/cpufreq.c or is it possible to do sysfs from
powernow-k7 [it does not seem easy]?
Pavel

-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/