Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1596746
| From | Vlad Zakharov <Vladislav.Zakharov@synopsys.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | update timer frequencies |
| Date | 2017-03-10 10:20 +0100 |
| Message-ID | <tjoSn-1MV-59@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, I am trying to implement a cpufreq driver for ARC CPUs. The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). So if cpufreq driver changes CPU frequency timers frequency also updates. I added notification handler to ARC timer driver were I attempted to update clocksource frequency with "__clocksource_update_freq_hz()" but I found that actually the frequency didn't update. During my further investigation I mentioned that timekeeping framework doesn't allow frequency changes for more than 11%. This is quiet frustratingly: ARC cores supports such adjustments themselves but current framework API doesn't give us a chance to use this functionality and in fact it even forbids CPU frequency changes in runtime at all. Maybe I am mistaken and there is some way to get this going? Or maybe we can add some minor changes to timekeeping framework to resolve this issue (special flag that allows such changes or something like this?). Thanks. -- Best regards, Vlad Zakharov <vzakhar@synopsys.com>
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
update timer frequencies Vlad Zakharov <Vladislav.Zakharov@synopsys.com> - 2017-03-10 10:20 +0100 Re: update timer frequencies Thomas Gleixner <tglx@linutronix.de> - 2017-03-10 11:30 +0100
csiph-web