Files
linux/drivers
Tejun Heo 877f13134b libata-sff: fix HSM_ST_ERR handling in __ata_sff_port_intr()
commit 687a993339 upstream.

While separating out BMDMA irq handler from SFF, commit c3b28894
(libata-sff: separate out BMDMA irq handler) incorrectly made
__ata_sff_port_intr() consider an IRQ to be an idle one if the host
state was transitioned to HSM_ST_ERR by ata_bmdma_port_intr().

This makes BMDMA drivers ignore IRQs reporting host bus error which
leads to timeouts instead of triggering EH immediately.  Fix it by
making __ata_sff_port_intr() consider the IRQ to be an idle one iff
the state is HSM_ST_IDLE.  This is equivalent to adding HSM_ST_ERR to
the "break"ing case but less error-prone.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Antonio Toma <antonio.toma@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 13:58:48 -08:00
..
2010-09-28 23:30:38 -04:00
2011-01-07 13:58:48 -08:00
2011-01-07 13:58:17 -08:00
2010-08-24 15:28:28 +10:00
2010-12-09 13:33:33 -08:00
2010-12-09 13:33:13 -08:00
2010-06-16 18:08:32 +02:00
2011-01-07 13:58:42 -08:00
2010-06-01 12:04:35 -04:00
2010-06-16 18:05:05 +02:00
2010-09-22 16:21:33 +02:00
2010-07-26 08:05:31 -07:00