[SCSI] mpt2sas : the sanity check in base_interrupt needs to be on dword boundary
authorEric Moore <eric.moore@lsi.com>
Tue, 21 Apr 2009 21:37:57 +0000 (15:37 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:53:53 +0000 (10:53 -0500)
commit03ea1115506c53b46cec2177deb189d186bb80dd
tree69218847c35e9b54487a67fa9524d4d9e52f263c
parentfd01825c70006638dee16f48c810c20c54f6cd15
[SCSI] mpt2sas : the sanity check in base_interrupt needs to be on dword boundary

The poison sanity check on the reply_post_free register needs to be by 32bit,
not 64bit. The poison check is there because its possible that the driver read
the 1st 32bit before the 2nd 32bit has been written to by firmware.  In other
words, this handles race between driver reading the 64 bit register, and it
being dma'd across pci memory from controller firmware as two 32bit pci writes.

Signed-off-by: Eric Moore <eric.moore@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/mpt2sas/mpt2sas_base.c