diff options
author | Marc Zyngier <maz@kernel.org> | 2021-10-17 13:42:19 +0100 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-10-17 21:47:44 +0200 |
commit | ec8f7f3342c88780d682cc2464daf0fe43259c4f (patch) | |
tree | 864a230409e65b903c5545d332b1c0b308124ae3 /drivers/clocksource | |
parent | 41f8d02a6a558f80775bf61fe6312a14eeabbca0 (diff) | |
download | lwn-ec8f7f3342c88780d682cc2464daf0fe43259c4f.tar.gz lwn-ec8f7f3342c88780d682cc2464daf0fe43259c4f.zip |
clocksource/drivers/arm_arch_timer: Drop unnecessary ISB on CVAL programming
Switching from TVAL to CVAL has a small drawback: we need an ISB
before reading the counter. We cannot get rid of it, but we can
instead remove the one that comes just after writing to CVAL.
This reduces the number of ISBs from 3 to 2 when programming
the timer.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211017124225.3018098-12-maz@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions