mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
The prevention mechanism against timer interrupt starvation missed to reset
the next_event_forced flag in a couple of places:
- When the clock event state changes. That can cause the flag to be
stale over a shutdown/startup sequence
- When a non-forced event is armed, which then prevents rearming before
that event. If that event is far out in the future this will cause
missed timer interrupts.
- In the suspend wakeup handler.
That led to stalls which have been reported by several people.
Add the missing resets, which fixes the problems for the reporters.
Fixes: d6e152d905 ("clockevents: Prevent timer interrupt starvation")
Reported-by: Hanabishi <[email protected]>
Reported-by: Eric Naim <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Hanabishi <[email protected]>
Tested-by: Eric Naim <[email protected]>
Cc: [email protected]
Closes: https://lore.kernel.org/[email protected]
Link: https://patch.msgid.link/87340xfeje.ffs@tglx