Re: cpufreq longhaul locks up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May 5 2007 21:58, Rafał Bilski wrote:
>
>>> I found one line which wasn't were it should be. Probably this will not 
>>> fix Your problem with powersave governor, but it is a bit related. 
>>> Looks like Longhaul isn't skipping frequency transtition when it is asked 
>>> to set f which is already set. Now after first transition it will not 
>>> try to set same frequency again. Second part contains some magic 
>>> because I don't have CN400 datasheet. It is NDA protected :-( Should 
>>> print You one byte in hex and will try to set one register. I don't 
>>> know if anything will change but it is worth testing.
>> 
>> Did not help unfortunately. The output the printk line generated was
>>   longhaul: 0x0
>> 
>> (Strangely enough, %#02x with glibc outputs "00", not "0x0".
>> And I would have expected "0x00". Subtleties of the kernel 
>> printk/glibc?)
>
>:-/ Weird. Nothing new in datasheet. Longhaul MSR seems to be OK too. 
>Would be good to check if PLL really can go downto x4,0. Can You 
>limit minimal CPU multiplier to 5,0 and check if is stable? If it 
>is check 4,5.

How do I do that? I tried `cpufreq-set -d 665 -u 665` (x5.0), but that
changed the frequency to 532 (x4.0).

I can set the CPU frequency in the BIOS, from x3.0 to x16.0, in x0.5
steps (base frequency is 133, DIMM freq is 266).

[ Actually, the values are a bit off,

cn:~ # cpufreq-info 
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to http://bugs.opensuse.org, please.
analyzing CPU 0:
  driver: longhaul
  CPUs which need to switch frequency at the same time: 0
  hardware limits: 532 MHz - 731 MHz
  available frequency steps: 532 MHz, 598 MHz, 731 MHz, 665 MHz
  available cpufreq governors: performance
  current policy: frequency should be within 532 MHz and 731 MHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency is 731 MHz (asserted by call to hardware).

]

The BIOS default is x5.5, producing 733 MHz. With longhaul/cpufreq,
I can then choose from between 533 MHz (x4.0) and the value that was
set in the BIOS.



>Please send me below part of Your dmesg too:
>CPU: After generic identify, caps: 0381b83f 00000000 00000000 00000000 00000000 00000000 00000000
>CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
>CPU: L2 Cache: 64K (32 bytes/line)
>CPU: After all inits, caps: 0381b93f 00000000 00000000 00000000 00000000 000000dd 00000000

CPU: After generic identify, caps:
0381b03f 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: After all inits, caps: 0381b13f 00000000 00000000 00000000 00000000
000000dd 00000000



Jan
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux