]> www.infradead.org Git - users/hch/xfs.git/commit
clocksource/drivers/mips-gic-timer: Refine rating computation
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Wed, 12 Jun 2024 08:54:33 +0000 (09:54 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 12 Jul 2024 14:07:05 +0000 (16:07 +0200)
commitcc9b2c590ebacf656bb2063c2f6cbfb7ad7081f3
tree5d94ff5cce909b047978bcd697949ef5cb2e79b5
parentdb19d3aa77612983a02bd223b3f273f896b243cf
clocksource/drivers/mips-gic-timer: Refine rating computation

It is a good clocksource which usually go as fast as CPU core
and have a low access latency, so raise the base of rating
from Good to desired when we know that it has a stable frequency.

Increase frequency addend dividend to 10000000 (10MHz) to
reasonably accommodate multi GHz level clock, also cap rating
within current level.

Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Link: https://lore.kernel.org/r/20240612-mips-clks-v2-6-a57e6f49f3db@flygoat.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/mips-gic-timer.c