Skip to content
Commit 507fa3a3 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86: hpet: Mark per cpu interrupts IRQF_TIMER to prevent resume failure



timer interrupts are excluded from being disabled during suspend. The
clock events code manages the disabling of clock events on its own
because the timer interrupt needs to be functional before the resume
code reenables the device interrupts.

The hpet per cpu timers request their interrupt without setting the
IRQF_TIMER flag so suspend_device_irqs() disables them as well which
results in a fatal resume failure on the boot CPU.

Adding IRQF_TIMER to the interupt flags when requesting the hpet per
cpu timer interrupts solves the problem.

Reported-by: default avatarBenjamin S. <sbenni@gmx.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarBenjamin S. <sbenni@gmx.de>
Cc: stable@kernel.org
parent 46e44328
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment