]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
sata_mv: fix irq mask races
authorMark Lord <liml@rtr.ca>
Mon, 6 Apr 2009 16:30:43 +0000 (12:30 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 7 Apr 2009 00:13:35 +0000 (20:13 -0400)
commit933cb8e5fcdebd4b666165e3f039f814d62b0e52
treeb9ebdf51d740e9844876a04bd742a8b33eab2a89
parent44c65d169c5d2e5c872581ebc65f12710d7c3b71
sata_mv: fix irq mask races

Prevent racing on the main interrupt mask during port_start and port_stop.
Otherwise, we end up with IRQs masked on inactive ports,
and hotplug insertions then get missed later on.

Found while debugging (out of tree) target mode operations,
but the bug is present and impacting mainline as well.

This patch should also be considered for -stable.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c