summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorStephen M. Cameron2010-05-27 22:14:39 +0200
committerJames Bottomley2010-07-27 19:01:17 +0200
commitdef342bd745d88ed73541b9c07cefb13d8c576fd (patch)
tree2ed39e2ac30fc7af9529906a2450e96830282844 /MAINTAINERS
parent[SCSI] hpsa: expose controller firmware revision via /sys. (diff)
downloadkernel-qcow2-linux-def342bd745d88ed73541b9c07cefb13d8c576fd.tar.gz
kernel-qcow2-linux-def342bd745d88ed73541b9c07cefb13d8c576fd.tar.xz
kernel-qcow2-linux-def342bd745d88ed73541b9c07cefb13d8c576fd.zip
[SCSI] hpsa: fix block fetch table problem.
We have 32 (MAXSGENTRIES) scatter gather elements embedded in the command. With all these, the total command size is about 576 bytes. However, the last entry in the block fetch table is 35. (the block fetch table contains the number of 16-byte chunks the firmware needs to fetch for a given number of scatter gather elements.) 35 * 16 = 560 bytes, which isn't enough. It needs to be 36. (36 * 16 == 576) or, MAXSGENTRIES + 4. (plus 4 because there's a bunch of stuff at the front of the command before the first scatter gather element that takes up 4 * 16 bytes.) Without this fix, the controller may have to perform two DMA operations to fetch the command since the first one may not get the whole thing. Signed-off-by: Don Brace <brace@beardog.cce.hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions