• Thomas Gleixner's avatar
    x86: geode: Mark mfgpt irq IRQF_TIMER to prevent resume failure · d6c585a4
    Thomas Gleixner authored
    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 mfgpt timer request its interrupt without setting the IRQF_TIMER
    flag so suspend_device_irqs() disables it as well which results in a
    fatal resume failure.
    
    Adding IRQF_TIMER to the interupt flags when requesting the mrgpt
    timer interrupt solves the problem.
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    LKML-Reference: <new-submission>
    Cc: Andres Salomon <dilinger@debian.org>
    Cc: stable@kernel.org
    d6c585a4
mfgpt_32.c 10.4 KB