summaryrefslogtreecommitdiff
path: root/include/clocksource/arm_arch_timer.h
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-10-17 15:42:17 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-10-17 22:47:31 +0300
commit012f188504528b8cb32f441ac3bd9ea2eba39c9e (patch)
tree9e0ae47a3a10cc2af6f5c666965d8f4019565ebb /include/clocksource/arm_arch_timer.h
parent30aa08da35e07a51a81d489517a3f6fb5164b09c (diff)
downloadlinux-012f188504528b8cb32f441ac3bd9ea2eba39c9e.tar.xz
clocksource/drivers/arm_arch_timer: Work around broken CVAL implementations
The Applied Micro XGene-1 SoC has a busted implementation of the CVAL register: it looks like it is based on TVAL instead of the other way around. The net effect of this implementation blunder is that the maximum deadline you can program in the timer is 32bit wide. Use a MIDR check to notice the broken CPU, and reduce the width of the timer to 32bit. Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211017124225.3018098-10-maz@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/clocksource/arm_arch_timer.h')
0 files changed, 0 insertions, 0 deletions