]> www.infradead.org Git - users/jedix/linux-maple.git/commit
megaraid: fix irq setup process regression
authorTomas Henzl <thenzl@redhat.com>
Tue, 2 Jun 2015 10:39:46 +0000 (16:09 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 16 Mar 2016 13:31:06 +0000 (06:31 -0700)
commit03c558c8bc8fa75a8b5516fa3939e1e8fc84a727
tree8a40b20f5569a417711e05d693d2dd4968159384
parent5e480aa5b635238165f88dbfc48cca7f4c19d396
megaraid: fix irq setup process regression

Orabug: 22620626

This fixes a regression caused by commit
d3557fc8be11d25f316884581f487684f8e7dad3 megaraid_sas : Add separate function
for setting up IRQs This makes boot end with 'root does not exist' message on
certain adapters.

The bug is that the driver does not setup ints for cards without msi-x
support.  This patch fixes it, in addition to that it moves tasklet
initialisation before enable_intr, otherwise a kernel panic may occur, when an
interrupt arrives before the tasklet is ready.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
(cherry picked from commit 258c3af2b9309412d82e74b2ea87e8c140fe2072)
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c