Re: UltraSPARC III/IIe cpufreq drivers, please test

BERTRAND Joël <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
Martin Husemann a écrit :
> Ugh, the cpufreq(9) interface is very ugly.
>
> Stupid question: instead of adding a psycho (or shizo) softc to cpuinfo_t,
> why don't you just use the proper softc as cf_cookie in struct cpufreq?

	I think it could work for UltraSPARC-IIe, but not for UltraSPARC-III as 
frequency has to be independently set for each couple schizo/cpu. To 
modify energy_star register (in schizo), I have to access to energy_star 
register associated to the corresponding CPU.

	In another hand, I don't understand why cpufreq interface is registered 
once for the system and not by CPU. If it was registered by cpu, it will 
be easier to use cf_cookie.

	Regards,

	JKB
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.