hpsa: turn off interrupts when kdump starts
authorTomas Henzl <thenzl@redhat.com>
Fri, 23 Jan 2015 22:41:20 +0000 (16:41 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 2 Feb 2015 17:57:35 +0000 (09:57 -0800)
commit3b747298786355c6934b0892fc9ae4ca44105192
tree41042f1c5b23114634364961d2f38aa7c53225d4
parent03741d956eaac31264952e0afa181b62713892a5
hpsa: turn off interrupts when kdump starts

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: Scott Teel <scott.teel@pmcs.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/hpsa.c