Skip to contentSkip to conversation

timer fix

GIT PULL Ingo Molnar 1 participant 1 message Jan 18, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest timers-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus

# HEAD: bc7c36eedb0c7004aa06c2afc3c5385adada8fa3 clocksource/exynos_mct: Clear interrupt when cpu is shut down

Fix a crash in the ARM-Exynos clocksource driver, triggered by CPU hotplug operations.

Thanks,

Ingo

------------------>
Joonyoung Shim (1):
clocksource/exynos_mct: Clear interrupt when cpu is shut down

 drivers/clocksource/exynos_mct.c | 1 +
 1 file changed, 1 insertion(+)
drivers/clocksource/exynos_mct.c +1 -0
index 4da1dc2278bd..670ff0f25b67 100644
@@ -495,6 +495,7 @@ static int exynos4_mct_dying_cpu(unsigned int cpu)
 	if (mct_int_type == MCT_INT_SPI) {
 		if (evt->irq != -1)
 			disable_irq_nosync(evt->irq);
+		exynos4_mct_write(0x1, mevt->base + MCT_L_INT_CSTAT_OFFSET);
 	} else {
 		disable_percpu_irq(mct_irqs[MCT_L0_IRQ]);
 	}