]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sata_mv: fix MSI irq race condition
authorMark Lord <liml@rtr.ca>
Tue, 10 Mar 2009 20:28:51 +0000 (16:28 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 13 Mar 2009 18:55:44 +0000 (14:55 -0400)
commit9d51af7bd2f1d730cb6eeeb9ff837e3441ad4e07
tree7651fdab75e8a6b7c2f2d17aadd6bc9e5a239393
parent041b62374c7fedc11a8a1eeda2868612d3d1436c
sata_mv: fix MSI irq race condition

Fix a (rare) race condition in mv_interrupt() when using MSI.

The value of hpriv->main_irq_mask_addr can change on on the fly,
and without this patch we could end up writing back a stale copy
to the hardware.

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