summaryrefslogtreecommitdiffstats
path: root/arch/csky
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2021-10-17 14:42:14 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-10-17 21:47:15 +0200
commit72f47a3f0ea4cda4ca5d90c0d6043f697b9b0647 (patch)
treed70ace8e5fd8ad6a63e264ac10c552464ceb7f13 /arch/csky
parentclocksource/drivers/arm_arch_timer: Move drop _tval from erratum function names (diff)
downloadlinux-72f47a3f0ea4cda4ca5d90c0d6043f697b9b0647.tar.xz
linux-72f47a3f0ea4cda4ca5d90c0d6043f697b9b0647.zip
clocksource/drivers/arm_arch_timer: Fix MMIO base address vs callback ordering issue
The MMIO timer base address gets published after we have registered the callbacks and the interrupt handler, which is... a bit dangerous. Fix this by moving the base address publication to the point where we register the timer, and expose a pointer to the timer structure itself rather than a naked value. Reviewed-by: Oliver Upton <oupton@google.com> Reviewed-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20211017124225.3018098-7-maz@kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions