This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9ea38368ad3f66bb18315d72219a829edb82ad84 Author: buxiasen <buxia...@xiaomi.com> AuthorDate: Tue Aug 6 15:34:29 2024 +0800 goldfish_timer: fix interrupt not cleared will cause a loop interrupt handler, in some new version qemu Signed-off-by: buxiasen <buxia...@xiaomi.com> --- drivers/timers/goldfish_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/timers/goldfish_timer.c b/drivers/timers/goldfish_timer.c index 7645c9204e..843d6d6da0 100644 --- a/drivers/timers/goldfish_timer.c +++ b/drivers/timers/goldfish_timer.c @@ -203,6 +203,7 @@ static int goldfish_timer_interrupt(int irq, flags = spin_lock_irqsave(&lower->lock); putreg32(1, lower->base + GOLDFISH_TIMER_CLEAR_ALARM); + putreg32(1, lower->base + GOLDFISH_TIMER_CLEAR_INTERRUPT); if (lower->callback != NULL) {