]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] hpsa: do not read from controller unnecessarily in completion code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 1 May 2012 16:42:30 +0000 (11:42 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:11:43 +0000 (09:11 +0100)
commit0205272e6fa9e8dd6f9bde00b15e00034c32d853
treea305edafa6170096b2cffc1100a38fbb33d7a28c
parent8d4992a1ba5b9d4e0d8998facfb7823b2b372be8
[SCSI] hpsa: do not read from controller unnecessarily in completion code

MSI/MSI-X interrupts can't race the DMA completion they are communicating
so no need to read from controller to flush the DMA to the host if
MSI or MSI-X interrupts are being used.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.h