android_kernel_xiaomi_sm8350/drivers/scsi/ibmvscsi
Brian King f5832fa2f8 [SCSI] ibmvfc: Fix command completion handling
Commands which are completed by the VIOS are placed on a CRQ
in kernel memory for the ibmvfc driver to process. Each CRQ
entry is 16 bytes. The ibmvfc driver reads the first 8 bytes
to check if the entry is valid, then reads the next 8 bytes to get
the handle, which is a pointer the completed command. This fixes
an issue seen on Power 7 where the processor reordered the
loads from memory, resulting in processing command completion
with a stale handle. This could result in command timeouts,
and also early completion of commands.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-02 11:03:03 -04:00
..
ibmvfc.c [SCSI] ibmvfc: Fix command completion handling 2010-05-02 11:03:03 -04:00
ibmvfc.h [SCSI] ibmvfc: Driver version 1.0.7 2009-12-04 12:00:21 -06:00
ibmvscsi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ibmvscsi.h [SCSI] ibmvscsi: Add suspend/resume support 2010-03-03 18:32:41 +05:30
ibmvstgt.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
iseries_vscsi.c [SCSI] ibmvscsi: Add suspend/resume support 2010-03-03 18:32:41 +05:30
Makefile
rpa_vscsi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
viosrp.h [SCSI] ibmvscsi: Add support for capabilities MAD 2009-06-08 18:05:21 -05:00