• Jason Wang's avatar
    drm/qxl: return IRQ_NONE if it was not our irq · fbb60fe3
    Jason Wang authored
    Return IRQ_NONE if it was not our irq. This is necessary for the case
    when qxl is sharing irq line with a device A in a crash kernel. If qxl
    is initialized before A and A's irq was raised during this gap,
    returning IRQ_HANDLED in this case will cause this irq to be raised
    again after EOI since kernel think it was handled but in fact it was
    not.
    
    Cc: Gerd Hoffmann <kraxel@redhat.com>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
    Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
    fbb60fe3
qxl_irq.c 3.34 KB