clocksource/drivers/mips-gic-timer: Add fastpath for local timer updates
authorMatt Redfearn <matt.redfearn@mips.com>
Thu, 19 Oct 2017 11:55:35 +0000 (12:55 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 19 Oct 2017 21:51:31 +0000 (23:51 +0200)
commitf16ff2bdb135e2eb35488264006b575c476ea597
treea4962fe25de2b0c1c2a97a5355f4e64f8bbbab68
parent7957b07b559175500b2a03e8a39738c1b4a832fe
clocksource/drivers/mips-gic-timer: Add fastpath for local timer updates

Always accessing the compare register via the CM redirect region is
(relatively) slow. If the timer being updated is the current CPUs
then this can be shortcutted by writing to the CM VP local region.

Signed-off-by: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/mips-gic-timer.c