[PATCH] clocksource/drivers/timer-mediatek: Enable the GPT irq before registering
Ryan Brue
ryanbrue.dev at gmail.com
Tue Nov 10 18:41:30 PST 2026
On 11/3/26 5:17 PM, Ryan Brue wrote:
> [PATCH] clocksource/drivers/timer-mediatek: Enable the GPT irq before registering
> [...]
>
> /* Configure clock event */
> mtk_gpt_setup(&to, TIMER_CLK_EVT, GPT_CTRL_OP_REPEAT);
> + mtk_gpt_enable_irq(&to, TIMER_CLK_EVT);
> clockevents_config_and_register(&to.clkevt, timer_of_rate(&to),
> TIMER_SYNC_TICKS, 0xffffffff);
>
> - mtk_gpt_enable_irq(&to, TIMER_CLK_EVT);
> enable_irq(timer_of_irq(&to));
>
> return 0;
Hi Daniel and Thomas,
Could this go in through timers/urgent for a 7.4-rc? The regression come
in with 7.4-rc1 (7a097aba7255), and on MT8173 boards with PSCI CPU idle
it hangs about half of all boots: 20 of 40 here, and Chen-Yu sees it on
Hana as well. It now has Reviewed-by tags from Chen-Yu, Angelo, and
Luca, and Tested-by tags from Chen-Yu (MT8173) and Luca (MT8167).
More information about the linux-arm-kernel
mailing list