]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isci: fix interrupt disable
authorDan Williams <dan.j.williams@intel.com>
Fri, 2 Mar 2012 01:06:24 +0000 (17:06 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Apr 2012 07:13:15 +0000 (00:13 -0700)
commitca29fec7428d736386170a12879d824a14b56879
tree37d9bfb87088e803a0863f925cb8e93c99d0fef3
parentd62c11abd45bc3ccd042443a04c893e19f6f1911
isci: fix interrupt disable

There is a (dubious?) lost irq workaround in sci_controller_isr() that
effectively nullifies attempts to disable interrupts.  Until the
workaround can be re-evaluated add some infrastructure to prevent the
interrupt handler from inadvertantly re-enabling interrupts.

The failure mode was interrupts continuing to run after the driver had
been removed and its iomappings torn down.

Reported-by: Jacek Danecki <jacek.danecki@intel.com>
Tested-by: Jacek Danecki <jacek.danecki@intel.com>
[richard: clear remaining interrupts at the end of reset]
Acked-by: Richard Boyd <richard.g.boyd@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/host.h