Re: Timer Interrupt

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

 



On Tue, 17 Jan 2006, Kevin D. Kissell wrote:

> > CPUs may have a variable CPU frequency which makes CPU counter not
> > usable as a timer source". Does it mean that, we can't do the CPU
> > Clock down in MIPS Processor??

> You were on the right track when you tried hacking mips_timer_ack(),
> but note that both cycles_per_jiffy and mips_hpt_frequency end up
> being used in Count-based time calculations.  If the board is
> rebooting when you tested your mod, it's probably because there's an
> error or a typo in your code.

Maybe. Started checking it by added few prink() to see the values of 
my_cycle_per_jiffy, cycles_per_jiffy and mips_hpt_frequency.

> Note that just changing the Count register increment will result in
> some small error each time the clock mode changes,

This is not an major probelm. But as you indicated, I will make some
modification in PMU driver to takecare the drift.

Thanks,
-- 
Bharathi S



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux