• Tomas Henzl's avatar
    hpsa: turn off interrupts when kdump starts · 52f70606
    Tomas Henzl authored
    commit 3b747298 upstream.
    
    Sometimes when the card is restarted it may cause -
    "irq 16: nobody cared (try booting with the "irqpoll" option)"
    that is likely caused so, that the card, after the hard reset
    finishes, pulls on the irq. Disabling the ints before or after
    the hpsa_kdump_hard_reset_controller fixes it.
    
    At this point we can't know in which state the card is,
    so using SA5_INTR_OFF + SA5_REPLY_INTR_MASK_OFFSET defines directly,
    instead of the function the drivers provides, seems to be apropriate.
    Reviewed-by: default avatarScott Teel <scott.teel@pmcs.com>
    Signed-off-by: default avatarDon Brace <don.brace@pmcs.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Cc: Vinson Lee <vlee@twopensource.com>
    [lizf: Backported to 3.4: adjust context]
    Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
    52f70606
hpsa.c 133 KB