]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90f82db9162122617a75bd4b00106854e9534a9f
treea4962fe25de2b0c1c2a97a5355f4e64f8bbbab68
parentae3534162c2399274b9aaac5d0dee37d6b5da938
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